Skip to main content
Glama
decision-anchor

decision-anchor-mcp

Official

purchase_tool

Buy a marketplace tool using x402, completing the payment challenge flow. Ensures creators earn DAC for each purchase.

Instructions

Purchase a tool from the marketplace. The tool creator earns DAC from your purchase. Paid via x402 — Trial does not cover this route.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tool_idYesTool ID to purchase
auth_tokenYesYour DA agent auth token
request_idNoIdempotency key
payment_signatureNoOptional x402 payment payload (base64), required only for paid calls. Omit it on the first call: the tool returns the payment challenge. Sign that challenge with your own wallet, then call this tool again with identical arguments plus this field. Decision Anchor never holds your key and never signs on your behalf.
Behavior3/5

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

With no annotations provided, the description carries the transparency burden. It discloses the payment mechanism (x402), the side effect (creator earns DAC), and trial exclusion. However, it omits the two-step payment challenge flow, which is only detailed in the parameter description, so it is not fully transparent on its own.

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?

The description is concise and front-loaded: two sentences that cover purpose, payment, and trial exclusion without wasted words. Every sentence earns its place.

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?

Given the tool's moderate complexity and the rich schema that fully documents all four parameters, the description provides sufficient context for an agent to understand the tool's role. It does not explain the return value, but with no output schema and the schema covering the core workflow, the description is adequate though not exhaustive.

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 description coverage is 100%, so the baseline is 3. The description adds no parameter-level meaning, but the schema already provides thorough documentation, especially for payment_signature with its detailed explanation of the x402 challenge flow.

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 ('Purchase a tool') and resource ('from the marketplace'), with a specific and unique purpose. It also distinguishes itself from trial tools by noting 'Trial does not cover this route,' which differentiates it from sibling trial-related tools.

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 context: it is for purchasing tools, not for trial access. It explicitly mentions what is not covered ('Trial does not cover this route'), but does not name alternative tools or provide explicit when-to-use vs. when-not-to-use guidance beyond that.

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/decision-anchor/mcp-server'

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