Skip to main content
Glama

Edit a branch

update_branch
Idempotent

Renames a branch and/or changes its time zone (times on the dashboard and the scanner use the branch time zone).

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": {
      "branch_id": "<branch_id>"
    },
    "name": "update_branch"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
branch_idYesFrom list_branches
time_zoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, idempotent write, so safety behavior is covered. The description adds genuine domain context—that the branch time zone drives times on the dashboard and scanner—but says nothing about permissions, name-collision behavior, or what happens to unset fields.

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 the mutable fields first and the domain consequence in a parenthetical. Every clause earns its place; only the slightly ambiguous 'and/or' construction costs it a point.

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?

For a small three-parameter mutation with annotations covering safety and idempotency, the description tells an agent what can change and why time zone matters. The main remaining gap is the expected time_zone value format, which neither the schema nor the description supplies.

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 only 33%, with just branch_id documented as coming from list_branches. The description names the two editable fields but gives no format guidance for time_zone (e.g., IANA identifiers), so it only partially compensates for the coverage gap.

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?

States a specific verb and resource plus the two fields it can change ('Renames a branch and/or changes its time zone'), which neatly separates it from create_branch and archive_program. It stops short of naming the sibling tools it complements, so it is clear but not fully differentiated.

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 'and/or' phrasing implies partial updates (either field or both), which is useful usage signal. However, there is no guidance on when to use this versus archive_program for retiring a branch, nor any prerequisite like calling list_branches first.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources