Skip to main content
Glama

Create a checkout link

create_cart_link
Read-onlyIdempotent

Build a GlobalHostia cart link for one plan (slug from search_plans or recommend_plan) with the billing cycle and currency preselected, optionally attaching a domain. Returns the exact price for that cycle. The customer reviews and pays on globalhostia.com; this tool never takes payment. No sign-in needed.

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

Input Schema

NameRequiredDescriptionDefault
slugYes
domainNo
currencyNoISO 4217 currency code such as USD or AED (default USD).
billing_cycleNo

Output Schema

NameRequiredDescriptionDefault
nameNo
priceNo
cartUrlNo
currencyNo
setupFeeNo
billingCycleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description adds genuinely useful behavior: this tool never takes payment, the customer reviews and pays on globalhostia.com, and no sign-in is required. That resolves the main ambiguity an agent might have about whether calling it commits a purchase.

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 sentences, front-loaded with what is built and for which inputs, then the payment boundary, then the auth requirement. No sentence is redundant and nothing important is buried.

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 link-construction tool with an output schema already documenting the return, the description covers the remaining unknowns an agent needs: where the slug comes from, what the link preselects, that it returns a price, and that no payment or sign-in occurs. Nothing material is missing.

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?

Schema coverage is only 25% (only currency is documented), so the description has to compensate, and it does: it identifies the slug's provenance, explains that billing_cycle and currency are preselected on the link, and notes domain is optional. It still does not enumerate the allowed billing_cycle values or the currency format, but the enum and pattern in the schema cover that.

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 gives a specific verb and resource ("Build a GlobalHostia cart link") plus the exact scope: one plan, billing cycle and currency preselected, optional domain. It also distinguishes itself from plan-discovery siblings by naming search_plans and recommend_plan as the source of the slug.

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 clearly establishes the preconditions for use (a plan slug obtained from search_plans or recommend_plan) and notes the customer completes payment externally. It stops short of an explicit when-not-to-use or a named alternative link type (e.g., renew_items_link, control_panel_login_link), leaving the agent to infer those boundaries.

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.