Skip to main content
Glama

briefcheck_pack_review

Assemble an issue, unified diff, and optional test log from local inputs or a GitHub PR into a prompt-injection-framed review bundle with an optional base | new annotated line map.

Instructions

Assemble an issue, unified diff, and optional test log from local inputs or a GitHub PR (with auto-discovered linked issues) into a prompt-injection-framed review bundle with optional base | new annotated line map.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "briefcheck_pack_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNoGitHub PR reference (`owner/repo#123` or URL).
diffNoRaw unified diff text when packing locally.
annotateNoAppend an explicit `base | new` annotated diff map (default: true).
git_baseNoLocal git base ref when packing locally.
git_headNoLocal git head ref (default: `HEAD`).
repo_dirNoOptional local repository path for `git_base`.
test_logNoOptional test log text to include.
issue_textNoIssue Markdown text (required when not using `pr`, or overrides GitHub issue).
issue_numberNoExplicit GitHub issue number when using `pr`.
include_skillNoPrepend BriefCheck review instructions (default: false).
include_checksNoInclude head-commit Check Runs summary when fetching from GitHub.
include_commentsNoInclude issue comments when fetching from GitHub.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it leaves key behavior unstated: that this is a read-only assembly operation, what credentials/network access the GitHub PR path requires, and what the returned bundle actually looks like (string? file path? structured object?). It does disclose useful traits — auto-discovered linked issues, prompt-injection framing, and opt-in Check Runs/comments — but omits failure behavior when neither `pr` nor `issue_text` is supplied.

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?

A single front-loaded sentence that covers inputs, sources, and output framing without filler. It is dense but readable; a small structural improvement would be splitting the source-selection clause from the output-shape clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter tool with no annotations and no output schema, the description covers the input modes and major toggles but omits the output shape and the constraint governing mutually exclusive input paths. It is adequate to attempt a call, not adequate to predict the result.

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 every one of the 12 parameters is already documented in the schema; the description only echoes a few of them (`annotate`'s line map, auto-discovered issues, optional test log). That is the expected baseline, not added meaning — no interaction rules between `pr`, `issue_text`, and `issue_number` are clarified.

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?

The description names a specific verb ("Assemble") plus the exact resources (issue, unified diff, optional test log) and the produced artifact ("prompt-injection-framed review bundle"), so an agent knows precisely what comes out. It falls short of a 5 because it never addresses its closest sibling, briefcheck_annotate_diff, even though this tool also produces an annotated `base | new` line map via `annotate` — the overlap is left ambiguous.

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

Usage Guidelines2/5

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

There is no statement of when to choose this tool over briefcheck_annotate_diff, briefcheck_check_citations, or briefcheck_verify_report. The only routing information is intra-tool (local packing vs. GitHub PR), which is parameter guidance rather than tool-selection guidance.

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