Index a tool set by name only
demo_build_tool_manifestBuilds a names-only index of MCP tool definitions, one line per server, and reports the estimated token drop versus the supplied text.
Instructions
Reduces a set of MCP tool definitions, grouped by server or flat, to the names-only index mcptoon puts in front of an agent — one line per server listing its tool names, no schemas — with the estimated token drop against the text you supplied. ...
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | Yes | Either {server_name: [tool_definition, ...]} or a flat [tool_definition, ...] array, as JSON text; string entries are accepted as bare tool names and put under their group's name. | |
| include_slim | No | When true, also returns each tool's slim definition under 'slim_tools'; omitted or false returns the name index only. Has no effect on the reported token drop, which always measures the name index. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_index | Yes | The compact index: server, then its tool names. | |
| slim_tools | No | Compacted definitions; present only when asked for. | |
| tool_count | Yes | Names indexed across every server. | |
| full_tokens | Yes | Tokens the submitted manifest would have cost. | |
| empty_servers | Yes | Servers that contributed no names at all. | |
| reduction_pct | Yes | Percentage saved, zero when nothing was indexed. | |
| skipped_entries | Yes | Positions of entries carrying no usable name. | |
| simplified_tokens | Yes | Tokens the name index costs instead. |