Skip to main content
Glama

save_branch_context

Record a summary of the active Git branch's current state, decisions, and progress to preserve branch-aware context for future sessions.

Instructions

Saves a summary of the current development context for the active Git branch. Use it when the user asks to remember or record the state, decisions, or progress of the branch being worked on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
summaryYesSummary of the current development context to save for this branch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It clearly indicates this is a write operation (saves) and implies persistence of the summary. However, it does not disclose details like whether it overwrites existing context, how it interacts with get_branch_context, or any side effects. The description is adequate but not rich in behavioral detail.

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 two sentences, front-loads the core action, and provides a clear usage trigger. Every sentence earns its place with no redundancy.

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 simple tool with one fully documented parameter and no output schema, the description is largely complete. It could benefit from noting that it relates to the active branch and that get_branch_context is the retrieval counterpart, but the core information an agent needs to call it correctly is present.

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 schema already fully documents the single 'summary' parameter. The description adds context by explaining the summary is for the current development context, but it doesn't add significant meaning beyond the schema. 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 clearly states the tool's function: saving a summary of the current development context for the active Git branch. It uses a specific verb ('saves') and resource ('summary of the current development context for the active Git branch'), and it distinguishes itself from the sibling tool get_branch_context by focusing on the write operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use it: 'when the user asks to remember or record the state, decisions, or progress of the branch being worked on.' It does not explicitly mention when not to use it or name the sibling get_branch_context as the alternative for retrieval, but the context is clear enough for an agent to select it appropriately.

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

Deploy Server

Other Tools