Skip to main content
Glama

Extract Alignment Branch

extract_tal_branch

Extracts one regional branch of a hierarchical alignment (by branch_rollup_territory_id or branch_territory_path) into its own Territory Solution, so a delegate can edit just that region. Returns the extract plus branch_metadata, which reintegrate_branch needs later. exclude_locked (default true) leaves locked territories out.

Input Schema

NameRequiredDescriptionDefault
tsNo
tal_idYes
ts_handleNo
delegate_refNo
exclude_lockedNo
map_session_idNo
expected_revisionNo
branch_territory_pathNo
expected_content_hashNo
branch_rollup_territory_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / guidance_handle
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Guidance Handle"
      -}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the tool produces an extract in its own Territory Solution, returns branch_metadata needed by reintegrate_branch, and excludes locked territories by default when exclude_locked is true. It does not describe permission requirements or whether the source alignment is modified, but it adds useful behavioral context and does not contradict the annotations.

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 front-loaded with the core operation and is only three sentences long. Each sentence adds a distinct piece of value: purpose and selection, return metadata and reintegration dependency, and exclude_locked behavior.

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?

The tool has 10 parameters with no schema descriptions, and the description leaves most of them undocumented, including the sole required parameter tal_id. Output-schema existence covers return-value explanation, but for a mutation-like extraction tool the input-side gaps are too large for complete invocation guidance.

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 description coverage is 0% across 10 parameters, so the description must compensate. It explains only the branch-selection identifiers and exclude_locked, while required tal_id and most optional parameters such as delegate_ref, ts_handle, expected_revision, and expected_content_hash remain unexplained.

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 and resource: extracting one regional branch of a hierarchical alignment into its own Territory Solution. It names the two branch-selection identifiers and distinguishes the operation from the related reintegrate_branch sibling, so an agent can identify the tool without opening the schema.

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 gives a clear use case: extract a region so a delegate can edit just that area, with branch_metadata retained for later reintegration. It implies the extract-then-reintegrate workflow, but it does not explicitly compare this tool to alternatives such as territory_split or realign or state when not to use it.

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