Skip to main content
Glama

TokenZero

calculate_model_arbitrage

Price a workload at list prices across models: cost per request and per month for the requested model, its cheaper sibling, and the effect of prompt caching. Pricing table version 2026-10-26.

Input Schema

NameRequiredDescriptionDefault
modelYes
compare_toNo
input_tokensYes
output_tokensYes
static_tokensNoportion of input_tokens that is a fixed prefix (system + tools)
requests_per_monthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It helpfully discloses that prices are list prices and pins the pricing table version (2026-10-26), which signals staleness assumptions. However it does not state that results are estimates, whether unsupported models error out, or what currency/units apply.

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

Conciseness5/5

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

Two dense sentences with the primary action and scope front-loaded, followed by the version stamp. No filler.

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

Completeness3/5

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

For a 6-parameter calculation tool with no output schema and thin schema descriptions, the description covers the conceptual outputs well but leaves the return shape, currency, and failure behavior unspecified. Adequate but with clear gaps.

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 coverage is only 17% (just static_tokens), so the description must compensate. It does partially: 'per month' implies requests_per_month, 'prompt caching' maps to static_tokens, and 'across models / cheaper sibling' hints at compare_to. But model string format, token units, and compare_to semantics remain undocumented.

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?

Uses a specific verb ('Price a workload at list prices across models') and enumerates the three outputs: per-request cost, per-month cost, and prompt-caching effect. It does not name any sibling tool, so differentiation from optimize_prompt_payload or audit_repo_token_waste is left to inference.

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

Usage Guidelines2/5

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

The description implies a cost-estimation scenario but never states when to use this versus the sibling tooling (e.g. optimize_prompt_payload or audit_repo_token_waste). No prerequisites, exclusions, or alternative routing are given.

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.