AgentPay
Server Details
x402 micropayments MCP: Xiaohongshu notes and paid APIs settled in USDC on Base.
- Status
- Healthy
- Uptime
- 100.0% over 21 days
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- yyxqqq777/mcp-server-agentpay
- GitHub Stars
- 0
- Server Listing
- AgentPay MCP Server
TDQS
Scored across 4 tools
Each tool has a clearly distinct target: one checks payment configuration, one queries China wholesale prices, and two cover Xiaohongshu note detail vs. user notes. There is no meaningful overlap or risk of an agent confusing one tool for another.
The names share a prefix-style convention and use snake_case, but the pattern after the prefix is inconsistent: 'agentpay_payment_status' and 'china_wholesale_pricing_query' are noun-oriented, while both xhs tools are get-prefixed. This is readable and predictable enough, but not a uniform verb_noun convention.
Four tools is within the well-scoped range and each tool earns its place: payment preflight, wholesale sourcing, XHS note detail, and XHS user posts. The set is compact without feeling artificially padded or thin.
The server covers its apparent paid-data-access workflows well: agents can verify payment setup, then call the relevant paid lookup tools. Minor gaps exist—there is no XHS search tool, no wholesale supplier-detail endpoint, and no transaction/payment history—but they are workable gaps rather than dead ends.
Available Tools
4 toolsagentpay_payment_statusCheck AgentPay payment statusARead-onlyIdempotentInspect
Return AgentPay payment configuration without charging: network, price, spending limit, payment mode, gateway URL, and agent wallet address. Call this before paid tools to verify the wallet is configured, or after a payment error.
| Name | Required | Description | Default |
|---|---|---|---|
| include_wallet | No | If true (default), include the derived agent wallet address from AGENT_PRIVATE_KEY. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds the key behavioral trait that this operation does not charge, which is not covered by the annotations, providing extra transparency about 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, consisting of two sentences that deliver essential information without unnecessary detail or repetition. It is well-structured and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description is complete for the tool's purpose: it states what is returned, when to call it, and that it does not charge. No additional context is needed for an agent to decide whether and how to use it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The sole parameter 'include_wallet' has a clear description explaining its effect ('include the derived agent wallet address') and its default value (true). This fully covers the parameter's semantics, leaving no ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: returning AgentPay payment configuration. It enumerates the specific fields (network, price, spending limit, payment mode, gateway URL, agent wallet address) that will be returned, making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use the tool: 'Call this before paid tools to verify the wallet is configured, or after a payment error.' This directly tells the agent the appropriate contexts for invocation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
china_wholesale_pricing_queryQuery China wholesale pricingARead-onlyIdempotentInspect
Search factory-direct wholesale pricing samples for a product keyword (1688 / Yiwu style catalog). Returns items with MOQ, unit price USD, factory location, and supplier verification flags. Use for China sourcing research. Settles ~0.01 USDC via x402 per query.
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Product search query in English or Chinese, e.g. 'wireless earbuds' or '蓝牙耳机'. | |
| max_price | No | Optional maximum target unit price in USD to filter results. | |
| category_id | No | Optional category filter ID when the user specifies a catalog category. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that the tool performs a search (read-only) and incurs a micro-transaction, which is transparent about its behavioral side effects. Annotations (readOnlyHint, idempotentHint) reinforce this, and there is no contradiction between the description and the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured, covering the core function, output summary, and cost in a few sentences. It is free of redundancy and directly addresses the tool's primary use case without unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description adequately conveys the tool's output (item list with MOQ, price, location, verification) and mentions the cost, which is important for an agent to decide whether to invoke it. It does not detail error handling or pagination, but these are not essential for the core use case and the provided context (output schema exists) is sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All three parameters have detailed descriptions: 'keyword' is explicitly defined with an example (English or Chinese), 'max_price' is described as an optional maximum unit price filter, and 'category_id' is explained as an optional catalog category filter. The schema coverage is 100% and the descriptions add meaningful context beyond the names.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: searching factory-direct wholesale pricing samples for a product keyword. It specifies the domain (1688/Yiwu style catalog) and the key output attributes (MOQ, unit price USD, factory location, supplier verification flags), leaving no ambiguity about its purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides practical guidance by stating 'Use for China sourcing research' and mentions the cost of ~0.01 USDC per query. It does not explicitly contrast with sibling tools, but the distinct domain (China wholesale pricing vs payment status or xhs notes) makes the usage context clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
xhs_get_note_detailGet Xiaohongshu note detailARead-onlyIdempotentInspect
Fetch one Xiaohongshu (小红书) note by share URL or 24-char note_id and return title, description, author, engagement stats, images, and video URL as JSON. Call this when the user pastes an xiaohongshu.com/explore link or a note id. Settles ~0.01 USDC via x402 on each successful call.
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Xiaohongshu note share URL or 24-character hex note_id. Example: https://www.xiaohongshu.com/explore/6a95a1f30000000026019ab7 | |
| note_type | No | Optional media hint to speed lookup: image, video, 图文, or 视频. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description transparently discloses a payment side effect ('Settles ~0.01 USDC via x402 on each successful call'), but this contradicts the idempotentHint annotation: repeated identical calls would incur repeated payments. It also tensions with readOnlyHint, which implies no state-changing side effects. Because the description contradicts the annotations, the score is 1.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three focused sentences with no filler: what it fetches, what it returns, when to call it, and the payment detail. Every sentence serves a purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the input format, output contents, trigger condition, and cost side effect. Since an output schema is present, detailed return-structure documentation is unnecessary, though error handling or failure behavior is not mentioned.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with clear explanations of both parameters, including examples and the optional note_type hint. The tool description adds little beyond the schema, so it remains at the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Fetch') and identifies the exact resource (one Xiaohongshu note by URL or 24-char note_id) plus the returned fields. It clearly distinguishes this from sibling tools like xhs_get_user_notes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states when to call the tool ('when the user pastes an xiaohongshu.com/explore link or a note id'), providing clear context. It does not mention when not to use it or alternatives, so it misses the full 'when-not/alternatives' bar.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
xhs_get_user_notesList Xiaohongshu user notesARead-onlyIdempotentInspect
List posted notes for a Xiaohongshu user_id (paginated). Returns note summaries and next_cursor for pagination. Use when the user asks for a creator's recent posts. Settles ~0.01 USDC via x402 per page.
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor from the previous response's next_cursor. Omit or null for the first page. | |
| user_id | Yes | Xiaohongshu user ID string from a profile or prior note author. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive. The description adds critical behavioral context beyond annotations: the cost 'Settles ~0.01 USDC via x402 per page' and the pagination contract (returns next_cursor). These are not derivable from annotations and are essential for an agent to anticipate side effects and costs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four short sentences, each earning its place: purpose, return content, usage trigger, and cost. It is front-loaded with the primary action, then essential details. No redundant or filler wording.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter, paginated list tool with a rich output schema and annotations covering safety, the description covers all needed call context: purpose, pagination return, usage trigger, and cost. Nothing critical is missing. The output schema exists, so return details are not the description's burden.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%: both user_id and cursor have thorough descriptions, including the cursor's default and first-page behavior. The description's mention of 'next_cursor' and 'paginated' repeats schema information without adding new parameter-level meaning. Baseline 3 applies because the schema already fully documents parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'List posted notes for a Xiaohongshu user_id'. It explicitly mentions pagination and return format, and distinguishes from the sibling xhs_get_note_detail by focusing on listing rather than single-note detail. The usage hint 'Use when the user asks for a creator's recent posts' reinforces the purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives an explicit trigger condition: 'Use when the user asks for a creator's recent posts.' It does not explicitly mention when not to use or name alternative tools, but the clear trigger covers the main selection case. A 4 reflects clear context without exclusions or alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
- Changed
agentpay_payment_status1 field changed- added
Input schema / properties / include_walletAdded value: +{ + "default": true, + "description": "If true (default), include the derived agent wallet address from AGENT_PRIVATE_KEY.", + "title": "Include Wallet", + "type": "boolean" +}
- Changed
china_wholesale_pricing_query3 fields changed- added
Input schema / properties / category_id / descriptionAdded value: +"Optional category filter ID when the user specifies a catalog category." - added
Input schema / properties / keyword / descriptionAdded value: +"Product search query in English or Chinese, e.g. 'wireless earbuds' or '蓝牙耳机'." - added
Input schema / properties / max_price / descriptionAdded value: +"Optional maximum target unit price in USD to filter results."
- Changed
xhs_get_note_detail2 fields changed- added
Input schema / properties / note / descriptionAdded value: +"Xiaohongshu note share URL or 24-character hex note_id. Example: https://www.xiaohongshu.com/explore/6a95a1f30000000026019ab7" - added
Input schema / properties / note_type / descriptionAdded value: +"Optional media hint to speed lookup: image, video, 图文, or 视频."
- Changed
xhs_get_user_notes2 fields changed- added
Input schema / properties / cursor / descriptionAdded value: +"Pagination cursor from the previous response's next_cursor. Omit or null for the first page." - added
Input schema / properties / user_id / descriptionAdded value: +"Xiaohongshu user ID string from a profile or prior note author."
4 tool updates
- First observed
agentpay_payment_status - First observed
china_wholesale_pricing_query - First observed
xhs_get_note_detail - First observed
xhs_get_user_notes
Related MCP Connectors
Pay for HTTP APIs and charge for your own: x402 micropayments in USDC on Base.
Paid KYC, AML, and regulatory risk assessment over MCP via x402 USDC micropayments on Base.
DeFi yields, staking routing, semantic research & security intel via x402 micro-payments on Base
22 AI microservices with x402 micropayments: summarize, translate, code-review. USDC on Base.
Related MCP Servers
- AlicenseCqualityCmaintenancex402 Micropaid MCP Server — 120+ paid API endpoints for AI Agents. Pay per call with USDC on Base network. No signup, no API key needed.551MIT
- AlicenseAqualityDmaintenanceThe x402 ecosystem's read MCP for Base. Verify on-chain USDC settlements, parse publisher manifests, and audit x402 payment receipts from any MCP-compatible AI agent.1174 npm2MIT

Xenarch Agent MCPofficial
AlicenseNot gradedqualityCmaintenancePay for any x402-gated content or API with USDC micropayments on Base. Discover payment gates, execute payments, and view transaction history.1MIT- FlicenseNot gradedqualityBmaintenanceOmni-channel x402-gated MCP Oracle providing structured data across 12 verticals monetized via Base USDC micropayments.-
Glama MCP Gateway
Add one secure layer between your agents and this server.