Skip to main content
Glama

Where the buyer completes the purchase (a human handoff, never a charge)

checkout_link

For this session's cart (or one product), the link(s) where a PERSON completes the purchase: the product page and the store's cart for own products (Library Direct's own checkout), the retailer's buy link for affiliate products. This server never places an order or takes a payment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNoone product instead of the cart

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does meaningful work: it discloses that the link varies by product type (own vs affiliate), that multiple links may come back ('link(s)'), and that no order or payment ever occurs server-side. It does not cover whether links expire, whether they require an authenticated session, or exactly how many links are returned per case.

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?

Two sentences, front-loaded with the scope ('For this session's cart (or one product)') followed by the link taxonomy, then the safety boundary. The middle clause is dense with nested parentheses but every clause contributes a distinct fact.

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?

No output schema exists, so the description must sketch the return value, and it does: the set of links, with their per-product-type composition. For a one-optional-parameter read tool this is nearly complete; link lifetime and ordering of returned links are the remaining gaps.

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?

There is a single optional parameter with 100% schema description coverage ('one product instead of the cart'), so the schema already explains it. The description's parenthetical '(or one product)' restates the same default-versus-override semantics rather than adding format, ID, or matching details, so the baseline of 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?

The description names the specific resource (the link(s) where a person completes checkout) and its two scopes (this session's cart, or one product), then further splits the resource into own-product links (product page + store cart, Library Direct's own checkout) versus affiliate retailer buy links. That is enough for an agent to distinguish it from siblings like 'cart' or 'product', which manage data rather than hand off a purchase.

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?

Usage context is clear: call it when you need the destination where a human finishes the purchase, for the whole cart or a single product. The sentence 'This server never places an order or takes a payment' acts as an explicit exclusion, ruling out the wrong expectation for this tool. It stops short of naming a sibling alternative, so it is clear context without full alternative routing.

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