Skip to main content
Glama

branch_list

Read-only

Lists repository branches with sha, default/protected flags and the task key from each name (taskKey); search filters by a name substring. With taskID, only that task's live branches are listed, plus suggestedName - the live branch or the server-convention name for a new one (a task has one live branch). Creates nothing.

Input Schema

NameRequiredDescriptionDefault
searchNoBranch name substring.
taskIDNoOnly this task's live branches, plus suggestedName.
repositoryIDYesRepository ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / taskID / description
      Previous value: -"Only branches with this task's key."New value: +"Only this task's live branches, plus suggestedName."
  8. Added
  9. Removed
  10. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'Creates nothing.' It adds genuinely new context beyond annotations: the domain invariant that a task has one live branch, and that suggestedName is either the live branch or the server-convention name for a new one.

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?

Two dense, front-loaded sentences that lead with the read operation and its returned fields, then param behavior. The parenthetical asides are informative rather than filler, though the second sentence packs several clauses.

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?

With no output schema in the definition, the description carries the return-value burden and does so by enumerating the fields returned plus the conditional suggestedName. Nothing essential to a correct call is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that suggestedName only appears alongside taskID and what that value represents. This goes beyond the schema's one-line parameter descriptions.

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?

States a specific verb (Lists) and resource (repository branches) and names the concrete fields returned: sha, default/protected flags, and taskKey. No sibling tool covers branch enumeration, so the agent can identify this immediately.

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 gives clear conditional guidance: use search to filter by name substring, and pass taskID to scope to a single task's live branches. It does not name an explicit alternative or exclusion case, so it stops short of a 5.

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