Skip to main content
Glama

submit_review

Record the user's result on a card and get the next one. Grade STRICTLY against the card's back: facts, numbers, doses, and units must match precisely — an imprecise answer is 1 (Again), never 'close enough'; only phrasing may differ. 1=Again (wrong or blank), 2=Hard (incomplete or hesitant), 3=Good (fully correct), 4=Easy (instant, perfect). State the exact answer on a miss, then immediately ask next_card's front. A null next_card ends the session — wrap up briefly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ratingYes1=Again 2=Hard 3=Good 4=Easy
card_idYes
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoPresent only when the queue is empty: why, and what to do next.
recordedYes
next_cardNoNext card to ask immediately, or null when the session is finished.
remainingYesCards left in the queue.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The description discloses key side effects: it records the result, retrieves the next card, and may end the session if next_card is null. It does not mention any hidden side effects like scheduling changes, but the provided behavior is transparent enough for normal use. Annotations show no destructive or read-only flags, consistent with the described recording action.

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 concise given the amount of grading detail it conveys. It is well-structured with clear sentences for the rating scale and the miss behavior. While slightly verbose, it does not waste words and each sentence adds value to the user's understanding.

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?

The description provides sufficient context for executing a review: the grading rubric, the follow-up action (asking next card's front), and the termination condition (null next_card). It does not explain error handling or edge cases, but for the core use case it is complete. The absence of an explicit output schema in the provided definition is mitigated by the description's mention of 'next_card'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only the 'rating' parameter is described in detail (1=Again, 2=Hard, 3=Good, 4=Easy). The 'session_id' and 'card_id' parameters have no description in the schema or the description text, leaving their purpose and expected values ambiguous. With schema coverage at 33%, the description fails to compensate for the missing details on the other two parameters.

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 tool's primary action ('Record the user's result on a card and get the next one') and specifies the resource (card) and outcome (next card). It distinguishes itself from sibling tools by focusing on review submission rather than creation, deletion, or listing.

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 provides explicit grading criteria and rating definitions, giving clear instructions on how to grade responses. It also specifies what to do on a miss (state the exact answer) and how to handle the next card. However, it does not explicitly contrast with alternative tools like show_answer or end_session, though the purpose is implicit.

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.