Skip to main content
Glama

Decide a review

task_decide
Destructive

Decide a review addressed to you (task_list reviewer=me): approve, optionally with editedDraft (the text then carried out), or skip, with an optional reason. expectedRevision is the revision you read (required: PRECONDITION_REQUIRED without it); a draft replaced since refuses CONFLICT. A review addressed to anyone else, or your own proposal, refuses REVIEW_NOT_YOURS with details.reviewer; one already decided refuses TASK_NOT_IN_REVIEW. Returns the review receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe task, by its id.
whyNoRequired for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters.
reasonNoSkip only: why not, kept as the cancel reason.
decisionYes
editedDraftNoApprove only: the text to carry out instead of the draft.
expectedRevisionNoThe revision you read (required): a draft replaced since refuses CONFLICT.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructive/non-idempotent annotations: requires expectedRevision as a precondition, explains the optimistic-concurrency behavior (stale revision -> CONFLICT), documents two distinct refusal codes with the field carrying detail (details.reviewer), and notes that editedDraft text is what actually gets carried out.

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?

Dense and front-loaded — purpose, then options, then precondition, then failure modes. Every clause carries information, though the single run-on block makes the error-code clauses slightly harder to scan than a short list would be.

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 decision options, preconditions and refusal paths, and return values are handled by the output schema, so an agent has what it needs to call correctly. The one gap is the workspace-required 'why' parameter, documented only in the schema, which could surprise a caller omitting it.

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 83% so the baseline is already high, but the description adds real semantics: editedDraft only applies to approve and its text is carried out instead, reason is skip-only, and expectedRevision is mandatory despite being optional in the schema-level view. The 'why' parameter is left entirely to 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?

States a specific verb and resource ('Decide a review') plus the scope constraint ('addressed to you, task_list reviewer=me') and enumerates the two decisions. An agent can distinguish it from the task_* siblings (task_cancel, task_complete, task_update) without reading the 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?

Explicitly scopes eligibility to reviews addressed to you and states when the call will fail (someone else's review, your own proposal, already-decided) with the exact error codes. It does not, however, route the agent away from near siblings such as task_complete or task_cancel, so the alternative-selection guidance 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.