Skip to main content
Glama

Spendplane — AI Privacy, Redaction & Cost Routing

Compare Live LLM Model Pricing

compare_llm_pricing
Read-onlyIdempotent

List current model input/output pricing per 1M tokens and context windows from Spendplane's routing catalog, with optional substring filter.

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": "compare_llm_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum models to return (default: 10).
model_filterNoOptional case-insensitive filter (e.g. 'claude', 'gpt', 'llama', 'gemini').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the units (per 1M tokens), the returned fields (input/output pricing and context windows), and the source catalog. It omits ordering of results, pricing currency or freshness, and whether the default limit of 10 truncates the catalog silently, which are the remaining behavioral unknowns.

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?

A single front-loaded sentence that packs the verb, the returned data, the units, the source, and the filter into one clause with no filler. Nothing in it is redundant with the name or title.

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 two optional parameters, full schema coverage, and rich annotations, the tool is simple and the description is nearly sufficient. Because there is no output schema, its mention of input/output pricing and context windows usefully compensates; only result ordering and pricing freshness/currency are left unstated.

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%, with both limit and model_filter fully documented including the default and examples, so the baseline of 3 applies. The description's phrase 'optional substring filter' is consistent with the schema but adds no syntax or matching detail (e.g., whether it matches model ID, provider, or both) beyond what is already there.

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?

The description gives a specific verb ('List') and resource ('current model input/output pricing per 1M tokens and context windows'), plus the data source ('Spendplane's routing catalog'). It is unambiguous on its own, but it never differentiates itself from the nearest sibling, estimate_ai_workload_cost, which an agent could plausibly confuse with a pricing tool.

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?

Usage is only implied: an agent can infer this is the lookup tool for raw per-model rates, while estimate_ai_workload_cost presumably projects costs for a workload. No explicit when-to-use, when-not-to-use, or named alternative is stated, so routing between the two sibling tools is left to inference.

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.

Resources