Skip to main content
Glama

Fiveable for AP Students

Record a practice question answer

submit_practice_answer
Idempotent

Records the signed-in student's answer to a multiple-choice practice question so it counts toward their Fiveable progress. Accepts a question id previously served by Fiveable MCP and returns whether the answer was correct plus the explanation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
answerYesThe displayed option label (for example "B" or "B.") or the full answer text.
intentNoPrivacy-safe reason for the request. Use explain, quiz, notes, frq, or research; never send the student's raw prompt for analytics.
requestIdNoReuse this ID for retries of the same answer; changed input returns a conflict.
questionIdYesThe practice question id from get_practice_questions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoReadable tool result text for clients that consume structured output.
statusYesOperation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / requestId / maxLength
      Removed value: -128
    • removedInput schema / properties / requestId / minLength
      Removed value: -8
    • changedInput schema / properties / requestId / pattern
      Previous value: -"^[\\w-]+$"New value: +"^[\\w-]{8,128}$"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations indicate idempotentHint=true and readOnlyHint=false, so the agent knows it's a mutating but idempotent operation. The description adds that it records progress and returns correctness/explanation, but doesn't explicitly mention that retries with the same requestId will not create duplicates, which is a key behavioral nuance for idempotency. However, the annotations cover the core, and the description adds useful context about the return value.

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?

The description is a single, focused sentence that front-loads the action and outcome. It mentions the key parameters (question id) and the return value, but could be slightly more concise by avoiding redundancy with the title. Still, it's tight and structured well.

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?

Given the presence of an output schema (not shown but indicated) and comprehensive parameter descriptions, the description covers the essential purpose and expected result. It could mention idempotency behavior or references to check_practice_answer, but these are minor omissions given the schema richness. The tool is moderately complex with 4 params, but the description is adequate for an agent to call it correctly.

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?

The input schema already documents all 4 parameters with descriptions (100% coverage). The description adds minimal extra context beyond the schema, such as the intent field's purpose for privacy, which is already in the schema. It doesn't add new semantics, so a baseline of 3 is appropriate.

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 clearly states the action (records the signed-in student's answer), the resource (a multiple-choice practice question), and the outcome (counts toward progress, returns correctness and explanation). It also distinguishes itself from check_practice_answer, which likely just checks an answer without recording, making the purpose unambiguous.

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?

The description implies it should be used when a student answers a practice question from get_practice_questions and wants it recorded for progress. It doesn't explicitly state when not to use it (e.g., for checking without recording), but the sibling tool check_practice_answer suggests an alternative. Clear context but no explicit exclusions.

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.