Skip to main content
Glama

Create checkout link

create_checkout

Start a one-time retention purchase and return a Dodo Payments checkout link. The creator opens it in a browser and pays there; card details never pass through the assistant. After payment, get_event shows the new close date.

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": {
      "eventId": "<eventId>",
      "optionId": "<optionId>"
    },
    "name": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventIdYesEvent id from list_events
optionIdYesoptionId from get_purchase_options

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?

Annotations declare readOnlyHint=false, openWorldHint=true and destructiveHint=false; the description goes further by disclosing that payment happens outside the assistant, that card details never transit the tool, and that the event's close date changes after payment. It omits practical traits such as link expiry or whether repeated calls create duplicate checkout sessions.

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, front-loaded with the action and return value, followed by where payment occurs and the resulting state change. No redundant or filler wording.

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?

For a two-parameter tool with no output schema, the description covers the action, the returned artifact (a checkout link), the external payment step, and the observable post-condition via get_event. An agent has enough to invoke it correctly without guessing.

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 both parameters already state their source (eventId from list_events, optionId from get_purchase_options), including an enum. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 outcome: start a one-time retention purchase and return a Dodo Payments checkout link. It also implies where it sits in the flow by naming get_event as the follow-up. It does not explicitly contrast with get_purchase_options or other siblings, so sibling differentiation is implied rather than stated.

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?

Explains the usage context clearly: the creator opens the returned link in a browser and pays there, and get_event reflects the new close date afterwards. It gives no explicit when-not-to-use condition (e.g. calling twice, or the need to obtain optionId first), so guidance is strong but not complete.

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