Skip to main content
Glama

Eli Agent Hub

Get the checkout or trial link

create_checkout_or_trial
Read-onlyIdempotent

Use this when the buyer is ready. Returns the merchant's own official buy, cart or signup/trial link for one product or plan, tagged and signed exactly as the merchant's own MCP server hands it out. Nothing is bought, paid or created here: the buyer finishes on the merchant's own site.

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": {
      "slug": "<slug>"
    },
    "name": "create_checkout_or_trial"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyNoHow many. Pre-fills the cart where the shop's platform has a cart link.
itemNoThe product's or plan's id from the search, or its exact name.
planNoFor software: the plan's id or name (same as item).
slugYes
variantNoThe variant id, where the product has variants.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds valuable context beyond them: nothing is bought, paid, or created here, and the buyer finishes on the merchant's own site. The note that the link is 'tagged and signed exactly as the merchant's own MCP server hands it out' clarifies provenance and handoff behavior. It stops short of describing link expiration or error cases.

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 front-loaded sentences with zero waste: the first states the trigger, the second states the return and behavioral boundary. Every sentence earns its place and the key no-purchase clarification is placed prominently.

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 five-parameter, no-output-schema tool, the description explains the return value (an official merchant link) and the handoff outcome, which is the essential context. Missing details such as link expiry, multi-variant behavior, or what happens on invalid slug leave minor gaps, but the tool is callable as described.

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 high at 80%, which already documents qty, item, plan, and variant meaningfully. The description adds only the scoping notion of 'one product or plan' and points to search for the id, with no extra detail on slug or variant selection. This meets the baseline of 3 when the schema does the heavy lifting.

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 uses a specific verb and resource: it returns the merchant's official buy, cart, or signup/trial link for one product or plan. It also distinguishes itself from sibling-tool behavior by making clear this is not search (that is done via 'the search') or negotiation, but the final handoff step. An agent can tell exactly what this tool produces without opening the schema.

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?

It gives a clear trigger condition: 'Use this when the buyer is ready.' The phrase 'the product's or plan's id from the search' implicitly places it after search_merchants_and_offers. However, it does not explicitly name alternatives or state when not to use it, leaving some routing inference to the agent.

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