Skip to main content
Glama

getAiModelPricing

Real-time token pricing, context limits, latency (TTFT), and benchmark scores for OpenAI, Anthropic, Gemini, and open-weights LLMs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_categoryNoFilter models by primary use case

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?

With no annotations, the description carries the full burden. It usefully discloses the returned data categories and that pricing is real-time, implying a read-only lookup, but it omits whether results cover all models or one, whether an API key is required, and any rate-limit or pagination behavior.

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?

One dense sentence, front-loaded with the resource and the return payload, with zero filler. Every clause earns its place.

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?

For a zero-required-param read tool with no output schema, enumerating the returned fields (pricing, context limits, TTFT, benchmarks) gives the agent enough to call it correctly. Only the task_category value space and result-shape remain 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%, so the single task_category parameter is already documented by the schema. The description adds no meaning about accepted values or how the filter behaves, which is the expected baseline when the schema does the heavy lifting.

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

Purpose5/5

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

States a specific verb+resource (AI model pricing) and enumerates exactly what is returned: token pricing, context limits, latency (TTFT), and benchmark scores. It also names the covered vendors (OpenAI, Anthropic, Gemini, open-weights), which no sibling tool touches, so an agent can route to it unambiguously.

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 says what the tool returns but never when to use it versus alternatives such as getCloudServerPricing, nor does it state exclusions or prerequisites. 'Real-time' implies fresh data but no usage context is 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.

Resources