Skip to main content
Glama

Review Task from the Card

review_task

Called by the Weft "My work" card when the user presses Accept or Send back on work waiting for their review. Not for the model: to relay a verdict the user gave in conversation, use record_decision. Records the verdict as made from the card (via 'app'). A call without the card's token counts no more than a relayed verdict: work flagged for the user's own eyes keeps waiting until they accept it in the Weft app.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "taskId": "<taskId>",
      "decision": "<decision>"
    },
    "name": "review_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhy it goes back, in the user's words — required for rework
taskIdYesThe task waiting for review
decisionYes'accepted' the work stands; 'rework' send it back
cardTokenNoThe card's token from get_my_work's result _meta

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description's added value is the token-gating behavior: without the card token the call is a no-op and the work keeps waiting until accepted in the app. That is a genuinely useful behavioral trait beyond the annotations. It does not describe what the call returns or what state changes follow accept vs rework, which is a minor gap.

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?

Three tight sentences that front-load the calling context and then layer the alternative and the token constraint. Every sentence carries information, though phrasing like 'counts no more than a relayed verdict' takes effort to parse and could be stated more plainly.

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?

For a four-parameter mutating tool with annotations and no output schema, the description covers purpose, the alternative, and the token requirement. It leaves return values and the resulting task state implicit, but with no output schema those are the only notable omissions.

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 description coverage is 100%, so the baseline is 3. The description goes beyond it by clarifying that cardToken is practically required for the call to have effect, even though only taskId and decision are schema-required — a distinction an agent would otherwise miss. The 'note required for rework' condition is already in the schema.

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?

States a specific verb and resource — records a review verdict for a task — and explicitly scopes it to the Weft 'My work' card's Accept/Send back action. It also names the sibling it is not (record_decision), so an agent can separate the two. The card-centric framing makes the opener slightly indirect for an agent, but the action is unambiguous.

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 states when not to use it ('Not for the model') and names the alternative (record_decision) for relaying a verdict from conversation. It also warns that a call without the card's token counts no more than a relayed verdict, which tells the agent the token is effectively mandatory. It stops short of a direct 'use this only when you hold a card token' directive, leaving that inference to the reader.

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.