Skip to main content
Glama

get_checkout_link

Return the hosted checkout URL to buy a plan (pro_monthly, pro_yearly or review). The buyer completes payment on Stripe; nothing is charged by calling this.

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

Input Schema

NameRequiredDescriptionDefault
planYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / offer
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / plan
      Added value: +{
      +  "enum": [
      +    "pro_monthly",
      +    "pro_yearly",
      +    "review"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "plan"
      +]
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the single most important trait: calling it charges nothing and payment happens on Stripe, so it is effectively a safe read. It says nothing about link expiry, whether repeated calls mint new sessions, or any auth requirement, which are the remaining non-obvious behaviors for a checkout-link tool.

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 tight sentences, front-loaded with the return value and followed by the no-charge caveat. Nothing is redundant or padding.

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 covers what is returned and the key safety fact. The remaining gap is the opaque 'review' plan value, which neither the schema nor the description disambiguates.

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 coverage is 0%, but the single parameter is an enum that already lists pro_monthly, pro_yearly and review, so the description's restatement of those values adds little. It never explains what the 'review' plan actually is or what it costs, which is the one piece of meaning an agent would genuinely need.

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?

A specific verb ('Return') plus a specific resource ('hosted checkout URL to buy a plan') tells the agent exactly what it gets back. It doesn't explicitly name a sibling such as get_pricing to separate browsing prices from starting a purchase, so it stops short of a 5.

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?

The use case is implied rather than stated: call this when the user wants to actually purchase one of the three plans. There is no explicit 'use X instead when the user is only comparing prices', even though get_pricing and the loan-estimate siblings sit right next to it.

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