Skip to main content
Glama

Decide a review item

review_decide
Destructive

Applies one verdict to one review_queue item. It applies once the person has asked for the queue to be worked. On a proposal item, reason is required: one plain sentence saying why, passed to the proposal source with the client name. version is required too, copied from the item; the source answers proposal_moved when the proposal changed since it was read, and the queue then needs reading again. On an item marked repairable, apply with content submits corrected text; the source checks it and answers repair_refused with the check's name rather than writing anything, after which a corrected resubmission or dismiss is open. A repair landed only when the answer carries content_written: true. apply without content on an item with held_by goes past that check, and reason then states why the check is wrong for this item. merge on a conflict or stale item takes the exact text the person gave. keep_both records that two rows are both fine. delete removes a row permanently, as memory_forget does. fill_date on an undated item records occurred_at, one of the item's dates: the day the fact is about, never the day it was written down. A verdict on a conflict or stale item changes the person's own facts, and delete cannot be undone; a verdict on a proposal acts on a source's suggestion. In a company workspace, a conflict item that involves a company row takes keep_both here, and delete only on the person's own row; a proposal naming a company row takes dismiss; a stale company row takes confirm alone and an undated company row takes fill_date alone, each only from a holder of approve on its project, who the refusal names. An item whose verdicts list is empty takes nothing from this caller. Any other verdict on a company row needs a maintainer. A member gets withheld_from_you on an item holding a withheld row.

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": {
      "key": "<key>",
      "verdict": "<verdict>"
    },
    "name": "review_decide"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNodelete: which row. Required when the item holds more than one.
keyYesThe key from a review_queue item: conflict:<id>:<id>, stale:<id>, proposal:<origin>:<id> or undated:<id>.
keepNosupersede: the row that survives. Default is the newer row.
tagsNomerge: labels for the merged fact, stored the way memory_write stores them.
reasonNoproposal: required, one sentence, at most 500 characters, shown to the person. delete: recorded on the deletion.
contentNomerge: the text the person gave. apply on a repairable proposal: corrected text, which the source checks before writing and refuses with repair_refused when a check fails.
verdictYesOne of supersede, merge, keep_both, delete, confirm, apply, dismiss, fill_date. verdict_not_for_source refuses a verdict outside the source's set (conflict: supersede, merge, keep_both, delete; stale: confirm, merge, delete; proposal: apply, dismiss; undated: fill_date). The item's verdicts list is narrower, and a verdict inside the source set but missing from that list is not refused by that check: it acts on the rows or the proposal.
versionNoproposal: required, the item's version exactly as review_queue showed it.
occurred_atNomerge: when the merged fact became true, as a full RFC 3339 instant such as 2026-03-01T09:30:00Z; a bare date is refused. When absent, the newest row's own time carries over, if it has one. fill_date: required, one of the item's dates, as 2026-03-01 or a full RFC 3339 instant on that day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the destructive and non-read-only annotations, the description discloses irreversibility of delete, proposal_moved staleness behavior, repair_refused with the failed check name, content_written as the success signal, and company-workspace permission and withholding behavior. This is unusually rich context for a mutation tool.

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?

It is front-loaded with purpose and usage before moving through verdict-specific behavior, and most sentences carry necessary conditions or exceptions. The single dense paragraph is harder to parse than a structured list would be, but there is little outright fluff.

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 complex nine-parameter mutation tool with no output schema, the description covers verdict applicability, source-specific refusals, repair outcomes, company-workspace permissions, and withholding. It gives an agent enough behavioral context to choose a verdict and anticipate key failure modes.

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 already 3, but the description adds meaningful semantics: reason is required on proposal items and passed to the source with the client name, version is copied from the item, content is checked on repairable apply, and apply without content on held_by items uses reason to state why the check is wrong. It does not explain every parameter such as id, keep, or tags beyond 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?

The opening sentence states a specific verb and resource: it applies one verdict to one review_queue item. It is immediately distinguishable from review_queue reads and from memory_forget, which it explicitly references for permanent row deletion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description says the tool applies only once the person has asked for the queue to be worked, then gives detailed when-conditions for proposal, repairable, merge, keep_both, delete, fill_date, conflict, stale, and company-workspace cases. It also explains refusal and permission conditions that determine whether a verdict is available.

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.

Resources