Skip to main content
Glama

branch_think

Append a thought to the active reasoning branch and pass sessionId or taskId to scope branching to a specific task.

Instructions

Append a thought to the current branch. Pass sessionId/taskId for task-scoped branching.

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

Input Schema

NameRequiredDescriptionDefault
taskIdNo
thoughtNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. "Append" implies a mutation, but it says nothing about what happens when no current branch exists, whether it auto-creates or errors, whether appends are ordered or reversible, or what the call returns. Only the scoping behavior is hinted at, and even that is left vague.

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 short sentences with the operation front-loaded and the scoping hint second; nothing is padded. The second sentence is compressed to the point of near-crypticness, but the structure itself is efficient.

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?

A three-parameter tool with 0% schema coverage, no annotations, and no output schema needs considerably more description than this supplies. An agent cannot tell from the definition what a 'branch' is, what happens without session/task IDs, or what the result looks like.

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?

Schema description coverage is 0% for all three parameters, so the description must compensate and largely does not. It names sessionId and taskId only as a passing hint about "task-scoped branching," and never explains the thought parameter, the relationship between the two IDs, or why all three are optional with zero required fields.

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 gives a specific verb and resource ("Append a thought to the current branch") plus a scoping modifier, so the agent knows the operation is an additive write into an existing branch context. It does not distinguish itself from plausible siblings such as capture_thought or branch_create, leaving a bit of inference work.

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?

The second sentence ("Pass sessionId/taskId for task-scoped branching") is a parameter hint rather than when-to-use guidance. There is no statement of when to choose this over capture_thought or branch_create, nor any prerequisite such as an existing branch being required.

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