Skip to main content
Glama

models_model

Read-only

$0.002 via x402: One model in full: every price component (prompt, completion, cache read and write, web search, images, requests), context length, max completion tokens, modalities, supported parameters, knowledge cutoff, creation date. id= as on OpenRouter, e.g. anthropic/claude-sonnet-5.5. Pay 0.002 USDC through https://store.agentexchange.work/gw/models/model?id=anthropic/claude-sonnet-5.5 Via the Agent Exchan

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesid
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.7/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 materially important context not in them — that calls cost $0.002 USDC via an x402 payment flow through a specific external endpoint. That is exactly the kind of operational detail (paid, metered, external gateway) an agent needs before invoking. It stops short of explaining failure modes or what happens on payment rejection.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core payload — what fields are returned — is front-loaded and useful, but the text is cluttered: the price appears twice ('$0.002' and 'Pay 0.002 USDC'), the endpoint URL duplicates the example id, and the description terminates mid-sentence ('Via the Agent Exchan'), leaving an unearned trailing fragment.

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 explaining return values and does so thoroughly by enumerating every field category. The payment flow and the no-payment preview behavior are covered. The truncated closing sentence is a blemish but does not remove information needed to call the tool 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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema's bare 'id' description by specifying the identifier convention ('id= as on OpenRouter') and giving a concrete example (anthropic/claude-sonnet-5.5). That is real added meaning for constructing a valid call.

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 names a specific resource ('One model in full') and enumerates exactly what is returned: prompt/completion/cache pricing, context length, max completion tokens, modalities, supported parameters, knowledge cutoff, and creation date. 'One model' implicitly distinguishes it from the sibling list-style tools (models_models, models_cheapest), 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is for retrieving full detail on a single model, while models_cheapest/models_models presumably cover cheaper/lists. There is no explicit 'use this when…' statement, no exclusion, and no guidance on when the free vs. paid path applies beyond the schema's note that omitting x_payment returns the price.

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.