Skip to main content
Glama
qddfxp

conversation-branch

by qddfxp

cb_export

Export a conversation branch as a self-contained handoff package without altering workspace state, enabling new conversations to test with full context.

Instructions

导出分支交接包(不改工作区状态):生成自带上下文的目录,可交给全新对话测试

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes导出容器目录(必须已存在),cb.py 会在其中新建 <name>-export-<时间戳>/ 交接包
nameYes实验分支名(只能用小写字母、数字、连字符;main 是保留名)
rootYesConversation Branch 工作区根目录

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

The description explicitly discloses that the tool does not change workspace state ('不改工作区状态'), which is valuable behavioral context beyond the annotations. Annotations only say readOnlyHint=false and destructiveHint=false, so the description clarifies the actual side-effect profile: it creates an export directory but leaves the workspace untouched. This is meaningful transparency for an export/write operation.

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

Conciseness5/5

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

The description is a single compact sentence that front-loads the core action and immediately states the most important behavioral constraint. It contains no filler, repeated title information, or redundant restatement of the schema. Every phrase earns its place.

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 tool with full schema coverage and no nested objects or output schema, the description covers the essential context: what is produced, the side-effect constraint, and the intended use case (testing in a new conversation). It could add more about the package's internal structure or post-export steps, but nothing critical is missing for an agent to decide to use it correctly.

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 100%, so the input schema already documents all three parameters (root, name, to) with useful detail such as naming constraints and the required pre-existing container directory. The tool description itself adds little parameter-level meaning beyond noting the generated directory concept, which is already reflected in the 'to' parameter's description. Baseline 3 is appropriate.

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?

The description uses a specific verb-resource pair ('导出分支交接包' / export branch handoff package) and clearly states what is produced: a self-contained directory for a new conversation. It also adds the key distinguishing property '不改工作区状态', which separates it from the mutation-oriented siblings (cb_discard, cb_rollback, cb_promote). No sibling tool appears to offer export functionality, so differentiation from the sibling list is clear.

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 description gives a clear usage context: the package can be handed to a brand-new conversation for testing. However, it does not explicitly state when to prefer this tool over alternatives, nor does it mention any exclusions or prerequisites beyond what the schema already says (e.g., that the container directory must exist). Usage guidance is implied rather than explicit.

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