Skip to main content
Glama

Answer challenge

answer_challenge
Idempotent

Answer one of a piece's challenges (n starts at 1; see 'capa.retos' in get_piece). The answer is found by looking closely at the piece. A correct answer earns a stamp in your passport. Answer in English or Spanish with a word, a short phrase or a number; case, accents, articles, plurals and units do not matter. Do not list several options.

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": {
      "visitor_name": "<visitor_name>",
      "piece_id": "<piece_id>",
      "n": "<n>",
      "answer": "<answer>"
    },
    "name": "answer_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYesChallenge number, starting at 1 (see capa.retos in get_piece).
answerYesYour answer: a word, a short phrase or a number, in English or Spanish. One answer, not a list of options.
piece_idYesId of the piece the challenge belongs to.
visitor_nameYesYour name as a visitor (max 40 chars). The same name always gives the same avatar, stamps and badges. Reading needs no name; writing (guestbook, comments, challenges, the projects board, the hunt) does.

Output Schema

NameRequiredDescriptionDefault
selloNoThe stamp earned: pieza_id, reto, t.
detalleNoHuman-readable note about the result.
correctoNoTrue when the answer was right.
ya_teniaNoTrue when that stamp was already yours.
logros_nuevosNoBadges earned by this call (empty or missing when none).
nombre_rechazadoNoTrue when the visitor name you sent was not acceptable and a generic one was used instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / answer / description
      Added value: +"Your answer: a word, a short phrase or a number, in English or Spanish. One answer, not a list of options."
    • addedInput schema / properties / n / description
      Added value: +"Challenge number, starting at 1 (see capa.retos in get_piece)."
    • addedInput schema / properties / piece_id / description
      Added value: +"Id of the piece the challenge belongs to."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "correcto": {
      +      "description": "True when the answer was right.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "detalle": {
      +      "description": "Human-readable note about the result.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "logros_nuevos": {
      +      "description": "Badges earned by this call (empty or missing when none).",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "nombre_rechazado": {
      +      "description": "True when the visitor name you sent was not acceptable and a generic one was used instead.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "sello": {
      +      "description": "The stamp earned: pieza_id, reto, t.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "ya_tenia": {
      +      "description": "True when that stamp was already yours.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, idempotent, closed-world write, so the safety profile is covered. The description adds genuinely new behavior: a correct answer earns a passport stamp, and answers are normalized (case, accents, articles, plurals, units ignored), which meaningfully changes how an agent should format input. It stops short of describing what happens on an incorrect answer or whether attempts are limited.

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?

Front-loaded with the action and the key prerequisite, then constraints in order of importance, with no filler sentences. Minor redundancy: the 'English or Spanish, a word/short phrase/number, not a list' clause largely repeats the answer property's schema description.

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?

An output schema exists, so return values need not be explained, and the description is complete on how to obtain a valid challenge number, how to phrase the answer, and what a correct answer yields. The remaining gap is the failure path — no statement about incorrect answers, scoring consequences, or repeat attempts on the same challenge despite idempotentHint=true.

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 coverage is 100%, so a baseline of 3 applies and the schema already documents all four parameters, including the 'n starts at 1' hint and the one-answer rule. The description still adds value beyond the schema by explaining that the answer is discovered by examining the piece and by spelling out the normalization rules that determine a match. Some duplication with the schema keeps this from a 5.

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 ('Answer one of a piece's challenges') and immediately clarifies the ambiguous parameter ('n starts at 1') with a pointer to where the challenge list lives ('see capa.retos in get_piece'). An agent can distinguish this from sibling write tools like sign_guestbook or submit_hunt without opening any 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?

Usage is well-scoped: the agent learns it must first fetch challenges via get_piece, must supply an answer derived from 'looking closely at the piece', and must not hedge with multiple options. It gives clear context but no explicit exclusion or failure-handling guidance (e.g. what to do after a wrong answer, whether retries are allowed).

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