Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Simulate payment route deposit (sandbox)

simulate_route_deposit
Destructive

Simulate a sandbox deposit into a payment route to test conversion and payout without real money, covering on-ramp, off-ramp, or swap flows.

Instructions

SANDBOX ONLY. Simulate a deposit into a payment route so you can watch the conversion and payout complete without real money: a fiat deposit for an on-ramp or fiat-to-fiat route, or the route's USDT/USDC arriving on its address for an off-ramp (crypto_to_fiat) or swap (crypto_to_crypto) route. Fails on production.

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>",
      "amount": "<amount>"
    },
    "name": "simulate_route_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesDeposit amount in major units of the route's source currency (e.g. '500.00')
scenarioNo'completed' runs the deposit through to payout, 'failed' exercises the failure path, 'create_only' stops at the deposit. Off-ramp routes take 'completed' only
customerIdYesThe customer ID
senderNameNoName to attribute the deposit to (fiat routes)
senderReferenceNoPayment reference on the deposit; for an off-ramp or swap route, the sending wallet address
virtualAccountIdYesThe payment route ID
externalDepositIdNoYour own reference for this deposit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.6.15
    • changedInput schema / properties / senderReference / description
      Previous value: -"Payment reference on the deposit; for an off-ramp route, the sending wallet address"New value: +"Payment reference on the deposit; for an off-ramp or swap route, the sending wallet address"
    • changedInput schema / properties / virtualAccountId / description
      Previous value: -"The payment route (virtual account) ID"New value: +"The payment route ID"
  2. Changed4 schema fields changedv2.6.13
    • changedInput schema / properties / amount / description
      Previous value: -"Deposit amount in major units (e.g. '500.00')"New value: +"Deposit amount in major units of the route's source currency (e.g. '500.00')"
    • changedInput schema / properties / scenario / description
      Previous value: -"'completed' runs the deposit through to payout, 'failed' exercises the failure path, 'create_only' stops at the deposit"New value: +"'completed' runs the deposit through to payout, 'failed' exercises the failure path, 'create_only' stops at the deposit. Off-ramp routes take 'completed' only"
    • changedInput schema / properties / senderName / description
      Previous value: -"Name to attribute the deposit to"New value: +"Name to attribute the deposit to (fiat routes)"
    • changedInput schema / properties / senderReference / description
      Previous value: -"Payment reference on the deposit"New value: +"Payment reference on the deposit; for an off-ramp route, the sending wallet address"
  3. Changed1 schema field changedv2.6.11
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Addedv2.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare non-readonly, non-idempotent, destructive, closed-world behavior. The description adds important sandbox-only and production-failure context, plus what the simulation lets you observe (conversion and payout completion). It does not detail side effects on route state, cleanup needs, or auth requirements, but goes beyond the 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?

Front-loads 'SANDBOX ONLY' and then a dense but purposeful sentence covering route types and production failure. Every clause earns its place, though splitting the long route-type list could improve readability.

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?

No output schema exists, so the description could explain the return value or side effects of the simulation. It covers sandbox/production constraints and route types, and annotations cover safety, but leaves unclear whether simulation creates persistent sandbox records or what the response looks like.

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 7 parameters are documented in the schema. The description does not add syntax or format details beyond what the schema provides, though it implies scenario behavior through 'watch the conversion and payout complete.' 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 ('Simulate a deposit'), resource ('payment route'), sandbox-only scope, and the route types covered (on-ramp, fiat-to-fiat, off-ramp, swap). An agent can distinguish this from sibling simulate deposit tools by the payment-route context.

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 context: SANDBOX ONLY and fails on production, plus which route categories are supported. It does not name the alternative simulate_balance_deposit/simulate_transfer_deposit tools or explicitly say when to choose this over them, but the intended usage is clear.

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