Skip to main content
Glama

Confirm Exam Paper Draft

paper_confirm
Idempotent

Mint the exam paper from a job parked at awaiting_confirmation (created via paper_create). Materialises the ExamPaper, questions, and mark schemes from the extraction draft, synchronously. Optionally override the detected identity (title/subject/board/year); omit to use what extraction detected. Idempotent — confirming an already-committed job returns its paper. Returns the exam_paper_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesID of the ingestion job to confirm. Must be parked at awaiting_confirmation (poll ingestion_get first).
metadataNoOptional identity overrides. Omit to mint the paper with the identity detected during extraction. `total_marks` is always derived from the question marks — never supplied here.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesTerminal status of the paper (complete).
outcomeYes"created" on first confirm, "already committed" on re-confirm.
view_withYesThe tool to inspect the paper with (paper_get).
exam_paper_idYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, and the description reinforces this with 'confirming an already-committed job returns its paper.' It adds the behavioral detail that the materialization is synchronous and that the operation persists ExamPaper, questions, and mark schemes. It also mentions the return of exam_paper_id, which is beyond the annotation set.

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?

The description is four sentences and front-loaded with the main verb and subject. Each sentence carries a distinct piece of information—purpose, materialization, overrides, idempotency, and return value—with 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?

Covers the workflow context (paper_create, awaiting_confirmation), the synchronous materialization, override semantics, idempotent behavior, and return value. The schema supplies parameter-level detail and the output schema exists, so the description is comprehensive for its complexity.

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 schema already provides 100% coverage for both parameters, including per-field descriptions for every metadata override. The description adds only a high-level summary ('Optionally override the detected identity') without additional per-parameter detail, so it doesn't add significant meaning beyond 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 description opens with a specific verb-resource combination—'Mint the exam paper'—and anchors it to a concrete workflow step ('job parked at awaiting_confirmation'). It distinguishes itself from siblings by naming paper_create as the precursor and describing the materialization of ExamPaper, questions, and mark schemes.

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 explicitly states the precondition ('job parked at awaiting_confirmation') and references paper_create as the source workflow. It explains the optional override behavior and says to omit it to use extraction-detected identity. It does not explicitly list exclusions (e.g., 'do not use if the job is still processing'), but the awaiting_confirmation requirement is a clear gate.

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.

TDQS

A4/5.0
Disambiguation4/5

The tools map well to distinct resources and workflow stages, and the async flows are clearly explained. The main overlap risk is paper_create/paper_confirm and markResult_get/submission_get, where names point at similar actions but the descriptions make the boundaries usable.

Naming Consistency4/5

Most names follow the same resource_action snake_case pattern, e.g. paper_get, submission_mark, markScheme_update. markResult_get breaks the pattern slightly by mixing camelCase into an otherwise snake_case set, but the naming stays readable and predictable overall.

Tool Count5/5

Ten tools is a well-scoped size for this domain: paper creation, confirmation, retrieval, question/mark-scheme correction, and submission grading are covered without excess granularity or obvious filler.

Completeness4/5

The main end-to-end workflow—create extraction job, confirm paper, mark submission, poll results—is complete and coherent. Minor gaps exist, such as no paper deletion, no submission listing, and no direct way to fetch a mark scheme separately, but they are not blocking for the core grading loop.

Resources