Skip to main content
Glama

Make a Polemia quiz

create_quiz

Make a new live multiple-choice quiz on Polemia about any topic, ready to play on phones with a join code. Use it when the user wants a quiz, trivia game or icebreaker for a class, party, family, team or pub quiz. Takes 10 to 60 seconds. Returns join_url and code (for the players), host_url (for the person running the game: opening it makes that browser the host, and it works once), qr_url (a QR code image of the join link) and how_it_works, a short explanation of the game. Always give the user both host_url and join_url. "facts" quizzes have right answers; "opinions" quizzes are scored by what the majority picks. Topics that target people, politics, war or adult material are refused.

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

Input Schema

NameRequiredDescriptionDefault
kindNo"facts": questions with a right answer. "opinions": fun questions where the most popular answer scores.facts
topicYesWhat the quiz is about, e.g. "volcanoes", "Harry Potter", "the human body for 9 year olds".
languageNoWrite the quiz in this language (BCP-47, e.g. "es", "de", "pt-BR"). Leave out to use the language the topic is written in.
questionsNoHow many questions, 1 to 25.
for_children_underNoMake every question suitable for children under this age.

Output Schema

NameRequiredDescriptionDefault
codeYesThe join code players type at polemia.ai.
kindYes
qr_urlYes
host_urlYes
join_urlYes
languageYes
questionsYes
how_it_worksYes
host_link_expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / topic
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "code",
      -  "join_url",
      -  "host_url",
      -  "qr_url",
      -  "questions",
      -  "kind",
      -  "language",
      -  "topic",
      -  "host_link_expires_at",
      -  "how_it_works"
      -]New value: +[
      +  "code",
      +  "join_url",
      +  "host_url",
      +  "qr_url",
      +  "questions",
      +  "kind",
      +  "language",
      +  "host_link_expires_at",
      +  "how_it_works"
      +]
  2. Changed3 schema fields changed
    • addedOutput schema / properties / how_it_works
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / instructions
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "code",
      -  "join_url",
      -  "host_url",
      -  "qr_url",
      -  "questions",
      -  "kind",
      -  "language",
      -  "topic",
      -  "host_link_expires_at",
      -  "instructions"
      -]New value: +[
      +  "code",
      +  "join_url",
      +  "host_url",
      +  "qr_url",
      +  "questions",
      +  "kind",
      +  "language",
      +  "topic",
      +  "host_link_expires_at",
      +  "how_it_works"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), the description adds latency expectations (10–60 seconds), the single-use host_url semantics ('opening it makes that browser the host, and it works once'), and a refusal policy. Those are exactly the non-obvious behaviors an agent needs before invoking.

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?

Purpose and usage come first, then outputs, then the operational caveat about host_url, then kind semantics and refusal. Every sentence carries information, but the output-field rundown is dense and could be tightened given an output schema already exists.

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?

For a creation tool with an output schema and full annotation coverage, the description covers timing, return semantics, the host/join distinction, and refusal boundaries. An agent has everything needed to call it and to hand results back to the user correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description earns an extra point by explaining the scoring consequence of the kind enum ('facts' have right answers, 'opinions' are scored by what the majority picks), which the schema only hints at. The remaining parameters (topic, language, questions, for_children_under) are left entirely to the schema.

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?

The opening sentence names a specific verb and artifact: create a new live multiple-choice quiz on Polemia, playable on phones via a join code. That is unmistakably a creation tool, so it cannot be confused with siblings like find_quizzes or daily_question, even though they are not named.

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?

It gives a clear when-to-use list (quiz, trivia game, icebreaker for class, party, family, team, pub quiz) and a concrete when-not condition (topics targeting people, politics, war, or adult material are refused). It stops short of explicitly naming an alternative tool or a fallback for refused topics, 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