Skip to main content
Glama

create_pull_payment

Create pull payments for donations, subscriptions, or payroll by setting amount, currency, and auto-approval options to generate payment links.

Instructions

Create a new pull payment for donations, subscriptions, or payroll.

Args: name: Name/label for the pull payment. amount: Payment amount as a string (e.g., '0.01'). currency: Currency code (e.g., 'BTC', 'USD'). Default: 'BTC'. description: Optional description. auto_approve: Auto-approve claims without manual review. Default: False. expires_at: Optional expiration (ISO 8601, e.g., '2026-04-01T00:00:00Z').

Returns the pull payment ID, payment link, and configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
amountYes
currencyNoBTC
descriptionNo
auto_approveNo
expires_atNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It successfully explains the auto_approve mechanism ('without manual review'), return values ('pull payment ID, payment link, and configuration'), and date formatting. However, it omits other critical behavioral traits like idempotency, error conditions, or side effects.

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?

The description uses a clear docstring format (Args/Returns) that organizes information efficiently. Despite documenting 6 parameters, there is no extraneous text—every line serves to document inputs or outputs. The structure is slightly formal but highly readable.

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 creation tool with 6 parameters, zero schema coverage, and no annotations, the description provides comprehensive input documentation and summarizes the output. It appropriately leverages the existence of an output schema (per context signals) by only summarizing return values rather than detailing them, while focusing descriptive effort on the poorly-documented inputs.

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

Parameters5/5

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

Given 0% schema description coverage, the description fully compensates by comprehensively documenting all 6 parameters. It provides data types, examples (e.g., '0.01' for amount, 'BTC'/'USD' for currency, ISO 8601 format for expires_at), default values, and semantic meaning for each parameter, including the business logic of auto_approve.

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 clearly states the action ('Create') and resource ('pull payment') and specifies concrete use cases (donations, subscriptions, payroll) that help distinguish it from sibling tools like create_invoice or create_payment_request. However, it does not explicitly contrast with these siblings to clarify when to choose one over the other.

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?

The description implies usage through specific examples (donations, subscriptions, payroll), giving the agent context on when this tool is appropriate. However, it lacks explicit 'when-not-to-use' guidance or references to alternative tools for different payment flows.

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/ThomsenDrake/btcpay-mcp'

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