Skip to main content
Glama

Merge accounts

merge_consumer_accounts
DestructiveIdempotent

Staff only. Combines one or more Widely accounts of the same person into one: SIMs, numbers, ported number history, extensions, conversations, contacts, payments, wallet balance and credit, verified emails and numbers as logins and caller IDs, and live sessions so signed-in devices keep working without a re-login. The surviving default caller ID stays the default. Pass source_consumer_user_id, or source_consumer_user_ids for several sources, plus target_consumer_user_id. Several sources move in one transaction. Without confirm it returns what would move, conflicts, wallets before and after, and anything that blocks it. With confirm it moves everything and is safe to repeat. Removing the emptied user, consumer and member account is a separate call with hard_delete and confirm, and only after the move was confirmed.

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": {
      "target_consumer_user_id": "<target_consumer_user_id>"
    },
    "name": "merge_consumer_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoRuns it.
hard_deleteNoRemove the emptied records. Needs a confirmed move first.
idempotency_keyNoA repeat with the same key changes nothing.
source_consumer_user_idNoA seat to empty. You can pass several with source_consumer_user_ids.
target_consumer_user_idYesThe seat that survives.
source_consumer_user_idsNoSeats to empty into the target, in one transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real value beyond them: several sources move in one transaction, sessions survive without re-login, the surviving default caller ID stays default, and the call is 'safe to repeat'. The remaining gap is that it doesn't say what authorization or reversal path exists once a destructive merge is confirmed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the audience restriction and the effect, then the required parameters, then the preview/confirm semantics. The long enumeration of moved entities is a single run-on sentence that could be tightened, but nearly every clause carries behavioral information rather than restating the name.

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

Completeness5/5

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

For a destructive, no-output-schema merge tool, the description supplies what an agent needs: what moves, transaction boundaries, preview output contents, idempotency, and how removal of emptied records is deferred. Nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, yet the description adds meaning the terse schema entries lack: it clarifies that omitting confirm is a dry run returning what would move, conflicts, and wallet before/after, and that an idempotency key makes a repeat a no-op. It also disambiguates the single vs plural source parameters and the ordering constraint on hard_delete.

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 (combines/merges) and resource (Widely consumer accounts of the same person), plus a scope qualifier ('Staff only') and an explicit inventory of what moves (SIMs, numbers, contacts, wallets, sessions). An agent can distinguish this from a generic account update or from split_consumer_user 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?

Gives concrete when-to-use framing: pass a single source_consumer_user_id or source_consumer_user_ids plus target_consumer_user_id, and explains the preview-vs-execute split via confirm. It also flags a sequencing rule (hard-delete removal only after a confirmed move). It never names the inverse sibling split_consumer_user, so an agent must infer the round-trip alternative.

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.