Skip to main content
Glama

hou_tea_get_payment_requirements

Get payment requirements for a tea product purchase via USDC on Base chain. Returns recipient address and amount needed for x402 payment.

Instructions

[core] Initiate an x402 USDC payment intent for a product. Returns HTTP 402-style payment requirements (recipient address, amount, Base chain network). Auto-includes buyer order grouping (register_buyer_list_token or env HOU_TEA_BUYER_LIST_TOKEN). The wallet MCP MUST POST the identical buy_request_body on retry plus header X-Payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_nameYes
unit_priceYesDecimal string e.g. '30.00'
quantityNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the tool initiates a payment intent, auto-includes buyer order grouping, and requires the wallet to POST the identical request body with an X-Payment header on retry. It does not mention side effects or error cases but provides key behavioral traits.

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 is concise (3 sentences) and front-loaded with the core purpose. Each sentence adds value, covering initiation, return details, and wallet action. Slightly technical but no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description adequately explains the return (payment requirements) and required follow-up. However, it lacks error handling, output format, and success/failure behavior, leaving gaps that an agent might need.

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

Parameters1/5

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

Schema coverage is only 33%, with only unit_price having a description. The description does not mention any parameters, failing to compensate for the low coverage. Parameters like product_name and quantity have no description in either schema or description.

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 tool initiates an x402 USDC payment intent for a product, returning payment requirements with recipient address, amount, and network. This distinguishes it from sibling tools like hou_tea_browse and hou_tea_check_order, which handle browsing or order checking.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives. While the purpose implies it's for initiating payment, there is no mention of prerequisites or when to use other tools like hou_tea_recommend or hou_tea_explain.

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/jackrain19743/hou-tea-mcp-server'

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