Skip to main content
Glama

branch_tag

Tag thoughts as hypotheses, decisions, or risks to organize reasoning branches; pass sessionId or taskId to scope tags to a specific task.

Instructions

Tag a thought (e.g. hypothesis, decision, risk). 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_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNo
taskIdNo
sessionIdNo
thoughtNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and mostly doesn't. It doesn't say whether tagging mutates an existing thought, whether it creates one, what happens if the thought or session doesn't exist, or whether tagging is idempotent or reversible. Only the scoping hint ('task-scoped branching') adds real context.

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, front-loaded sentences with no filler; the core action comes first and the scoping note second. The terseness is efficient rather than padded, though the second sentence packs two distinct concepts into one clause.

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?

For a four-parameter mutation-style tool with no annotations and no output schema, the description is far too thin. It neither compensates for the undocumented schema nor explains the effect of tagging or what an agent should expect back.

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% across four parameters, so the description must compensate and largely fails. It names sessionId and taskId and implies their scoping effect, but never explains 'add' (presumably the tag payload) or 'thoughtNumber', leaving half the parameters entirely undefined.

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 ('Tag a thought') and clarifies intent with examples of tag kinds (hypothesis, decision, risk). It does not distinguish itself from near-siblings like branch_think or capture_thought, which also operate on thoughts, so an agent must infer the split.

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?

Usage is only implied: the tag examples suggest the labeling use case, and the second sentence hints at task-scoped usage via sessionId/taskId. There is no explicit when-to-use, when-not, or named alternative despite a crowded sibling set around branching and thought capture.

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