Skip to main content
Glama

Country Generator

Check a quiz answer

check_answer
Read-only

Check the user's answer to one create_quiz question. Pass the question's ticket, the user's answer exactly as given (a letter, a name or a code), and the score_ticket from the previous check_answer, if there was one. Returns whether it was correct, the right answer, facts to share in the user's language, and the new score.

Input Schema

NameRequiredDescriptionDefault
answerYesThe user's answer as given: an option letter, a name, or a code.
ticketYesThe ticket of the question being answered.
score_ticketNoThe score_ticket from the previous check_answer. Leave out for the first question.

Output Schema

NameRequiredDescriptionDefault
aboutYesFacts to share. A population question has populations and source; the others have country facts.
scoreYesThe running score.
correctYesWhether the answer was right.
play_urlNoA page on the site to play. Share it once.
game_overYesTrue after the last life is lost.
score_ticketYesSend this with the next check_answer.
correct_answerYesThe right answer in the quiz language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a safe, closed-world read, so the description's value is in disclosing stateful behavior: the score accrues through the score_ticket chain, and the response carries correctness, the right answer, shareable facts in the user's language, and the new score. That is real context an agent needs for multi-turn quiz handling, not a restatement of the annotations.

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?

Two sentences, both front-loaded with the essential action and the stateful parameter in order of importance. No filler and nothing redundant.

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

Completeness4/5

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

For a three-parameter, fully documented tool with an output schema, the description supplies everything needed: workflow placement, chaining rule, and answer format. It could add an edge case (e.g. what happens on an invalid ticket or a stale score_ticket) but nothing essential 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 coverage is 100%, so all three parameters are already documented in the schema, and the description largely restates the same information ('answer exactly as given', 'the score_ticket from the previous check_answer, if there was one'). The one small addition is framing the ticket as belonging to a create_quiz question, but that is marginal over the schema text.

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?

States a specific verb and resource ('Check the user's answer to one create_quiz question') and ties itself directly to the sibling tool that produces the question ticket, so an agent can immediately place it in the quiz workflow. The description also enumerates the return payload, removing ambiguity about what a call yields.

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 clear sequencing guidance: call after create_quiz, pass the score_ticket from the previous check_answer, and omit it for the first question. It stops short of naming any alternative tool or exclusion case, but this is a tightly chained two-tool workflow where the ordering instructions cover the practical decision.

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