Skip to main content
Glama

Check an answer

check_answer
Read-onlyIdempotent

Check the user's answer to a question from get_practice_questions. Use it when the user answers one of those questions. selected is the option letters the user chose, e.g. ["B"] or ["A", "D"]. Returns whether it is right, the correct letters and the explanation.

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": {
      "exam": "<exam>",
      "question_id": "<question_id>",
      "selected": "<selected>"
    },
    "name": "check_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
examYes
selectedYes
question_idYes

Output Schema

NameRequiredDescriptionDefault
correctYes
selectedYes
explanationYes
question_idYes
correct_optionsYes
more_questions_urlYes

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 readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds non-obvious behavioral context beyond that: the response reveals correctness, the correct letters, and an explanation — relevant because it hands the answer back to the caller. No auth or failure-mode notes, but the bar is lower given 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?

Three tight sentences: purpose, usage trigger, parameter format, and return shape — no filler, and the usage trigger is front-loaded right after the purpose.

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?

With an output schema present, the return summary is optional but helps; the main residual gap is the undocumented `exam` parameter, which an agent must supply but whose expected value form is never described.

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 0%, so the description carries the full burden. It compensates well for `selected` with a concrete literal example (["B"] or ["A", "D"]) and implies `question_id` via the reference to get_practice_questions, but the required `exam` parameter gets no explanation at all (ID vs name vs slug is left unspecified).

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 description states a specific verb and resource — checking the user's answer to a practice question — and explicitly ties it to the sibling tool get_practice_questions, so an agent can distinguish it from list/get 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?

"Use it when the user answers one of those questions" gives a clear triggering condition anchored to a named sibling's output. It stops short of stating when NOT to use it (e.g. unanswered or freely-typed questions), but the intended context is unambiguous.

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