Skip to main content
Glama

cfg_pr_show

Show a pull request's base/head branches, status, and touched config records to review scope, then use branch diff for field-level changes.

Instructions

Show a cfgit pull request: its base/head branches, status and the records it touches. Use cfg_branch_diff(range="..") for the field-level changes.

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": {
      "id": "<id>"
    },
    "name": "cfg_pr_show"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe pull request id (e.g. pr_abc123).
envNoEnvironment name from .cfg.toml (e.g. dev, prod). Selects the target database.dev
authorNoAuthor attribution hint. Ignored/rejected in authenticated/enforced identity modes where a verified identity is required.
config_fileNoOmit: the server uses the .cfg.toml it started with. A different path is refused unless the server runs with CFGIT_MCP_ALLOW_CONFIG_OVERRIDE=1.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.5

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it implies a read-only inspection and states the visible fields, which is useful. However, it says nothing about authorization requirements, behavior in enforced identity modes, or config-file override refusal — details that exist only in the parameter schema — and no confirmation that calling it mutates nothing.

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?

Two sentences, zero filler, with the primary description of the tool front-loaded before the alternative-tool pointer. Every sentence earns its place.

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 shape need not be explained, and the description states the salient returned information (branches, status, records). It is nearly complete for a simple read tool, missing only behavioral notes about identity/auth constraints that the schema hints at.

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%, including the id, env, author and config_file semantics, so the schema does the heavy lifting. The description adds no meaning about parameters beyond listing what is shown, so the baseline 3 applies.

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

Purpose5/5

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

Specific verb ("Show") plus specific resource ("cfgit pull request") plus an enumeration of what is displayed: base/head branches, status, and touched records. It is clearly distinguishable from cfg_pr_list (listing) and cfg_branch_diff (field-level diff), which it names explicitly.

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

Usage Guidelines4/5

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

It explicitly routes the agent to cfg_branch_diff(range="<base>..<head>") when field-level changes are wanted, which is a concrete alternative and condition. It does not cover when to prefer this over cfg_pr_list or how it relates to cfg_pr_merge/close, so it stops short of full when/when-not coverage.

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