Skip to main content
Glama

get_review_packet

Fetch a token-compressed review packet for planner review, including scope guard results, gate test summaries, diff stats, and a bounded git diff to support task inspection.

Instructions

Fetch the token-compressed Review Packet (Scope Guard results, gate test summaries, diff stat, and bounded git diff) for planner review.

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>"
    },
    "name": "get_review_packet"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID to inspect.
maxDiffLinesNoOverride max diff lines returned (default: 300).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully discloses that output is token-compressed and that the diff is bounded, and enumerates what is included, but says nothing about read-only semantics explicitly, failure modes when no packet exists yet, or truncation beyond the maxDiffLines parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with a parenthetical enumeration; every clause (contents, compression, boundedness, audience) contributes information and none is filler.

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?

No output schema exists, so the description must characterize the return value, and it does so by listing the packet's components. The remaining gap is behavioral edge cases (missing/incomplete task, truncation notice), which keeps it from a 5.

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% with documented defaults and bounds for both parameters, so the baseline is 3. The description adds some meaning by framing the diff as 'bounded' and the packet as 'token-compressed', which explains why maxDiffLines exists and what the size limit is protecting against.

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 ('Fetch') and resource ('Review Packet') and enumerates the packet's contents (Scope Guard results, gate test summaries, diff stat, bounded git diff), which clearly differentiates it from siblings like get_task_status or get_telemetry_report. It stops short of naming an alternative tool or stating what it is not, so it lands at 4 rather than 5.

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 phrase 'for planner review' implies the usage context, but there is no explicit when-to-use/when-not guidance, no prerequisites (e.g., whether the task must be in a review state), and no routing to alternatives such as approve_and_merge or request_rework that logically follow a review packet.

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