Skip to main content
Glama

x402_llmmedia_get_v1_models

Retrieve the media model catalog with per-model prices for image, audio, and video generation or editing so you can choose a paid endpoint before calling it.

Instructions

llmmedia — Per-model media endpoints via OpenRouter — image generation/editing, audio (incl. Lyria music), and video (Gemini Omni). Auto-synced every 6h; priced ~3x estimated worst-case cost ($0.02-$5.00 cap). Free upstream audio models $0.02 with rate-limit disclaimer. Live margin guard. [GET /v1/models] $0.02-0.15 USDC on eip155:8453. Example: /v1/models — full media 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_llmmedia_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 does substantial work: it discloses the 6-hour auto-sync cadence, the ~3x worst-case pricing model with a $0.02-$5.00 cap, the $0.02 free-audio rate-limit caveat, a live margin guard, and the $0.02-0.15 USDC payment on eip155:8453. It stops short of describing auth mechanics or the shape/freshness implications of what is returned 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 resource and content scope are front-loaded, but the text is a dense em-dash chain that piles pricing figures together ($0.02-$5.00 cap versus $0.02-0.15 USDC) without labeling which range is per-call cost versus upstream model cost. 'Auto-synced every 6h' and 'live margin guard' earn their place; the overlapping price clauses cost clarity.

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?

There is no output schema or annotation coverage, and the description never characterizes the returned catalog (fields such as model id, modality, price, rate limits) or pagination, which an agent needs to consume the result. It is thorough on cost and freshness but silent on why a GET tool exposes body/restart/operationId paid-retry parameters, and on the discovery-to-generation workflow.

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, so the description need not repeat them. It adds no meaning about how query filters apply to a model catalog or why a GET carries a JSON body, leaving the schema to do all the work. Baseline 3 is appropriate at full coverage.

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 the resource concretely — a media model catalog covering image generation/editing, audio including Lyria, and video (Gemini Omni) — and the endpoint tag [GET /v1/models] with 'full media catalog with prices' makes the read intent clear. It implicitly separates itself from chat-oriented siblings (llmchat, llmmodels, venicechat) by scoping to media via OpenRouter, though it never states an explicit verb like 'list'.

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 guidance on when to call this versus when to call the generation endpoint (x402_llmmedia_post_v1_media_provider_model) or the other model-list siblings. The 'Example' line hints at looking up the catalog and prices, but the agent must infer that this is a discovery step before invoking media generation. No prerequisites or exclusions are stated.

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