set_mcp_debug
Enable or disable token debug estimation on MCP responses to see token usage for each command.
Instructions
Enable or disable token debug estimation on MCP responses.
When enabled, every command response shows a token debug header: [TOKEN DEBUG] command_name — ~1,289 tokens (5,156 chars)
This appears at the top of every response so you can immediately see which commands consume the most tokens.
Disabling clears accumulated stats.
Args: enabled: True to enable, False to disable and clear stats.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_mcp_debug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |