Skip to main content
Glama

List models / pricing

list_models

List available LLM models with pricing, filtered by provider, capability, or cost, to find the most affordable option for your task.

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
Behavior3/5

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

With no annotations, the description bears full burden for behavioral disclosure. It notes that capabilities are arrays and that data is offline (static), which adds value. However, it omits details on data freshness, pagination, rate limits, or any side effects. The 'Offline' hint is useful but insufficient for full transparency.

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?

The description is very concise, with only two short sentences and a fragment. It front-loads the main purpose. However, the fragments ('capabilities are arrays. Offline.') are not grammatically integrated, which slightly detracts from structure. Overall efficient but could be more polished.

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 the tool's simplicity (list with optional filters) and the presence of an output schema, the description is adequate but minimal. It does not mention pagination, sorting, or any limits, which would be useful for large catalogs. It meets basic needs but leaves gaps for complex queries.

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%, so baseline is 3. The description adds minimal parameter context beyond the schema: 'optionally filtered' and 'capabilities are arrays' hint at filtering but do not specify syntax. It does not significantly enhance the schema's descriptions, so the score remains at baseline.

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 states it returns the model catalog with pricing and optional filtering, which clearly communicates the tool's purpose. The name and title align well. However, it does not explicitly differentiate from sibling tools like get_pricing or compare_models, but the purpose is still clear.

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 provides no guidance on when to use this tool versus alternatives such as compare_models, select_optimal_model, or get_pricing. It lacks any 'when to use' or 'when not to use' context, making it hard for an AI to choose appropriately.

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