Skip to main content
Glama

bridge_project_git

Inspect Git branch, status, recent commits, and diff stats for a project directory to review changes before coding or committing.

Instructions

Inspect git branch, status, recent commits, and diff stats for a project directory.

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": {
      "path": "<path>"
    },
    "name": "bridge_project_git"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
log_limitNo
include_diff_statNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations exist, so the description bears the full burden. It does disclose the scope of what is collected (branch, status, commits, diff stats), which implies a read-only inspection, but it never states that it is non-mutating, what happens outside a git repo, or how missing/empty repos, detached HEAD, or large diffs are handled.

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 with no filler; every listed item earns its place as a hint about returned data. It is terse to the point of under-specification, though that cost is captured in other dimensions rather than here.

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

Completeness2/5

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

With no annotations, no output schema, and zero schema description coverage on three parameters, the description is too thin to fully equip an agent: return shape (structured text vs. parsed fields), error behavior on non-git paths, and the meaning of log_limit/include_diff_stat are all unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must carry all parameter meaning, and it only partially does: "project directory" maps loosely to path, "recent commits" hints at log_limit without stating that it is a count or its default of 10, and "diff stats" implies include_diff_stat can be toggled but never says so. Defaults and value semantics are left to the schema, which provides no descriptions.

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 ("Inspect") with an enumerated set of resources (branch, status, recent commits, diff stats) scoped to "a project directory", so an agent knows exactly what it retrieves. It does not differentiate itself from any sibling, but no sibling in the list plausibly overlaps with git inspection.

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 (e.g. the target must be a git repository), and no mention of alternatives such as reading files directly. Usage is only inferable from the name and the word "Inspect".

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