Skip to main content
Glama

contentrain_merge

Merge a review-mode branch into Contentrain using local git operations. Merges the feature branch into the contentrain branch, updates the base branch via update-ref, and selectively syncs .contentrain/ files to the working tree.

Instructions

Merge a review-mode branch into contentrain. Local git operation — no external platform needed. Merges the feature branch into the contentrain branch, advances the base branch via update-ref, and selectively syncs .contentrain/ files to the working tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchYesBranch name to merge (e.g. cr/normalize/extract/...)
confirmYesMust be true to confirm the merge
Behavior4/5

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

Description reveals behaviors beyond annotations: it advances base branch via update-ref and selectively syncs files. Annotations provide destructiveHint=false and readOnlyHint=false; the description adds concrete operation details without contradiction.

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?

Three concise sentences with key information front-loaded. No wasted words.

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 2-parameter tool with no output schema, the description covers the merge process, local nature, and file sync. Could mention handling of conflicts or branch existence, but is fairly complete.

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 coverage is 100% with descriptions for both parameters. The description adds a branch name example and confirms the confirm parameter must be true, but no new semantics beyond schema.

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?

Description clearly states the tool merges a review-mode branch into contentrain, specifies it's a local git operation, and details the steps (update-ref, selective sync). This distinguishes it from sibling tools like contentrain_apply or contentrain_submit.

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?

No explicit guidance on when to use this tool vs alternatives. It mentions 'local git operation — no external platform needed' but does not compare to siblings like contentrain_apply or provide exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Contentrain/ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server