Skip to main content
Glama

UK Data: Quiz questions

trivia_questions

Read-onlyIdempotent

Multiple-choice quiz questions, each with the correct answer, three wrong answers and the four options in a fixed A-D order with the right letter, from the community-written and moderator-reviewed Open Trivia Database (CC BY-SA 4.0). Pick a category (e.g. sports, geography, film, history) and difficulty, or mix. Good for pub quiz rounds, classroom quizzes and team events. Questions are drawn at random each call and the bank is mostly English-language general trivia; it is not a curriculum-aligned or UK-specific source, and a few answers may date. (cost: 1 credit)

Input Schema

NameRequiredDescriptionDefault
amountNointeger, optional, number of questions 1-50, default 10
categoryNostring or integer, optional, category id (9-32) or name such as "sports", "geography", "film", "music", "history", "science", "maths"; default any category (see trivia_categories)
difficultyNostring, optional, easy | medium | hard; default a mix

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior2/5

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

The description adds genuinely useful context beyond the annotations: 1-credit cost, Open Trivia Database provenance with CC BY-SA 4.0 licensing, English-language bias, possible stale answers, and non-curriculum alignment. However, "Questions are drawn at random each call" directly conflicts with the declared idempotentHint=true, since repeated identical calls will not return the same result.

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?

The core payload and option ordering are front-loaded in the first clause, and the caveats (randomness, language bias, dating) are properly subordinated at the end. It runs long as a single dense sentence-chain, and the licence parenthetical is more provenance than agent guidance, but nothing is truly wasted.

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, so the description must carry the return shape, and it does precisely: correct answer, three distractors, and four options in fixed A-D order with the correct letter flagged. Cost, randomness and source-quality limits are also disclosed, leaving nothing an agent needs in order to call it correctly.

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 already documents amount (1-50, default 10), category (id 9-32 or name) and difficulty (easy|medium|hard, default mix). The description only echoes the category examples and the "or mix" default behaviour, adding no syntax or format detail the schema lacks, so the baseline 3 applies.

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

Purpose5/5

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

"Multiple-choice quiz questions, each with the correct answer, three wrong answers and the four options in a fixed A-D order" states a specific resource and returns shape, and "multiple-choice" separates it from trivia_true_false while the schema points to trivia_categories. An agent can pick it over its three trivia siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Pick a category ... and difficulty, or mix" plus named domains ("pub quiz rounds, classroom quizzes and team events") give clear when-to-use context. It stops short of explicit exclusion routing such as "for true/false questions use trivia_true_false", so it is strong context rather than full alternative routing.

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