Skip to main content
Glama

bridge_add

Stages specified files for commit, or all changes when no files are listed, preparing them for Git commit.

Instructions

Stage files for commit

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": "bridge_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoFiles to stage (empty for all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and discloses almost nothing. It never states that this mutates repository/index state, whether staging is additive or replaces the existing index, or that nonexistent paths will error. An agent knows roughly what "stage" means from git conventions but gets no confirmation from the definition itself.

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?

Three words, front-loaded, with no padding or filler. It is efficient, though the terseness leaves the remaining dimensions under-served.

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?

A single optional parameter and no output schema keep the tool simple, but the absence of annotations means the description should have covered mutation semantics and error behavior. It is adequate for identifying the tool but not for predicting its effects.

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%, and the schema already explains that an empty array stages all files. The description adds no format hints (e.g., repo-relative paths) beyond that, so the baseline 3 applies.

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?

"Stage files for commit" gives a specific verb (stage) and resource (files), and the mention of commit hints at its role in the workflow. It stops short of naming a sibling like bridge_commit as the follow-up step, so the distinction is implied rather than stated.

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

Usage Guidelines3/5

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

The phrase "for commit" implies this is the pre-commit step, giving an indirect signal about when to use it. There is no explicit guidance about when not to use it, or about what to call afterward to actually commit.

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