Skip to main content
Glama

execute_paid_product

Execute a real x402-protected InstaVeil Instagram data API via MCP. First call without payment returns a free x402 V2 PaymentRequired structuredContent quote (isError=true). After a buyer wallet authorizes the exact Solana USDC payment, retry tools/call with the same arguments and params._meta['x402/payment'] containing its signed PaymentPayload (or payment_signature for clients without x402-over-MCP support). Verified data and payment settlement receipt follow as structuredContent and _meta['x402/payment-response']. No keys, automatic charges or simulated sales.

Input Schema

NameRequiredDescriptionDefault
languageNo
questionNo
usernameNo
usernamesNo
product_idYes
payment_signatureNoOptional x402 V2 PAYMENT-SIGNATURE supplied by buyer's authorized Solana USDC wallet; omit to obtain a free 402 quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the first response is an isError=true PaymentRequired quote, that a buyer wallet must authorize an exact Solana USDC amount, where the settlement receipt appears (_meta['x402/payment-response']), and that there are 'no keys, automatic charges or simulated sales.' That is exactly the extra behavioral context annotations cannot carry.

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?

Four dense sentences with the payment flow front-loaded and no filler; the first sentence anchors purpose and the rest walks the transaction lifecycle. Slightly heavy in one block, but every sentence carries information.

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 paid API call with no output schema, it describes where the verified data and settlement receipt are returned, which covers the return contract. The gap is product-level semantics — what each product_id actually yields or requires — which an agent must infer from siblings.

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 only 17% across 6 parameters, so the description must compensate, and it does not explain product_id enum meaning, or the username/usernames/question/language fields. It does add genuine value for the payment mechanism itself (params._meta['x402/payment'] and the retry-with-same-arguments rule), which is why this is not lower.

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 ('Execute a real x402-protected InstaVeil Instagram data API via MCP') and frames the tool as the execution endpoint, which implicitly separates it from the discovery/prep siblings (list_paid_products, build_purchase_request, get_purchase_instructions). An agent can tell this is the tool that actually runs the paid call rather than preparing one.

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 prescribes the two-step flow: first call without payment returns a free 402 quote, then retry tools/call with identical arguments plus a signed PaymentPayload. It even names the fallback path ('payment_signature for clients without x402-over-MCP support'), so when-to-use and how-to-retry are fully specified.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources