Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounts_remove-networks

Remove specified networks from all org accounts immediately; if accounts hold tokens on a removed network, require explicit confirmation before proceeding.

Instructions

Remove networks from every account in the org. Takes effect right away and needs no signature; nothing happens onchain. When the org's accounts hold tokens on a removed network, it is refused unless --confirm-funds-on-removed-networks is passed. Those tokens stay at the same addresses but are inaccessible in Splits until the network is added again with 'accounts add-networks'. Use 'accounts networks' for the networks enabled now. Returns 400 SMART_ACCOUNT_MERKLE_TRANSACTION_IN_PROGRESS while a signer or network change is pending. Requires owner-scoped API key.

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": {
      "chainIds": "<chainIds>"
    },
    "name": "accounts_remove-networks"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainIdsYesComma-separated chain ids to remove (e.g. '10,42161')
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.
confirmFundsOnRemovedNetworksNoRemove networks even where the org's accounts hold tokens. Confirm with the user first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: immediate effect, no signature, offchain only, refusal when tokens exist on removed networks unless the confirm flag is passed, consequences for those tokens (same addresses, inaccessible in Splits until re-added), a 400 error code for pending signer/network changes, and an owner-scoped API key requirement. This covers safety, reversibility, failure modes, and auth.

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 verb and scope, then side effects, guard condition, recovery path, and error/auth notes. Dense but every sentence carries information; slightly packed with parenthetical detail.

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?

A destructive, org-wide mutation with no annotations and no output schema. The description supplies the safety profile, fund-handling nuance, error condition, and auth requirement an agent needs to invoke it correctly and warn the user about inaccessible tokens.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description still adds meaning by explaining what the confirm flag gates and what happens to funds on removed networks – context the schema's 'Confirm with the user first' does not convey.

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 and resource with scope: 'Remove networks from every account in the org.' That scope distinguishes it from a per-account operation and from 'accounts add-networks' and 'accounts networks', both of which are named.

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?

Points to 'accounts networks' for inspecting currently enabled networks and to 'accounts add-networks' as the way to undo the change, so the agent can route correctly. It does not spell out a when-not-to-use rule, but the org-wide blast radius and the fund-confirmation gate imply the caution.

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