HOMEDEVELOPER TOOLSSCHEMA TOKEN DIET
1-Click Context Window Optimizer

"Schema Token Diet" Calculator & Optimizer

Every tool schema in your MCP server consumes tokens on every single LLM turn. Calculate the exact context burden and compress fluff while preserving 100% agent adherence.

Raw Input Tokens
489
per tool call turn
Optimized Tokens
258
-47% REDUCTION
Tokens Saved Per Call
-231
Zero semantic loss
Monthly Cost Saved (100k turns)
$69.30
Claude 3.5 Sonnet Tier
Raw JSON Schema Input
Presets:
1855 characters
Optimized Token-Diet Schema47% Smaller
{
  "description": "This tool allows the agent to create a brand new GitHub issue within...",
  "type": "object",
  "properties": {
    "owner": {
      "type": "string",
      "description": "The GitHub account owner of the repository (for example, the organiz..."
    },
    "repo": {
      "type": "string",
      "description": "The name of the repository without the .git extension"
    },
    "body": {
      "type": "string",
      "description": "The full markdown content of the issue body"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An optional array of label names to associate with this issue"
    },
    "assignees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An optional array of GitHub usernames to assign to this newly create..."
    }
  },
  "required": [
    "owner",
    "repo",
    "title"
  ],
  "additionalProperties": false
}
Multi-Model Token Cost Comparison (Per 1k Turns)
Claude 3.5 Sonnet$0.774Saved $0.693
GPT-4o$0.645Saved $0.578
Gemini 1.5 Pro$0.323Saved $0.289