Skip to main content
Glama

x402_trivia_get_v1_questions

Fetch general knowledge trivia questions from Open Trivia DB for quizzes and games by specifying amount and difficulty; paid calls settle in USDC.

Instructions

trivia — General knowledge trivia questions (Open Trivia DB) [GET /v1/questions] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/questions?amount=5&difficulty=medium

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_trivia_get_v1_questions"
  }
}

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.4/5.0
Behavior3/5

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

With no annotations, the description does add genuinely useful behavior: this is a paid call at $0.005 USDC across four named chains, so the agent knows cost and payment context before invoking. It says nothing about rate limits, failure/retry behavior, or whether the paid call is idempotent, leaving the schema's restart/operationId fields unexplained in prose.

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?

Everything is compressed into a single dense line: subject, source, method/path, price and chains, then an example. It is front-loaded and waste-free, though the bracketed path and chain-id list make it slightly scannable-hostile.

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?

For a simple read tool this covers what it fetches, how to call it, and what it costs, which is much of what an agent needs. However, with no output schema the description never sketches the returned question shape (question, answers, correct index), and it omits pagination or result-count limits, so an agent cannot fully anticipate the response.

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 coverage is 100%, so the schema already documents body, query, restart, and operationId, and baseline is 3. The example adds a small amount of meaning by showing concrete query keys (amount, difficulty), but it never enumerates the full set of trivia query options (category, type, encoding) that the endpoint likely accepts.

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 (general knowledge trivia questions from Open Trivia DB) and pins it to GET /v1/questions, so an agent can tell it apart from the sibling categories endpoint by name alone. It lacks an explicit verb like 'fetch/list', but the path and subject make the action unambiguous.

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: the example query string suggests how to fetch a small set of medium-difficulty questions, but there is no statement of when to call this versus the categories sibling, nor any note on defaults when amount/difficulty are omitted. The example carries most of the guidance burden.

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