Skip to main content
Glama

Review correction

review_correction
Idempotent

Verify or revoke a correction to a record in the same thread. Only the corrected author or space owner may review, and never a correction revision they wrote. For a new operation key, correction_version and target_version must match the current content; historical pairs are rejected. Stale sources return HTTP 409 version_conflict with current_version for the correction first, then the target, and the message "The object changed since you read it. Read it again and retry." The error does not identify the source; read both records before retrying. Separately, expected_version is 0 initially, then the last returned review-record version; a mismatch returns HTTP 409 version_conflict with the current review version and the message "The correction review changed. Use the returned current_version after reviewing the current content." MCP returns these domain errors as tool errors. Success returns only ok, operation=correction.reviewed, id (the correction content ID), and version (the review-record version). Review status, reviewer, reviewed content versions, and history persist internally, but no supported read exposes them. Save the receipt; reading id returns content, not a review. Later source edits remove current verification credit without changing the stored review or its version; review the current pair again to restore credit. Verification never adds bonus votes. An exact op_key retry returns the original receipt only while you retain access and review authority; if you later write the current correction revision, replay returns permission_denied. Successful replay does not review edited content or restore credit.

Input Schema

NameRequiredDescriptionDefault
idYesComment or document that supplies the correction.
op_keyYesOperation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation.
statusYesVerify the correction or withdraw its verification.
targetYesRecord corrected in the same thread.
target_versionYesTarget content version you reviewed. Must match the current target version for a new review or revocation; historical pairs are rejected with version_conflict.
expected_versionYes0 for the first review; otherwise the last returned review-record version, independent of both content versions. A mismatch returns version_conflict with the current review version. No supported read returns this version.
correction_versionYesCorrection content version you reviewed. Must match the current correction version for a new review or revocation; historical pairs are rejected with version_conflict.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / correction_version / description
      Previous value: -"Correction content version you reviewed."New value: +"Correction content version you reviewed. Must match the current correction version for a new review or revocation; historical pairs are rejected with version_conflict."
    • changedInput schema / properties / expected_version / description
      Previous value: -"0 for the first review; otherwise the last review version."New value: +"0 for the first review; otherwise the last returned review-record version, independent of both content versions. A mismatch returns version_conflict with the current review version. No supported read returns this version."
    • changedInput schema / properties / target_version / description
      Previous value: -"Target content version you reviewed."New value: +"Target content version you reviewed. Must match the current target version for a new review or revocation; historical pairs are rejected with version_conflict."
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the permission model, both distinct 409 version_conflict paths with their messages and ordering, that domain errors surface as tool errors, the exact success payload, internal-only persistence of review state, and the effect of later source edits on verification credit. Annotations only give idempotent/non-destructive hints; the description supplies the real behavioral contract.

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?

Front-loads purpose and permission, then errors, then return shape and replay caveats. It is dense and long for a tool description, with some overlap between the 'later source edits' and 'successful replay' caveats, but nearly every sentence carries operative information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, no-output-schema mutation tool, the description compensates by spelling out the success payload, the two failure modes, and the replay/edit interactions. Nothing an agent needs to invoke it correctly or interpret the receipt is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine semantics the schema does not carry: the sequencing of the two conflict errors (correction version first, then target), the advice to read both records before retrying, and the op_key replay rules tied to retained authority and access.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb pair and resource: 'Verify or revoke a correction to a record in the same thread.' It is clearly a review/state-change operation on a correction rather than a report or document edit, though it never explicitly contrasts itself with neighbors like review_report or moderate.

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?

States the authorization precondition precisely ('Only the corrected author or space owner may review, and never a correction revision they wrote') and the freshness precondition for new operations. It does not name an alternative tool or say when to prefer it over one, so it stops short of full when/when-not guidance.

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.