Skip to main content
Glama

mt_branch

Create a project-specific memory branch to separate exploratory work from the persistent mainline, keeping project memory organized as work evolves.

Instructions

为项目创建一条记忆支线

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": {
      "project": "<project>"
    },
    "name": "mt_branch"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
projectYes显式项目名,使用 mt_set_project 初始化

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false, so the description carries the burden of explaining behavior and does not: it says nothing about what state is captured at branch time, whether the branch is isolated from the parent, whether it can later be merged back, or what happens if the project is not initialized. For a mutation tool with a single hint annotation, that is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with zero padding, but the brevity comes at the cost of under-specification rather than efficiency; nothing is front-loaded because there is nothing else to front-load.

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 mutating, project-scoped tool with no output schema, a one-line description plus a partial schema is not enough — the agent cannot tell what is returned (branch identifier? handle for later merge?), whether duplicate branches are allowed, or how this fits into the mt_* workflow.

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 coverage is 50%: the project parameter is documented (explicit project name, initialize with mt_set_project) but title has no description anywhere. The description adds no meaning to either parameter — it does not say whether title is optional, what it defaults to, or whether branch names must be unique — so it fails to compensate for the uncovered half.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("创建一条记忆支线" — create a memory branch) and scopes it to a project, so the basic action is identifiable. However, it never explains what a "memory branch" is or how it differs from sibling operations such as mt_merge or mt_list_branches, leaving the agent to infer the concept from the name alone.

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?

There is no guidance on when to create a branch versus when to use mt_checkpoint, mt_merge, or mt_list_branches, and no mention of prerequisites or follow-up steps. The only routing hint in the definition appears inside the schema for the project parameter (use mt_set_project), not in the description itself.

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