Skip to main content
Glama

Model category conditions (paid: 0.01 RLUSD / 0.01 USDC on XRPL / 0.01 USDC on Base / 0.01 RLUSD on Base via x402)

get_model_category
Read-only

Paid: 0.01 RLUSD or 0.01 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.01 USDC on Base (eip155:8453). Pay per call, solves one question: What price and listing readings sit in this models.dev category? Raw counts, 24h price changes, new/removed listings, and vendor disturbances with sources. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

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": {
      "name": "<name>"
    },
    "name": "get_model_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesModel category
sortNoOptional sort order
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / name / enum
      Previous value: -[
      -  "reasoning",
      -  "coding",
      -  "vision-input",
      -  "image-output",
      -  "audio",
      -  "retiring-soon",
      -  "price-moved",
      -  "free-tier"
      -]New value: +[
      +  "reasoning",
      +  "coding",
      +  "vision-input",
      +  "image-output",
      +  "audio",
      +  "retiring-soon",
      +  "free-tier"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / payment_signature / description
      Previous value: -"Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD PaymentPayload) for hosts that cannot set _meta[\"x402/payment\"]. Omit on the first call to receive the payment requirements."New value: +"Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta[\"x402/payment\"]. Omit on the first call to receive the payment requirements."
  3. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only say read-only, open-world, non-idempotent, non-destructive. The description goes well beyond: exact price and networks, the 402 error shape (isError with PaymentRequired and a fresh invoiceId), the retry mechanism via _meta["x402/payment"] or payment_signature, and that failed unpaid calls are free. That is exactly the operational context an agent needs for a paywalled tool, and it is consistent with idempotentHint=false (each call is charged).

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?

Well front-loaded: price first, then the question it answers, then return contents, then the failure/retry path. Sentences are dense but each carries information. The opening pricing clause partially duplicates the title, which is the only real redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by enumerating the returned readings and their sources. Combined with the fully documented payment/error path, an agent has everything needed to call this correctly on first attempt and to recover from the 402.

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 both enums are documented in-schema, so the baseline is 3. The description adds a little meaning by framing payment_signature as the retry channel after a PaymentRequired response, but it says nothing about the category enum values or the sort parameter beyond what the schema already states.

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 concrete resource and return set: "What price and listing readings sit in this models.dev category?" followed by "Raw counts, 24h price changes, new/removed listings, and vendor disturbances with sources." An agent can tell what it gets. It does not, however, contrast itself with plausible siblings like get_price_index or get_current_conditions, so the differentiation is only partial.

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 guidance is entirely about the payment flow: pay per call, omit payment on the first call, retry with the signed payload. That is genuinely useful. There is no guidance on when to choose this tool over sibling reading tools (get_price_index, get_current_conditions), so task-level routing is left to inference.

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.

Resources