Skip to main content
Glama

List models and prices

list_models
Read-only

Use this to choose models for a test or to answer what testing a model costs. Lists models a test can run, with list prices per million tokens, the starting mix and the credit left. Spends nothing.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
noteNo
modelsYes
summaryYesOne or two plain sentences to lead with.
starting_mixNo
credit_left_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "credit_left_usd": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "models": {
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "input_per_million": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "output_per_million": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "starting_mix": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "summary": {
      +      "description": "One or two plain sentences to lead with.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "summary",
      +    "models"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the economic side effect ('Spends nothing') and by previewing the returned content, including the leftover credit, which tells the agent this call is safe to make speculatively during planning. It does not discuss refresh/caching or how often prices change, 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?

Three short sentences: purpose, when-to-use, then what comes back plus the cost guarantee. Each sentence carries distinct information, and the usage cue is front-loaded so an agent can decide before reading the payload detail. 'Spends nothing' is a terse, high-signal closer rather than filler.

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

Completeness5/5

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

With zero parameters, full schema coverage, an output schema, and annotations covering safety, this low-complexity tool needs only purpose and usage framing. The description supplies both plus a cost guarantee and a content preview, leaving nothing an agent needs in order to call it correctly.

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 there is no parameter semantics to document and the baseline applies. The description correctly avoids inventing inputs and instead spends its words on output content, which is the right use of space for a no-arg tool.

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 uses a specific verb and resource ('Lists models a test can run') and names the concrete payload: per-million-token list prices, the starting mix, and remaining credit. It also implicitly differentiates itself from comparison-style siblings by framing the job as choosing models / answering cost questions rather than comparing already-chosen ones. It stops short of explicitly naming an alternative, which keeps it out of the top band.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear trigger conditions: 'Use this to choose models for a test or to answer what testing a model costs.' That covers the two realistic entry points (selection and cost estimation). There is no explicit when-not-use statement or named alternative (e.g., compare_models), so it is clear context without exclusions.

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.