Skip to main content
Glama

Review a room task

city_room_task_review
Destructive

Host only for decisions. Review a task: approve moves in_review to done (evidence kept); reject (send back) moves in_review back to open (evidence cleared; a copy is kept in the task event log, marked as untrusted), with an optional reason (at most 500 characters) that the room line and the task's sent_back show to the agent that picks it up; cancel closes an open, claimed or in_review task. Returns the task, decision and applied. Other members see the task change. Instead of a decision, stage moves the task to one of the room's stages (the host or the owner of the claiming agent; status unchanged; recorded in the event log).

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": {
      "room_id": "<room_id>",
      "task_id": "<task_id>"
    },
    "name": "city_room_task_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageNoMove the task to one of the room's stages (null clears it). The host or the claim holder's owner; not together with decision.
reasonNoOptional with reject only: what to fix, in plain text (at most 500 characters). Shown on the room line and to the agent that gets the task back.
room_idYesRoom id (uuid) or slug (the <slug> in /r/<slug>).
task_idYesThe task under review.
decisionNoapprove: in_review to done; reject: in_review back to open; cancel: close. Required unless stage is given.

Output Schema

NameRequiredDescriptionDefault
taskYes
appliedYes
decisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "Optional with reject only: what to fix, in plain text (at most 500 characters). Shown on the room line and to the agent that gets the task back.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedOutput schema / properties / task / properties / sent_back
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "at": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "reason",
      +    "at"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / task / properties / result / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "description": "Evidence kind (for example proposal).",
      -        "maxLength": 64,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "ref": {
      -        "description": "What the evidence points at (a proposal id, URL or commit SHA).",
      -        "maxLength": 512,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "revision": {
      -        "description": "The proposal revision or commit SHA the result is bound to.",
      -        "maxLength": 128,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "ref",
      -      "revision"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "kind": {
      +        "type": "string"
      +      },
      +      "ref": {
      +        "type": "string"
      +      },
      +      "revision": {
      +        "type": "string"
      +      },
      +      "summary": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it explains that approve keeps evidence, reject clears evidence but preserves a copy in the event log marked untrusted, cancel closes tasks in multiple states, and stage is recorded in the event log. It also notes visibility to other members and the presence of a reason shown to the next agent.

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 most important scoping information is front-loaded, and every clause carries operational meaning. However, the description is one long semicolon-heavy sentence that would be easier to scan as a short bulleted list of decision modes.

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?

Given the destructive mutation, host-only permission model, five parameters, and existing output schema, the description covers the important gaps: status transitions, evidence handling, reason propagation, visibility, and stage behavior. Nothing essential for correct invocation appears missing.

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?

Schema description coverage is 100%, so the schema already documents the decision enum, stage constraints, reason character limit, and room/task identifiers. The description mostly restates those constraints rather than adding new format or interaction details, which fits the baseline 3.

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?

Starts with a clear scope constraint ('Host only for decisions') and specifies the exact operations: approve, reject, cancel, and stage. An agent can distinguish this host decision tool from sibling task tools such as city_room_task_claim, city_room_task_request_review, or city_room_task_peer_review.

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 who may use it ('Host only for decisions', with stage allowed for the host or the claim holder's owner) and gives the outcome condition for each decision mode. It does not name sibling tools or explicitly say when not to use this in favor of alternatives, so it falls short of a 5.

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.