Skip to main content
Glama
edgedata-apis-mcp
by TnTIndie

llm_pricing_compare

Compare live LLM token pricing, context windows, and capabilities across 300+ models from OpenAI, Anthropic, Google, Meta, DeepSeek, and xAI to pick the right model.

Instructions

Compare live LLM token pricing, context windows, and capabilities across 300+ models from OpenAI, Anthropic, Google, Meta, DeepSeek, and xAI.

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

Input Schema

NameRequiredDescriptionDefault
qNoSearch keyword (e.g. claude, gpt-4o, gemini, deepseek)
limitNo
providerNoFilter by provider slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls short: 'live' hints at fresh data, but there is no disclosure of rate limits, data freshness/latency, whether results are ranked or paginated, or what a comparison result actually contains. It implies a safe read query but never confirms the safety profile.

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?

A single front-loaded sentence with no filler; scope and breadth come first. The vendor list earns its place by hinting at provider-filter values, though the '300+' count is closer to marketing than operational detail.

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?

With no output schema and no annotations, the description should describe the shape of the comparison result (e.g. per-model price fields, ranking) and what happens when no query is passed. It adequately conveys the domain and scope but leaves result structure and default behavior unspecified.

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 67%, with 'q' and 'provider' documented in-schema while 'limit' has only min/max bounds. The description adds some value by naming the vendor set (OpenAI, Anthropic, Google, Meta, DeepSeek, xAI), which implicitly supplies valid provider slugs, but it says nothing about keyword matching behavior or how the 300+ model corpus is narrowed down.

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 uses a specific verb ('Compare') with named resources (token pricing, context windows, capabilities) and a concrete scope of 300+ models with named vendors. An agent can tell this is a read-only pricing/model lookup rather than a cost calculator like ai_cost_estimate, though it never states that distinction explicitly.

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?

There is no explicit when-to-use or when-not-to-use guidance, and the closest sibling (ai_cost_estimate) is never referenced. The agent must infer from the word 'Compare' that this is for cross-model price/feature lookup rather than estimating the cost of a specific workload.

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