Skip to main content
Glama

TokenBudget

List models with prices and limits

list_models
Read-onlyIdempotent

List every model this tool prices, with input, output, cache and batch prices per 1M tokens, context window, max output, source URL and the day the price was checked.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerNoOne provider (same as providers with one item).
providersNoOnly these providers.
min_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety and repeatability are covered. The description adds genuinely useful context that the annotations cannot carry: the data returned includes a source URL and the date each price was checked, which tells the agent the figures are attributable and timestamped. It does not disclose ordering, filtering semantics, or pagination behavior for a catalog that could be long.

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?

A single dense sentence that front-loads the verb and scope, then lists return fields in a logical order. Every listed item adds information, though the long enumeration makes it slightly heavy to parse at a glance.

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?

There is no output schema, so the description rightly enumerates the returned fields, including provenance and freshness. What is missing is any treatment of the three filter parameters, especially the undocumented min_context, and of result ordering or size for an unfiltered call.

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 67%, with provider and providers documented in the schema while min_context carries no description anywhere. The prose says nothing about the parameters — not that they act as filters, nor how provider and providers interact — so it neither compensates for the gap nor contradicts the schema. With coverage in this middle band, a 3 is the correct 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?

States a specific verb and resource ('List every model this tool prices') and enumerates exactly what each entry carries: input/output/cache/batch prices per 1M tokens, context window, max output, source URL, and price-check date. That is enough to separate it from a single-model lookup like get_model_pricing, though no sibling is named explicitly.

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 never says when to call this instead of get_model_pricing, check_context_fit, or estimate_cost, and gives no guidance on combining filters or on what happens when no filter is supplied. Usage is only implied by the word 'List'.

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