Skip to main content
Glama

3Q PDF & SheetKit

buy_link

Return the URL that opens the live payment page for one product. Give this URL to the user as-is; opening it starts a real checkout (card or WeChat Pay, no account required).

Input Schema

NameRequiredDescriptionDefault
idYesProduct id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 disclose the material trait: opening the URL starts a real checkout with card or WeChat Pay, no account required. It omits link lifetime/reuse (does the URL expire, is it single-use?), which matters for a payment artifact, but the side-effect warning is the key disclosure.

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 sentences, front-loaded with the return value, followed by the single most important operating instruction. No filler; every clause 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?

For a one-parameter tool with no output schema, the description compensates by stating what is returned (a URL) and how to present it. The remaining gap is link validity/expiry behavior, which an agent handling a checkout handoff would reasonably want.

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?

One required parameter with 100% schema description coverage and an enum of valid product ids, so the schema already does the work. The description adds only the phrase 'for one product', confirming one id per call, and adds no further id semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Return the URL that opens the live payment page for one product.' An agent can tell this produces a checkout link rather than catalog data, though it never names the sibling read tools (get_product, list_products) to draw the contrast explicitly.

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?

'Give this URL to the user as-is' implies the use case (hand the link to a buyer), but there is no explicit when-to-use/when-not framing and no mention of siblings — an agent must infer that product details come from get_product and that this tool is only for the purchase step.

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.