Skip to main content
Glama

x402_llmchat_get_v1_models

List available OpenRouter LLM chat models and their USDC pay-per-call price tiers so agents can choose a model and validate cost before paying without an API key.

Instructions

llmchat — Pay-per-call LLM chat completions via OpenRouter — 437 models, 4 price tiers ($0.005-$0.25). Live model-price validation; agents get frontier inference without an OpenRouter API key. [GET /v1/models] $0.005-0.25 USDC on eip155:8453. Example: /v1/models — free tier info

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_llmchat_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

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavioral facts: pay-per-call pricing ($0.005–$0.25 USDC on eip155:8453), live model-price validation, and no OpenRouter API key required. It never states that the call is a read-only catalog fetch, nor explains how the 'restart' and 'operationId' retry/payment semantics interact with a paid call.

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 endpoint and price are front-loaded, but the pricing figure ($0.005–$0.25) is repeated verbatim, and promotional phrasing ('frontier inference', 'without an OpenRouter API key') crowds out the one thing an agent needs: what this GET returns. The example fragment is cryptic rather than illustrative.

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?

Rich parameter documentation plus explicit price/chain disclosure covers most of what an agent needs before paying for a call. The remaining gap is modest: with no output schema, the description should say what the model list contains (ids, tiers, prices) rather than only '437 models' and 'free tier info'.

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, so the baseline is 3. The description adds nothing about which parameters matter for this GET endpoint — e.g. what a query filter would select among the 437 models — leaving the schema to do all the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The bracketed '[GET /v1/models]' and '437 models, 4 price tiers' hint that this lists available models, but the leading sentence describes 'LLM chat completions via OpenRouter,' which is the job of the sibling x402_llmchat_post_v1_chat* tools. An agent must read past marketing copy and the example line ('free tier info') to infer that this is a model-catalog read endpoint.

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 explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative. The only routing clue is the trailing 'Example: /v1/models — free tier info,' which implies discovery/pricing lookup but never states it or contrasts it with the paid chat endpoints.

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