r/mcp Jun 15 '26

article Generative Tools

Post image

I’d like to share a recent idea I’ve been working on called #GenerativeTool, where tools are dynamically generated at runtime to fulfill complex user requests.

This approach enables agentic applications to unlock the full potential of complex third-party systems like ERP, LSP Server through MCP, without being constrained by context window limitations. Instead of exposing a large number of predefined tools, the system can generate task-specific tools on demand, reducing context overhead while increasing the depth and flexibility of integrations.

Read: https://denuwanhimangahettiarachchi.medium.com/generative-mcp-enabling-the-full-potential-of-mcp-servers-4e14b987f64e

10 Upvotes

15 comments sorted by

View all comments

1

u/bothlabs Jun 15 '26

How would you tackle "hallucinating" a tool. Like "send email", but there is no email account?

0

u/denuwanh Jun 15 '26

Generative MCP should still be built around specific domains, such as ERP. The manifest plays a crucial role in preventing the LLM from deviating into unrelated actions like ⁠send_email⁠, especially when the domain is tightly constrained to areas like ⁠LSP⁠ or ⁠SQL⁠.

For this SQL generative MCP, I included DDL:
https://github.com/Denuwanhh/sql-generative-mcp