Skip to main content
Glama

Fmind Freelance AI Architect Website

Compare MCP context costs

compare_mcp_context_cost
Read-only

Count the tool-definition tokens that measured MCP servers (GitHub default toolset, Filesystem, Memory, Playwright) add to every model request, then price them as standard input for the managed APIs in the hosting snapshot. Omit servers for all four. Returns tokens per request and month, context share and USD per 1,000 requests and per 30-day month for each model, dated sources, limitations and a shareable page URL. Reference tokens, not provider billing. See /agents#mcp-context.

Input Schema

NameRequiredDescriptionDefault
serversNoDistinct server ids; omit for all.
requests_per_dayNoModel requests per day; count every call in agent loops.

Output Schema

NameRequiredDescriptionDefault
toolsYes
modelsYes
serversYes
limitationsYes
scenario_urlYes
days_per_monthYes
requests_per_dayYes
tokens_per_monthYes
prices_checked_onYes
tokens_per_requestYes
snapshot_verified_onYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • removedInput schema / properties / parameters
      Removed value: -{
      -  "additionalProperties": {
      -    "maxLength": 128,
      -    "type": "string"
      -  },
      -  "description": "Calculator URL parameters as strings; empty object returns defaults and bounds.",
      -  "maxProperties": 32,
      -  "propertyNames": {
      -    "maxLength": 64
      -  },
      -  "title": "Parameters",
      -  "type": "object"
      -}
    • addedInput schema / properties / requests_per_day
      Added value: +{
      +  "default": 1000,
      +  "description": "Model requests per day; count every call in agent loops.",
      +  "maximum": 10000000,
      +  "minimum": 1,
      +  "title": "Requests Per Day",
      +  "type": "integer"
      +}
    • addedInput schema / properties / servers
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "github",
      +          "filesystem",
      +          "memory",
      +          "playwright"
      +        ],
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Distinct server ids; omit for all.",
      +  "title": "Servers"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "parameters"
      -]
    • addedOutput schema / $defs / ModelCost
      Added value: +{
      +  "properties": {
      +    "context_percent": {
      +      "title": "Context Percent",
      +      "type": "number"
      +    },
      +    "input_per_million": {
      +      "title": "Input Per Million",
      +      "type": "number"
      +    },
      +    "input_token_limit": {
      +      "title": "Input Token Limit",
      +      "type": "integer"
      +    },
      +    "month_usd": {
      +      "title": "Month Usd",
      +      "type": "number"
      +    },
      +    "name": {
      +      "title": "Name",
      +      "type": "string"
      +    },
      +    "needs_review": {
      +      "title": "Needs Review",
      +      "type": "boolean"
      +    },
      +    "per_thousand_requests_usd": {
      +      "title": "Per Thousand Requests Usd",
      +      "type": "number"
      +    },
      +    "source_url": {
      +      "title": "Source Url",
      +      "type": "string"
      +    },
      +    "verified_on": {
      +      "title": "Verified On",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "input_per_million",
      +    "input_token_limit",
      +    "context_percent",
      +    "per_thousand_requests_usd",
      +    "month_usd",
      +    "source_url",
      +    "verified_on",
      +    "needs_review"
      +  ],
      +  "title": "ModelCost",
      +  "type": "object"
      +}
    • removedOutput schema / $defs / ModelSnapshot
      Removed value: -{
      -  "properties": {
      -    "cache_minimum": {
      -      "title": "Cache Minimum",
      -      "type": "integer"
      -    },
      -    "cache_price": {
      -      "title": "Cache Price",
      -      "type": "number"
      -    },
      -    "cache_url": {
      -      "title": "Cache Url",
      -      "type": "string"
      -    },
      -    "context_tokens": {
      -      "title": "Context Tokens",
      -      "type": "integer"
      -    },
      -    "id": {
      -      "title": "Id",
      -      "type": "string"
      -    },
      -    "input_price": {
      -      "title": "Input Price",
      -      "type": "number"
      -    },
      -    "model_url": {
      -      "title": "Model Url",
      -      "type": "string"
      -    },
      -    "name": {
      -      "title": "Name",
      -      "type": "string"
      -    },
      -    "note": {
      -      "title": "Note",
      -      "type": "string"
      -    },
      -    "price_url": {
      -      "title": "Price Url",
      -      "type": "string"
      -    },
      -    "verified_on": {
      -      "title": "Verified On",
      -      "type": "string"
      -    },
      -    "write_multiplier": {
      -      "title": "Write Multiplier",
      -      "type": "number"
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "name",
      -    "context_tokens",
      -    "input_price",
      -    "cache_price",
      -    "write_multiplier",
      -    "cache_minimum",
      -    "verified_on",
      -    "price_url",
      -    "model_url",
      -    "cache_url",
      -    "note"
      -  ],
      -  "title": "ModelSnapshot",
      -  "type": "object"
      -}
    • removedOutput schema / $defs / NumberField
      Removed value: -{
      -  "properties": {
      -    "default": {
      -      "title": "Default",
      -      "type": "number"
      -    },
      -    "help": {
      -      "title": "Help",
      -      "type": "string"
      -    },
      -    "key": {
      -      "title": "Key",
      -      "type": "string"
      -    },
      -    "label": {
      -      "title": "Label",
      -      "type": "string"
      -    },
      -    "maximum": {
      -      "title": "Maximum",
      -      "type": "number"
      -    },
      -    "minimum": {
      -      "title": "Minimum",
      -      "type": "number"
      -    },
      -    "whole": {
      -      "default": false,
      -      "title": "Whole",
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "key",
      -    "label",
      -    "default",
      -    "minimum",
      -    "maximum",
      -    "help"
      -  ],
      -  "title": "NumberField",
      -  "type": "object"
      -}
    • removedOutput schema / $defs / Strategy
      Removed value: -{
      -  "properties": {
      -    "cache_eligible": {
      -      "title": "Cache Eligible",
      -      "type": "boolean"
      -    },
      -    "cached_average_request_usd": {
      -      "title": "Cached Average Request Usd",
      -      "type": "number"
      -    },
      -    "cached_day_usd": {
      -      "title": "Cached Day Usd",
      -      "type": "number"
      -    },
      -    "cached_month_usd": {
      -      "title": "Cached Month Usd",
      -      "type": "number"
      -    },
      -    "cached_saved_month_usd": {
      -      "title": "Cached Saved Month Usd",
      -      "type": "number"
      -    },
      -    "cached_session_usd": {
      -      "title": "Cached Session Usd",
      -      "type": "number"
      -    },
      -    "context_percent": {
      -      "title": "Context Percent",
      -      "type": "number"
      -    },
      -    "day_usd": {
      -      "title": "Day Usd",
      -      "type": "number"
      -    },
      -    "fits": {
      -      "title": "Fits",
      -      "type": "boolean"
      -    },
      -    "id": {
      -      "title": "Id",
      -      "type": "string"
      -    },
      -    "label": {
      -      "title": "Label",
      -      "type": "string"
      -    },
      -    "month_usd": {
      -      "title": "Month Usd",
      -      "type": "number"
      -    },
      -    "request_usd": {
      -      "title": "Request Usd",
      -      "type": "number"
      -    },
      -    "saved_month_usd": {
      -      "title": "Saved Month Usd",
      -      "type": "number"
      -    },
      -    "session_usd": {
      -      "title": "Session Usd",
      -      "type": "number"
      -    },
      -    "tokens_request": {
      -      "title": "Tokens Request",
      -      "type": "integer"
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "label",
      -    "tokens_request",
      -    "context_percent",
      -    "fits",
      -    "cache_eligible",
      -    "request_usd",
      -    "cached_average_request_usd",
      -    "session_usd",
      -    "day_usd",
      -    "month_usd",
      -    "cached_session_usd",
      -    "cached_day_usd",
      -    "cached_month_usd",
      -    "saved_month_usd",
      -    "cached_saved_month_usd"
      -  ],
      -  "title": "Strategy",
      -  "type": "object"
      -}
    • addedOutput schema / properties / days_per_month
      Added value: +{
      +  "title": "Days Per Month",
      +  "type": "integer"
      +}
    • removedOutput schema / properties / fields
      Removed value: -{
      -  "items": {
      -    "$ref": "#/$defs/NumberField"
      -  },
      -  "title": "Fields",
      -  "type": "array"
      -}
    • changedOutput schema / properties / models / items / $ref
      Previous value: -"#/$defs/ModelSnapshot"New value: +"#/$defs/ModelCost"
    • removedOutput schema / properties / parameters
      Removed value: -{
      -  "additionalProperties": {
      -    "type": "string"
      -  },
      -  "title": "Parameters",
      -  "type": "object"
      -}
    • addedOutput schema / properties / prices_checked_on
      Added value: +{
      +  "title": "Prices Checked On",
      +  "type": "string"
      +}
    • addedOutput schema / properties / requests_per_day
      Added value: +{
      +  "title": "Requests Per Day",
      +  "type": "integer"
      +}
    • removedOutput schema / properties / snapshot_date
      Removed value: -{
      -  "title": "Snapshot Date",
      -  "type": "string"
      -}
    • addedOutput schema / properties / snapshot_verified_on
      Added value: +{
      +  "title": "Snapshot Verified On",
      +  "type": "string"
      +}
    • removedOutput schema / properties / strategies
      Removed value: -{
      -  "items": {
      -    "$ref": "#/$defs/Strategy"
      -  },
      -  "title": "Strategies",
      -  "type": "array"
      -}
    • addedOutput schema / properties / tokens_per_month
      Added value: +{
      +  "title": "Tokens Per Month",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / tokens_per_request
      Added value: +{
      +  "title": "Tokens Per Request",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / tools
      Added value: +{
      +  "title": "Tools",
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "scenario_url",
      -  "parameters",
      -  "strategies",
      -  "servers",
      -  "models",
      -  "fields",
      -  "snapshot_date",
      -  "limitations"
      -]New value: +[
      +  "servers",
      +  "requests_per_day",
      +  "days_per_month",
      +  "tools",
      +  "tokens_per_request",
      +  "tokens_per_month",
      +  "models",
      +  "scenario_url",
      +  "snapshot_verified_on",
      +  "prices_checked_on",
      +  "limitations"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: the pricing is tied to a dated 'hosting snapshot', results include dated sources and limitations, and the final caveat 'Reference tokens, not provider billing' prevents the agent from misinterpreting the USD figures as actual spend.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and structured as a single tight paragraph, with the caveat and reference link placed at the end where they belong. It is slightly over-full in enumerating every returned field (context share, USD per 1,000 requests, per 30-day month, page URL) when an output schema already exists, which costs it a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain return values, yet it still enumerates them. For a two-parameter, zero-required, read-only tool with full schema coverage, everything an agent needs to call it correctly is present, though the redundant output enumeration and the missing explicit routing to compare_llm_hosting are the only remaining soft spots.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented in structured form. The description restates the enum-free servers default ('omit for all four'), which is already the documented default, and adds nothing about requests_per_day semantics. This is the baseline case where the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (count and price) applied to a precise resource: the tool-definition tokens that four named MCP servers add to each model request. It implicitly separates itself from the billing-oriented sibling (compare_llm_hosting) with 'Reference tokens, not provider billing', but never names the alternative outright, so the differentiation is inferential rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description tells the agent how to parameterize the call ('Omit servers for all four') and warns that results are reference tokens rather than provider billing, which is useful context. However, it never says when to reach for this tool versus compare_llm_hosting, and no prerequisites or exclusions are given. Usage is implied by the subject matter only.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.