Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Update payment route allowed sender

update_route_whitelist_account
DestructiveIdempotent

Change or disable a whitelisted source account on an AUD payment route by sending its full record: BSB, account number, and enabled status.

Instructions

Change or disable a whitelisted source account on an AUD payment route. Send the full record: BSB, account number and status.

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>",
      "sourceAccountId": "<sourceAccountId>",
      "bsbNumber": "<bsbNumber>",
      "accountNumber": "<accountNumber>",
      "enabled": "<enabled>"
    },
    "name": "update_route_whitelist_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesfalse to stop accepting deposits from it
bsbNumberYesSource account BSB
customerIdYesThe customer ID
accountNumberYesSource account number
sourceAccountIdYesThe whitelist entry ID (from list_route_whitelist)
virtualAccountIdYesThe AUD payment route ID

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value beyond that by stating 'Send the full record: BSB, account number and status', which tells the agent this is a full replace rather than a patch — a behavioral trait the annotations do not convey.

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 sentences, zero filler, with the action and scope front-loaded and the calling instruction second. Nothing could be removed without losing information.

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

Completeness3/5

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

All six parameters are required and the description conveys the full-record requirement, which is the main risk of mis-invocation. It says nothing about what the call returns (no output schema exists) or what happens to existing deposits when the entry is disabled or the account number is changed.

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%, so every parameter is already documented, including the note that sourceAccountId comes from list_route_whitelist. The description's 'BSB, account number and status' list merely echoes a subset of the schema and adds no new syntax or format detail.

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?

The description names a specific verb pair ('Change or disable') and a precise resource ('whitelisted source account on an AUD payment route'), which an agent can distinguish from add_route_whitelist_account. It stops short of explicitly naming the sibling, but the change-vs-add contrast is evident.

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

Usage Guidelines3/5

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

'Change or disable' implies the two usage modes (edit details vs. set enabled=false), and 'Send the full record' hints at replacement semantics. However, there is no explicit guidance on when to use this versus add_route_whitelist_account or list_route_whitelist to look up the entry ID.

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