distill_schema
Reduce token overhead of MCP tool schemas or JSON Schemas by stripping descriptions and examples in compact mode, or collapsing to parameter names and types in minimal mode.
Instructions
Reduce token overhead of MCP tool schemas or JSON Schemas. Strips descriptions/examples (compact mode) or collapses to parameter names/types (minimal mode).
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": {
"schema": "<schema>"
},
"name": "distill_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | ||
| mode | No | compact | |
| keep_required | No |