Skip to main content
Glama

Claude API Pricing

List Claude models and prices

list_claude_models
Read-only

List current Claude API models with their prices in USD per million tokens: input, output, prompt-cache writes (5 min / 1 h), cache reads, and the Batch API discount.

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_claude_models"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the returned price dimensions and their unit (USD per million tokens), which is the key behavioral fact for an agent that will reuse those numbers. It does not mention update cadence or whether deprecated models are included, a minor gap.

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?

A single front-loaded sentence with no filler: the resource comes first and the payload details follow. Every clause names a distinct price dimension, so nothing is wasted.

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?

With no output schema, the description carries the burden of describing return values, and it does so by listing the price fields an agent would need. It stops short of explaining the record shape (model identifiers, context limits, pagination or sorting), which would make it fully self-sufficient.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to compensate for. The empty schema and the description are consistent, with no input options hinted at that the schema omits.

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 current Claude API models') and enumerates exactly what comes back: input, output, prompt-cache writes (5 min / 1 h), cache reads, and Batch API discount prices in USD per million tokens. An agent knows precisely what this returns, though it never names its siblings 'compare_claude_models' or 'estimate_claude_cost' to draw the boundary.

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?

Usage is only implied: a zero-parameter listing tool whose natural role is model/price lookup before calling 'estimate_claude_cost' or 'compare_claude_models'. There is no explicit when-to-use or when-not-to-use statement and no mention of the alternatives, so the routing to siblings is left to inference.

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.