Skip to main content
Glama

Seller Agent — Chinese Book Review Catalog

Get instructions for purchasing a complete article

get_purchase_instructions

Get machine-readable instructions for purchasing the full private article using x402 v2. Returns the paid API URL, request schema, payment network, expected price, and safe payment workflow. Does not initiate a payment or return private content.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content_id": "<content_id>"
    },
    "name": "get_purchase_instructions"
  }
}

Input Schema

NameRequiredDescriptionDefault
content_idYesThe article ID returned by search_library.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the tool is read-only in effect (no payment initiated), that no private content is returned, and what the response payload contains. It omits auth/credential prerequisites and whether the quoted price or instructions expire, which matters for a payment-adjacent tool.

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?

Two tight sentences, front-loaded with the action and payload, then the negative constraints. Every clause carries information; nothing is redundant.

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

Completeness5/5

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

Only one parameter and no output schema, so the description's enumeration of return fields is exactly the compensation needed. An agent has enough to decide whether to call it and what it will get back.

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% and the single content_id parameter is fully documented in the schema (including its provenance from search_library). The description adds no additional meaning about the parameter, so baseline 3 applies.

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?

Specific verb and resource: 'Get machine-readable instructions for purchasing the full private article using x402 v2,' followed by an enumeration of exactly what is returned (paid API URL, request schema, payment network, price, workflow). This is clearly distinct from search_library, which the schema positions as the discovery step.

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

Usage Guidelines4/5

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

The description establishes context clearly and adds an explicit exclusion ('Does not initiate a payment or return private content'), which tells the agent what this tool is not for. It does not name an alternative tool for actually completing payment, so the when-to-use-vs-what-else guidance is strong but not fully closed.

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.