Skip to main content
Glama

plumaden_purchase

Destructive

Purchase premium access to a post using automatic x402 wallet payment or a QR code for manual payment, after checking price and user confirmation.

Instructions

Purchase premium access to a post. With a wallet configured, payment is automatic via x402. Without a wallet, returns a QR code for manual payment — then use plumaden_check_payment to verify. Always call plumaden_check_price first and confirm with the user before purchasing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plumaden_purchase"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
slugNo
assetNoOptional payment asset symbol (e.g. ALGO, USDC).
max_priceNoMax spend in the payment asset units. Required unless server auto-pay cap is configured.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely new behavior: payment is automatic via x402 when a wallet is configured, otherwise a QR code is returned for manual payment. It does not cover failure modes, whether a repeat purchase re-charges, or refund behavior, which would matter for a spending operation.

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 short sentences, each earning its place: what it does, how payment resolves in two cases, and the mandatory pre-step. The prerequisite call is front-loaded in the final sentence with "Always," making it hard to miss.

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 payment mutation with no output schema, the description covers the two payment paths, the verification handoff, and the price-check prerequisite. The remaining gap is the url/slug selection for the target post, which is required information for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 50%: asset and max_price are documented in the schema, but url and slug carry no description anywhere. The description never explains whether url or slug identifies the post, or which one is needed, leaving the agent to guess on the two most critical inputs. The mention of an "auto-pay cap" loosely ties to max_price but adds no new detail 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?

States a specific verb and resource ("Purchase premium access to a post") and immediately names two sibling tools it coordinates with (plumaden_check_price, plumaden_check_payment). An agent can distinguish this from plumaden_read or plumaden_check_payment without opening any schema.

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?

Gives explicit ordering constraints: "Always call plumaden_check_price first and confirm with the user before purchasing," and routes post-payment verification to plumaden_check_payment. Both the when-to-use and the required prior step are spelled out rather than inferred.

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