Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Update payment route (deprecated name)

update_virtual_account
DestructiveIdempotent

Update a payment route's settings, such as deposit handling mode, for a customer's virtual account. Call update_payment_route instead; this deprecated name will be removed.

Instructions

Deprecated: renamed to update_payment_route; this name will be removed, call update_payment_route instead. Update a payment route's settings (e.g., deposit handling mode)

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>",
      "depositHandlingMode": "<depositHandlingMode>"
    },
    "name": "update_virtual_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerIdYesThe customer ID
virtualAccountIdYesThe payment route ID to update
depositHandlingModeYesNew deposit handling mode

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds valuable context the annotations lack: the tool is deprecated and will be removed in favor of update_payment_route, which affects tool selection. It stops short of explaining the real consequences of changing a deposit handling mode (e.g., in-flight deposit treatment).

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?

The deprecation warning is front-loaded, which is the right priority for an agent scanning tools. Slight redundancy between 'renamed to update_payment_route' and 'call update_payment_route instead', but the total length is minimal and every clause is actionable.

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 three-parameter mutation tool with full annotation and schema coverage, the description covers the essential missing piece: migration status and replacement target. It omits a removal timeline and the effects of each depositHandlingMode value, which keeps it from being fully complete.

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%, so all three parameters, including the depositHandlingMode enum, are already documented in the schema. The description's mention of 'deposit handling mode' merely echoes that field and adds no new syntax, constraints, or coupled-parameter rules; baseline 3 applies.

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 ('Update a payment route's settings') and immediately flags its status as a deprecated alias of update_payment_route. An agent can tell exactly what this tool does and which sibling supersedes it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit negative guidance ('this name will be removed, call update_payment_route instead') naming the exact alternative. The only gap is that it does not say whether legacy callers must migrate immediately, but the routing intent is unambiguous.

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