Skip to main content
Glama

pr_merge_audit_report

Read-only

Reads a merge-test results file and reports which pull requests merged, conflicted, or failed tests, so agents can verify branch status before requesting review.

Instructions

pr-merge-audit: the findings of a merge-test results file (which PRs merged, conflicted or failed their tests).

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": {
      "results": "<results>"
    },
    "name": "pr_merge_audit_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultsYesResults file written by pr-merge-audit build

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety profile is covered. The description adds useful provenance context (the file is one 'written by pr-merge-audit build'), which tells the agent the input must come from a prior build step. It does not disclose behavior for missing/corrupt files or describe the shape of the findings beyond the three outcome categories.

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

Conciseness3/5

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

It is short and front-loads the domain prefix, but it is a single sentence fragment whose colon structure reads like an identifier prefix rather than a statement of action. Brevity is achieved at the cost of clarity; nothing is wasted but nothing is fully articulated either.

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 one-parameter read-only tool this is nearly adequate: the input provenance and the categories of findings are given. Since there is no output schema, the description carries the burden of explaining return values, and the parenthetical only sketches them; the actual output format and error behavior remain unspecified.

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% and there is only one parameter whose schema text ('Results file written by pr-merge-audit build') is essentially identical to what the description says. No additional semantics such as path format, glob support, or expected file structure are provided, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the domain (pr-merge-audit) and paraphrases the resource as 'the findings of a merge-test results file', with a parenthetical listing what those findings cover (merged, conflicted, failed PRs). However, it is a noun phrase rather than a verb+resource statement, so the agent must infer that this tool reads/parses a results file and returns a report. The parenthetical does enough to distinguish it from siblings like gate or git_overlap, but only barely.

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 when-to-use guidance, no prerequisites stated as conditions, and no mention of any alternative tool. The only implied guidance is the mention of 'a merge-test results file', which a caller might read as a precondition, but nothing states when this should be chosen over gate or git_pairmerge.

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