mcp_diet_analyze_tools
Analyze MCP tool definitions to estimate byte and token savings from tree-shaking policies before applying filters, helping you decide which tools to keep.
Instructions
Analyze an array of MCP tool definitions and compute deterministic tree-shaking byte and token savings under mcp-diet policies.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tools": "<tools>"
},
"name": "mcp_diet_analyze_tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tools | Yes | Array of MCP tool definition objects to analyze. | |
| readOnly | No | Keep only read-only tools. | |
| maxDescChars | No | Maximum description length in characters. |