Skip to main content
Glama

Compare models

compare

Retrieve side-by-side input and output prices for multiple AI model IDs on a chosen date, reporting unknown IDs per row.

Instructions

Side-by-side input/output prices for several model ids on one date (today by default, or pass date as YYYY-MM-DD). Each row resolves independently; unknown ids are reported per row.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelsYesModel ids or aliases to compare, e.g. ["claude-opus-4-8", "gpt-4o", "gemini-2.5-pro"].
dateNoOptional date (YYYY-MM-DD). Omit for today.
Behavior4/5

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

With no annotations, the description adds key behavioral info: each row resolves independently and unknown IDs are reported per row. It does not explicitly state read-only nature, but it's implied and sufficient.

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 sentences, front-loaded with purpose, no wasted words. Every sentence adds value.

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?

Given no output schema, the description lacks detail about the return format (e.g., table structure). It covers behavior but not output shape, leaving some incompleteness.

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

Parameters4/5

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

Schema coverage is 100%, so baseline 3. The description adds meaning beyond schema by explaining independent resolution and unknown ID handling for 'models', and 'omit for today' for 'date'.

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?

The description clearly states the tool provides side-by-side input/output prices for multiple model IDs on a date, distinguishing it from siblings like 'current_price' (single model) and 'list_models' (listing only).

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

Usage Guidelines4/5

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

The description explicitly says it's for comparing several models, implying use when a comparison is needed. It does not explicitly mention alternatives or when not to use, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoninForge/ai-price-index-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server