Skip to main content
Glama

OpenMyPro for AI agents

Get the page where your human buys an offer

get_checkout_link
Read-onlyIdempotent

Use when your human picked an offer from find_offers. Returns the one page where they buy it: they press Buy there and pay on a secure payment page. This call never buys anything. Pass api_key so the visit counts for you.

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": {
      "offer_id": "<offer_id>"
    },
    "name": "get_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour OpenMyPro agent key (omp_ak_ plus 32 hex). Optional when the connection already sends Authorization: Bearer.
offer_idYesThe offer_id from find_offers

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/no-open-world, and the description adds genuinely new context: the purchase happens in the human's browser, not in the tool ("This call never buys anything"), and the api_key affects visit attribution. Missing only things like link expiry or single-use behavior.

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?

Three short sentences in priority order: trigger, what you get, what does not happen, plus the attribution tip. No filler or restatement of the title.

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?

Covers trigger, return value, and the critical non-mutation guarantee with no output schema needed. Minor gaps (link lifetime, reuse, whether the agent must surface the URL to the human) are the only thing keeping it from full marks.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline is 3, but the description adds meaning to api_key that the schema only hints at — passing it makes the visit count for the agent. That is a real semantic addition beyond the structured field.

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?

States a concrete outcome: it returns "the one page where they buy it," and names the sibling (find_offers) that produces the offer_id it consumes. An agent can tell this apart from find_offers/list_offer 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?

"Use when your human picked an offer from find_offers" gives an explicit trigger and prerequisite. It does not spell out when-not or name an alternative path, but the prerequisite chain makes the ordering unambiguous.

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