Skip to main content
Glama

Add or change one branch

save_branch

Add a branch, or change one (give its id); every other branch stays. A new branch is not public until it is made live. Owner only.

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": "save_branch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe branch to change; leave out to add one.
areaNoUp to 80 characters.
kindNoplace (default) or online.
nameNoThe name families use, up to 80 characters.
addressNoUp to 300 characters.
aliasesNoOther names families use for it (e.g. the estate or MRT station).
sort_orderNoIts place in lists.
quotes_feesNofalse: questions about fees here get 'ask the branch'.
gst_registeredNoThis branch charges the business's tax.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, closed-world write. The description adds real behavioral context beyond them: this is a partial update that leaves every other branch untouched, new branches start unpublished, and the caller must be an owner. It does not describe the response, but everything about the effect of the call is disclosed.

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 short clauses, zero filler, with the create-or-update distinction and the effect scope front-loaded. Nothing could be cut without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter mutation tool with no output schema, the definition is missing what comes back — notably whether the new branch's id is returned, which the agent would need for the follow-up make_branch_live call. It also does not say whether name is effectively required when creating, despite required-parameters being empty.

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% and every parameter is documented inline (id create-vs-update, enum for kind, length caps, alias examples). The description only restates the id semantics already in the schema, adding no extra syntax or constraints, so baseline 3 applies.

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?

States a specific verb+resource with upsert semantics: 'Add a branch, or change one (give its id)'. It also scopes the effect ('every other branch stays'), which is the key distinction from bulk siblings like make_branches_live or undo_bulk_edit, though no sibling is named explicitly.

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?

Clear selection rule for the two modes: omit id to add, supply id to change. It also flags the prerequisite ('Owner only') and the post-condition that a new branch is not public until made live, which implicitly routes the agent to make_branch_live. No explicit when-not-use guidance or named alternative beyond that inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources