Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Change payment route destination

update_route_destination
DestructiveIdempotent

Change the payout wallet on an existing payment route to redirect future deposits to a new address when a customer rotates wallets.

Instructions

Change the payout wallet on an existing payment route. Deposits after this point are paid out to the new address; use it when a customer rotates wallets rather than creating a second route.

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": {
      "customerId": "<customerId>",
      "virtualAccountId": "<virtualAccountId>",
      "destinationAddress": "<destinationAddress>",
      "destinationPaymentRail": "<destinationPaymentRail>"
    },
    "name": "update_route_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerIdYesThe customer ID
virtualAccountIdYesThe payment route ID
destinationAddressYesNew payout wallet address
destinationCurrencyNoStablecoin to receiveusdt
destinationPaymentRailYesBlockchain network the new address belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.6.15
    • changedInput schema / properties / virtualAccountId / description
      Previous value: -"The payment route (virtual account) ID"New value: +"The payment route ID"
  2. Changed1 schema field changedv2.6.11
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Addedv2.4.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag destructive=true, idempotent=true and openWorld=true; the description adds the genuinely useful timing fact that only deposits after this point go to the new address. However, it does not say whether the old destination is overwritten or retained, whether the change is reversible, or what happens to in-flight payouts — the very things destructiveHint raises. That leaves meaningful behavioral gaps despite rich annotations.

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?

Two tight sentences with the mutation stated first and the payout-timing consequence immediately after. Nothing is padded, though the phrase "Deposits after this point" could have been sharpened with a note on in-flight deposits.

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?

For a five-parameter mutation with full schema coverage, no output schema, and safety annotations, the description covers purpose, effect timing, and the alternative to avoid. It omits what happens to the previous destination and any permission or irreversibility notes, which is the main remaining gap.

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 description coverage is 100% and two parameters are enums, so the schema fully documents customerId, virtualAccountId, destinationAddress, destinationCurrency and destinationPaymentRail. The description only alludes to a "new address" and adds no format, validation, or currency/rail-matching guidance beyond the schema, 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 and resource: "Change the payout wallet on an existing payment route." That is more precise than the ambiguous sibling name update_payment_route, but the description never explicitly contrasts itself with that sibling, which sounds like it could touch the same resource.

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?

Provides a clear when-to-use condition ("when a customer rotates wallets") and an implicit when-not ("rather than creating a second route"), which steers the agent away from create_payment_route. No explicit alternative tool name or prerequisites are given, so it stops short of a 5.

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