Skip to main content
Glama

x402_llmmodels_get_v1_models

Retrieve the full OpenRouter model catalog with per-model endpoints and pricing, auto-synced every six hours to reflect new and removed models.

Instructions

llmmodels — Full OpenRouter catalog as per-model endpoints (~440 models, auto-synced every 6h — new models appear automatically, removed models disappear). Each priced ~3x worst-case cost ($0.001-$0.50); free upstream models $0.001 with rate-limit disclaimer. Live margin guard. [GET /v1/models] $0.002-0.405 USDC on eip155:8453. Example: /v1/models — full catalog with prices

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the 6h auto-sync cadence, per-model pricing (~3x worst-case cost, $0.001-$0.50), a live margin guard, the free-tier $0.001 rate-limit caveat, and the payment rail ($0.002-0.405 USDC on eip155:8453). It does not explain failure/retry behavior or response shape beyond 'catalog with prices'.

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 lead sentence is well front-loaded, but the pricing content is stated twice in slightly different terms ($0.001-$0.50 per model vs $0.002-0.405 per call), which is more likely to confuse than inform. 'New models appear automatically, removed models disappear' restates 'auto-synced every 6h', and the trailing Example line duplicates the opening.

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?

With no annotations and no output schema, the description must cover behavior, and it does cover payment, cost, and sync. However, it never says whether the ~440 models arrive in one response or paginated, or whether the query object can filter the catalog — meaningful gaps for a large catalog endpoint.

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 description coverage is 100% and all four parameters (body, query, restart, operationId) are documented in the schema itself. The description adds no meaning about any parameter — the query example shown is the schema's generic {base:'USD', quote:'EUR'} boilerplate, so the baseline of 3 applies.

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 resource and scope: the full OpenRouter model catalog (~440 models) served as model endpoints, with the concrete route [GET /v1/models]. Naming OpenRouter distinguishes it from sibling catalogs like huggingface/venicechat/llmchat/llmmedia, though it never explicitly contrasts with them.

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?

There is no when-to-use or when-not-to-use statement, and no sibling is named as an alternative. An agent can infer this is a discovery/catalog listing call, but nothing tells it when to pick this over x402_llmmodels_post_v1_m_provider_model or the other *_get_v1_models siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools