Skip to main content
Glama

briefcheck_verify_report

Verifies a 4-column acceptance-criteria Markdown table for valid structure, canonical judgments, exact diff citations, and optional test-log commit alignment to catch inconsistent review reports.

Instructions

Deterministically verify a 4-column BriefCheck acceptance-criteria Markdown table (structure, canonical English/Chinese judgments, exact base/new diff hunk citations, and optional test-log commit alignment).

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": {
      "report_text": "<report_text>"
    },
    "name": "briefcheck_verify_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
prNoGitHub PR reference (`owner/repo#123` or full PR URL).
diffNoRaw unified diff text.
stagedNoWhen true, read staged git changes (`git diff --cached`).
fail_onNoOptional CI judgment gate policy (default: `none`).
git_baseNoLocal git base ref (e.g. `origin/main`) to diff against `git_head`.
git_headNoLocal git head ref when using `git_base` (defaults to `HEAD`).
repo_dirNoOptional local repository path for `git_base` or `staged`.
revisionNoOptional reviewed commit SHA override.
test_logNoOptional test log text to check revision alignment.
report_textYesMarkdown report containing a 4-column BriefCheck review table.
strict_warningsNoFail when any warning is emitted.
strict_log_revisionNoTreat mismatched test-log revisions as errors instead of warnings.
allow_external_filesNoDowngrade citations to files absent from the diff from error to warning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden, but "Deterministically verify" usefully signals a read-only, non-mutating operation with reproducible results. It does not disclose that the tool reads git refs/staged changes or a local repo, nor how errors versus warnings surface (only implied by strict_* params).

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?

One sentence, front-loaded with the verb and resource, then a compact parenthetical enumerating the checks. Every clause carries content; the only cost is density that leaves nothing for usage or output explanation.

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 13-parameter tool with no annotations and no output schema, the description should at least sketch the verification result (judgments, exit/gate behavior under fail_on). It covers what is verified but leaves result reporting and source-resolution behavior to the schema alone.

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 coverage is 100%, so all 13 parameters are already documented in the schema; baseline is 3. The description adds only "optional test-log commit alignment" as extra meaning over the test_log parameter and nothing about how pr/diff/git_base sources interact.

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 uses a specific verb ("verify") and a precise resource (a 4-column BriefCheck acceptance-criteria Markdown table), then enumerates the four things checked: structure, canonical English/Chinese judgments, base/new diff hunk citations, and test-log commit alignment. It is clearly distinguishable from annotate/pack siblings, though it doesn't explicitly name them.

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 explicit guidance on when to use this tool versus briefcheck_check_citations or briefcheck_pack_review, nor when-not-to-use. CI usage is only hinted via the word "Deterministically" and the schema's fail_on parameter, not stated in the description itself.

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