Skip to main content
Glama

memory_review_ticket

Review a submitted ticket to approve and close it, or reject it with fix instructions while archiving the attempt and reopening the ticket for retry.

Instructions

Review a submitted ticket. Approve → closed/ or Reject → rejected/.

On approve: moves ticket + submission to closed/ On reject: archives THIS attempt to tickets/rejected/<ticket_id>/attempt-/ (ticket spec marked 'rejected', the submission, and <ticket_id>-rejected.md with the fix instructions), then reopens the canonical ticket + index as 'open'. Each attempt gets its own directory, so a later rejection never overwrites an earlier one.

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": {
      "params": "<params>"
    },
    "name": "memory_review_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.4

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only give generic flags (readOnly=false, destructive=false, idempotent=false); the description supplies the real state machine: file moves, attempt-scoped archive directories, spec marked 'rejected', canonical ticket reopened as 'open'. It even explains why the tool is non-idempotent (each attempt gets its own directory, no overwrite), which reconciles the idempotentHint=false with destructiveHint=false. It omits role/permission requirements and any validation of the ticket's current state.

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-loaded with the outcome and the two branches, and the trailing note about per-attempt directories is non-redundant information. The layout is a bit ragged and 'then reopens the canonical ticket + index as open' plus the parenthetical could be tightened, but nothing is wasted.

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?

An output schema exists, so return values need not be described, and the annotations cover the safety profile. The remaining gap is the guard conditions around invocation (ticket state, reviewer role, what happens if fix_instructions is omitted on reject), which matter for a state-transition tool but are not covered.

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 reads as 0% at the top level (single nested 'params' object), so the description must carry weight. It adds some meaning by tying ticket_id to path construction and indicating that fix instructions are persisted into <ticket_id>-rejected.md, but it never explains verdict, agent_name, review_notes, or allow_self_review semantics, leaving that to the nested 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+resource ('Review a submitted ticket') and immediately enumerates the two outcomes with their destination paths (closed/ vs rejected/), which is far more than a restatement of the name. It is clearly distinct from submit_ticket/claim_ticket/cancel_ticket by the verdict-routing it performs, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

The approve/reject branches make the two modes of use clear and imply this runs after a submission exists, but there is no explicit 'call this when X, not when Y', no prerequisites (ticket must be in submitted state), and no pointer to alternatives such as terminate_ticket or cancel_ticket.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.