Skip to main content
Glama

Fiveable for AP Teachers

Preview correcting an answer key

prepare_correct_answer_key

Creates an owner-bound confirmation preview for correcting a published multiple-choice key, including how many students gain or lose points. Accepts assignment section and question numbers. Keys and scores remain unchanged until approved preview execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoA note for Fiveable with the shared fix.
explanationNoWhy this answer is right, in the teacher's words; defaults to the current explanation.
assignmentIdYesAssignment id from list_coursework.
sectionNumberYes1 for the assignment's first section.
correctAnswersYesThe right answer letters, e.g. ["C"].
questionNumberYesQuestion number within that section.
shareCorrectionYesAlso send the fix to Fiveable so the question is corrected for everyone.

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. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, but the description adds genuinely useful context beyond them: the artifact is owner-bound, it is a preview only, and no keys or scores change until execution is approved. That non-mutation-until-approval behavior is the key fact annotations alone would not convey.

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 sentences, each earning its place: purpose, accepted inputs, and the non-mutation guarantee, with the most important constraint front-loaded. No filler.

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 no explanation, and annotations cover the safety profile. The description covers the preview-versus-commit distinction adequately, though it could have mentioned the follow-up confirm tool to complete the workflow picture.

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 seven parameters are already documented in the schema, including examples and bounds. The description only restates that it accepts section and question numbers, adding no syntax or format detail beyond the schema, so the baseline 3 applies.

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 ('Creates an owner-bound confirmation preview for correcting a published multiple-choice key') and adds scope detail (point deltas for students). An agent can distinguish it from confirm_correct_answer_key, which performs the actual correction, without opening either 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?

The description makes clear this is a preview stage that precedes approval ('Keys and scores remain unchanged until approved preview execution'), giving clear usage context. It stops short of naming confirm_correct_answer_key as the follow-up sibling, so the agent must infer the routing from names alone.

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.