Skip to main content
Glama

unmerge_global

Reverts a global namespace merge so commands from that directory must include the namespace word again, updating the user's global CLI configuration.

Instructions

Unmerge a namespace so its commands need the namespace word again (same as fire cli global unmerge). Changes the user's global setup: use only when the user asks for it, never on your own initiative.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "namespace": "<namespace>"
    },
    "name": "unmerge_global"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYesNamespace of a registered directory (as shown by `list_global`).

Output Schema

NameRequiredDescriptionDefault
okYes
pathNoAffected directory (absolute).
errorNo
mergedNo
prunedNoDirectories `prune_global` unregistered.
removedNo
has_configNo`false` when the registered directory has no fire config files yet.
registeredNo
already_mergedNo
already_registeredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description discloses the key behavioral fact that it mutates the user's global configuration, plus a caution against autonomous use. It does not cover what happens if the namespace isn't merged, whether the change is reversible via merge_global, or what failures look like.

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?

Two short sentences: effect first, then the safety constraint. No filler, and the most decision-relevant warning is not buried.

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?

An output schema exists and there is only one required parameter, so return values and inputs are covered elsewhere. The description supplies purpose and caution; only edge-case behavior for incorrect or already-unmerged namespaces is absent, which is minor for a config toggle.

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 the single `namespace` parameter is already documented as coming from `list_global`. The description adds only the implicit constraint that it must be a currently-merged namespace, so it does not meaningfully exceed the 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?

States a specific verb ('Unmerge') and resource ('a namespace'), then explains the observable effect: commands will need the namespace word again. The `fire cli global unmerge` equivalence pins down semantics precisely and implicitly contrasts with merge_global.

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?

Gives an explicit usage constraint: 'use only when the user asks for it, never on your own initiative.' That is a clear when-to-use rule, though it does not name merge_global as the inverse operation or state prerequisites (e.g., namespace must currently be merged).

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