Skip to main content
Glama

models_models

Read-only

$0.002 via x402: The model list: id, name, provider, prompt and completion price in USD per million tokens, context length, input and output modalities, reasoning flag; filters provider= (anthropic, openai, google, meta-llama, mistralai ...), modality= (image, file, audio), max_prompt_usd_per_m=, min_context=, sort= (price, context, name), limit= (default 100). Pay 0.002 USDC through https://store.agentexchange.wo

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": "models_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNosort
limitNo1..500, default 100
modalityNomodality
providerNoprovider
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)
min_contextNomin_context
max_prompt_usd_per_mNomax_prompt_usd_per_m

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely non-obvious behavior: this is a paid endpoint (0.002 USDC via x402), payment is made through a specific store URL, and the default result cap is 100. That is real context beyond the structured fields, though the payment URL is truncated and the price-only fallback path is not explained in the description itself.

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 dense single block that packs returned fields, filters, and payment terms with almost no filler. It is slightly weakened by leading with the price rather than the purpose, and by a truncated store URL that dangles at the end.

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?

For a 7-parameter, no-output-schema tool, the description does cover the returned fields and most filter semantics, which is the right instinct. But the payment mechanics are cut off mid-URL and the trigger behavior for unauthenticated calls is omitted, leaving an agent unsure what a no-payment invocation actually returns.

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 the baseline is 3, and in fact the description carries most of the semantic load because the schema's own parameter descriptions are bare stubs ('sort', 'provider', 'modality'). It supplies concrete accepted values (anthropic, openai, google, meta-llama, mistralai; image, file, audio; price, context, name) and confirms the limit default, which is useful but only partially compensates for the missing per-parameter semantics.

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 the specific resource (the model list) and enumerates exactly what each entry contains: id, name, provider, prompt/completion price per million tokens, context length, modalities, and reasoning flag. It is clearly a listing tool, distinguishable from models_model or models_cheapest by name alone, though it never explicitly contrasts itself with those siblings.

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?

The filter set implies usage scenarios (cost-driven selection via max_prompt_usd_per_m, capability filtering via modality/provider, size via min_context), but the description never says when to prefer this over models_cheapest or models_model. The payment requirement is stated but the 'without payment you get the price' behavior is left to the schema rather than the prose.

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.