←back to thread

20 points marclave | 1 comments | | HN request time: 0.199s | source
1. disintegrator ◴[] No.45183791[source]
One of the team members working on Gram here.

I initially worked on a code generator for OpenAPI -> MCP in January but very quickly we found issues relating to poor quality operation (tool) names and descriptions. Not to mention that each API endpoint does not cleanly map to an MCP tool and yet it all gets dumped into the context window - sometimes exhausting it if you have hundreds of schemas and endpoints.

Gram is our attempt to make better use of API by adding a curation layer:

- You upload your OpenAPI document, or any number of other OpenAPI documents. - You then subset them into "toolsets" by selecting only the ones relevant to a domain (e.g. reading stripe charges) or business process (e.g. understanding customer health by reading info from your CRM, data warehouse and so on). - Optionally, you create custom tools (these are prompt templates under the hood) that describe how to make a series of tool calls to solve a problem. - Finally, every toolset is automatically exposed as a hosted/managed MCP server. No waiting for build or deploy steps. - You can edit the names and descriptions of all imported tools and they are instantly reflected in the MCP server.

The net result is you have a rapid iteration loop to create effective tools from your API.

I hope you have a chance to try it out. Will be around to answer any questions in the mean time :)