Skip to main content
Glama

compare_models

Read-only

2 to 5 models side by side: the best current offer of each and, for up to 4, every field compared (lowest and median input/output price, context, max output, providers, regions, a 1M-in/200k-out workload cost), who wins by how many percent, providers selling all, and summary sentences.

Input Schema

NameRequiredDescriptionDefault
modelsYesmodel ids (e.g. openai/gpt-4o-mini, as model_id in search_offers rows) or names to search for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint already covering the safety profile, the description still adds real behavioral detail: the full field-by-field comparison applies only 'for up to 4' models, and the payload includes winners, percentages, 'providers selling all', and summary sentences. The exact behavior at 5 models is left ambiguous (partial comparison is implied but not stated), keeping it from a 5.

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?

It is a single front-loaded sentence that leads with the core action and the model-count constraint before enumerating outputs, with no filler. The long parenthetical list of compared fields makes it dense and harder to parse, but each clause carries information.

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?

There is no output schema, so the description must carry the return-value burden, and it does so thoroughly: per-model best offer, per-field lowest/median prices, context, max output, providers, regions, the 1M-in/200k-out workload cost, winners by percent, and summary sentences. The only gap is the unexplained partial behavior when 5 models are supplied.

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 100% and the sole parameter's min/max items and id-vs-name flexibility are already documented in the schema; the description's '2 to 5 models' merely restates the schema bounds. It adds no extra meaning about id formats, ambiguity handling on name search, or duplicate ids.

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 opens with a specific verb-and-resource phrase ('2 to 5 models side by side') and then enumerates exactly what is compared, so an agent can see this is a multi-model comparison tool rather than a listing tool. It does not name any sibling (e.g. cheapest_models, get_model_prices) to reinforce the distinction, so it stops short of a 5.

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?

The '2 to 5 models' framing implies when the tool is appropriate (a small handful of models to compare), but there is no explicit when-to-use guidance and no exclusion pointing to alternatives like get_model_prices or cheapest_models for single-model or list-style queries. Usage is inferable rather than stated.

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