Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Turn payment route off or on

set_payment_route_status
DestructiveIdempotent

Deactivate a payment route to stop new deposits, or reactivate one your organization turned off; Stables-deactivated routes need support. Reactivation may charge the unpaid current-month fee.

Instructions

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_payment_route_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. Addedv2.6.15

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and non-read-only, and the description adds real value on top: the deposit-acceptance effect, the ownership constraint on reactivation, and the notable billing side effect of charging the current month's account fee from prefund. It does not cover in-flight deposits or what happens to existing ones on deactivation, so it is strong but not exhaustive.

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?

Three sentences, front-loaded with the primary action, then eligibility, then the cost side effect. No filler or restatement of the title.

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 3-parameter status mutation with no output schema, the description covers action, eligibility, and cost. The remaining gap is the response shape and post-deactivation treatment of existing deposits, which is minor for a simple status setter.

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 all three parameters are already documented, including the status enum. The description adds only the operational meaning of 'deactivated' (stops accepting new deposits) and nothing about customerId or virtualAccountId beyond the schema — 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+resource pair ('Deactivate a payment route ... or reactivate it') and immediately scopes the effect ('stops accepting new deposits'). The resource name distinguishes it from set_virtual_account_status, though the description never explicitly contrasts with that sibling.

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?

Gives clear conditions for each direction: deactivate to stop new deposits, reactivate only if the route was deactivated with deactivation_reason TENANT_REQUEST, otherwise Stables support must act. It stops short of naming alternative tools (e.g. set_virtual_account_status for a different object) or stating what to do if the call is rejected.

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