Skip to main content
Glama
TravisLinkey

Provision Stack MCP

by TravisLinkey

billing.top_up

Initiate a credit top-up for your account when deployment fails due to insufficient balance. Choose xrp for agent-led payment or stripe for human checkout.

Instructions

Create a credit top-up intent for the account (does not immediately increase balance). Call when deploy.run fails with HTTP 402 or billing.balance shows availableUsd below the required hold; choose rail=xrp (agent pays on-ledger with REQUIRED destination tag + exact amount) or rail=stripe (human Checkout URL). Do not call to inspect balance — use billing.balance. After funds confirm, retry the failed deploy.run. Side effects: opens a payment/deposit flow (open world); not idempotent — each call creates a new top-up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
railNoPayment rail: xrp (agent-native) or stripe (human)xrp
amountUsdYesAmount to add, in USD (e.g. 20)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoNo
topupIdYes
amountUsdNo
amountXrpNo
expiresAtNo
creditedOnNo
checkoutUrlNo
rateUsdPerXrpNo
depositAddressNo
destinationTagNo
Behavior5/5

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

Discloses side effects ('opens a payment/deposit flow'), non-idempotency ('each call creates a new top-up'), and explains that balance is not immediately increased. Annotations already hint at open world and non-idempotent, but description adds concrete behavioral details.

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 cover purpose, usage, and side effects without redundancy. Information is front-loaded and every sentence serves a distinct purpose. No unnecessary words.

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?

Given the explicit usage guidelines, behavioral transparency, and presence of an output schema, the description fully prepares an AI agent to select and invoke the tool correctly. Covers when, how, and what happens, including side effects and retry logic.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both parameters. The description adds meaning by explaining the rail choices: xrp for agent with destination tag requirements, stripe for human checkout. This augments the parameter descriptions beyond the schema.

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?

The description clearly states the action ('Create a credit top-up intent') and the resource (account balance). It distinguishes from sibling tools like billing.balance (for inspection) and deploy.run (for deployment), specifying that this tool does not immediately increase balance.

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 states when to call (deploy.run failure with 402 or low balance in billing.balance) and when not to call (for balance inspection, use billing.balance). Provides precise guidance on rail selection and post-call steps (retry deploy.run after funds confirm).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TravisLinkey/provision-stack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server