Skip to main content
Glama

List models / pricing

get_pricing

Filter models by provider, tier, capability, and price to find the cheapest model meeting your requirements.

Instructions

Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerNoFilter to a single provider.
tierNoFilter to a single tier.
capabilityNoRequire a capability.
maxInputPerMillionNoOnly models at or below this input price per 1M tokens.
includeLocalNoInclude local / self-hosted $0 models (off by default).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelsYes
countYes
catalogVersionYes
asOfYes
sourceYes
Behavior2/5

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

No annotations are provided, so the description carries the burden. It mentions 'Offline' which suggests cached data but is ambiguous. It does not explicitly state it is read-only or disclose any behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but includes an ambiguous phrase 'capabilities are arrays' and 'Offline'. Every sentence could be more informative, but it is not overly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 5 parameters and an output schema, the description is minimal. It does not explain the 'Offline' aspect or how caching works, nor does it provide context for the pricing data.

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 has 100% description coverage for parameters, so baseline is 3. The description adds minimal meaning beyond 'capabilities are arrays', which is somewhat unclear and does not enhance parameter understanding.

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 clearly states the tool returns the model catalog with pricing and supports optional filtering. However, it does not explicitly distinguish itself from the sibling tool 'list_models', which could be a potential overlap.

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?

No guidance is provided on when to use this tool versus alternatives like 'estimate_cost' or 'compare_models'. The description lacks context for usage.

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/sachinuppal/modelcostsaver'

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