Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Turn payment route off or on (deprecated name)

set_virtual_account_status
DestructiveIdempotent

Deactivate or reactivate a payment route to stop or resume new deposits; deprecated alias for set_payment_route_status, and Stables-deactivated routes need Stables support.

Instructions

Deprecated: renamed to set_payment_route_status; this name will be removed, call set_payment_route_status instead. Deactivate a payment route so it stops accepting new deposits, or reactivate it. You can reactivate only a route your organization deactivated (deactivation_reason TENANT_REQUEST); a route Stables deactivated can only be reactivated by Stables support. Reactivating may charge the current month's account fee from the prefund balance if it has not been paid.

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>",
      "status": "<status>"
    },
    "name": "set_virtual_account_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes'deactivated' to switch the route off, 'activated' to switch it back on
customerIdYesThe customer ID
virtualAccountIdYesThe 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 payment route (virtual account) ID"New value: +"The payment route ID"
  2. Addedv2.6.13

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description does not contradict them. Beyond that, it discloses two things the annotations cannot: a permission boundary on reactivation and a monetary side effect ('Reactivating may charge the current month's account fee from the prefund balance if it has not been paid'), which is exactly the kind of cost disclosure an agent needs before mutating state.

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?

The deprecation warning is correctly front-loaded, followed by action semantics, then the two constraints (authorization and billing). Every sentence carries information an agent would otherwise have to guess; nothing is redundant.

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 three-parameter mutation with no output schema, the description covers deprecation, effect of each status value, who may reactivate, and the possible fee. That is everything needed to call it correctly and to decide whether to call it at all.

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 the schema already explains each parameter, including both enum values for status. The description's phrasing ('stops accepting new deposits', 'switch it back on') adds only marginal nuance over the schema's own wording, so the baseline of 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 ('Deactivate a payment route so it stops accepting new deposits, or reactivate it') and immediately distinguishes itself from the sibling by naming set_payment_route_status as the replacement. An agent knows both what this does and that it is a deprecated alias.

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?

Explicitly routes the agent away from this tool: 'this name will be removed, call set_payment_route_status instead.' It also gives the condition governing reactivation (only a route deactivated by the organization, i.e. deactivation_reason TENANT_REQUEST, can be reactivated; Stables-deactivated routes require support).

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