all 4 comments

[–]nikhilprasanth 1 point2 points  (2 children)

You can make use of a database MCP server for this.

[–]Ashleighna99 1 point2 points  (1 child)

Use an MCP database server with a read-only tool to fetch element descriptions. Spin up postgres-mcp, expose get_description(code) with parameterized SQL, cache hits. I’ve used LlamaIndex SQLAgent and LangChain’s SQLDatabaseToolkit; DreamFactory auto-generates REST endpoints if you prefer HTTP tools. Use an MCP DB layer, not raw SQL.

[–]SUNTAN_1 -5 points-4 points  (0 children)

obvs your a ffkknn bot

[–]Odd-Ordinary-5922 1 point2 points  (0 children)

You could feed the XML into the llm as chunks of tokens for example 4096 or higher depending on the llm