Skip to main content
Glama

Get plan checkout link

get_checkout_url

Returns a link to the organization's billing page for the Team or Business plan. A person opens it, reads the terms, ticks the consent box and only then continues to the payment provider's checkout; this call creates no checkout and charges nothing. Requires an organization admin or owner; returns 403 otherwise.

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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesPlan to buy: team or business
org_idNoOrganization ID (the first organization if omitted)

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?

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses the authorization requirement (organization admin or owner, 403 otherwise) and delimits side effects: no checkout is created and nothing is charged. That materially reduces the risk of an agent avoiding or misusing the call. It does not address whether the generated link expires or whether calling it has any lasting state effect, which would have completed the picture given readOnlyHint=false.

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?

Front-loaded with what is returned, followed by the human consent flow and the no-charge guarantee, then the auth requirement. Every sentence carries distinct information and there is no filler.

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 two-parameter tool with annotations and no output schema, the description covers return value, side effects, authorization, and the surrounding workflow. The remaining gap is link lifecycle (expiry, single-use), which matters for a URL-returning tool but is a minor omission.

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%, with the plan enum and the org_id default already documented in the schema. The description's only added parameter context is that the link targets the Team or Business plan's billing page, which is marginal. Baseline 3 is appropriate when the schema carries the semantics.

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 opens with a specific verb and resource ('Returns a link to the organization's billing page') scoped to the Team or Business plan, so an agent knows exactly what it produces. It is unmistakable against the sibling set, which contains no billing or checkout tools.

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 explains the intended context clearly: hand the link to a person who reads terms and consents before reaching the payment provider. The clause 'this call creates no checkout and charges nothing' pre-empts the natural misreading that this tool initiates a purchase. It stops short of naming alternatives or stating when not to use it, so it is not a 5.

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