Skip to main content
Glama

Country Generator

Create a geography quiz

create_quiz
Read-only

Create geography quiz questions: guess the country from its flag or outline, pick the capital, pick the most populated country, or name a neighbour. Ask the user one question at a time, then pass the user's answer and the question's ticket to check_answer. Do not guess the answer yourself, and do not reveal it before check_answer.

Input Schema

NameRequiredDescriptionDefault
typeYesflag: name the country from its flag. capital: pick the capital. shape: name the country from its outline. population: pick the most populated of four. borders: name a neighbouring country.
countNoHow many questions to create.
localeNoLanguage for names, capitals and links.en
regionNoLimit to one continent.
difficultyNoeasy: well-known countries. hard: lesser-known countries, wrong options from the same area, look-alike flags.medium

Output Schema

NameRequiredDescriptionDefault
typeYesThe quiz type that was asked for.
livesYesWrong answers that end the run.
play_urlYesA page on the site to play. Share it once.
questionsYesThe questions, in order.
difficultyYesThe difficulty that was used.
how_to_playYesHow to run the quiz with the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false), the description adds essential behavioral constraints: do not guess the answer, do not reveal it before check_answer, and preserve the question ticket. These are non-obvious rules that an agent could not infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what is created, followed by the interaction protocol and the guardrails. Every sentence carries information the agent needs; nothing is redundant with the schema or annotations.

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?

An output schema exists, so return-value shape need not be explained. The description covers the one thing the schema cannot: the multi-turn protocol involving the ticket and check_answer. Nothing needed to invoke or sequence the tool correctly is missing.

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 four of five parameters carry enums with per-value descriptions, so the schema does the heavy lifting. The description's prose enumeration of question types mirrors the `type` enum without adding format, default, or constraint detail beyond it. 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?

Opens with a specific verb and resource ("Create geography quiz questions") and enumerates the five question modes that map to the `type` enum, so an agent knows exactly what it gets. It is clearly distinguished from siblings like check_answer by describing the creation step of the workflow.

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?

Gives explicit operational guidance: ask one question at a time, then pass the user's answer plus the question's ticket to check_answer. This routes the agent to the correct sibling for the next step. It stops short of stating when *not* to use this tool (e.g. versus random_country or get_country), so it is strong but not exhaustive.

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