Skip to main content
Glama

Space AI — Hallucination Detection & Space Rank

create_payment_link

Create a live Stripe Checkout payment link to buy prepaid Space AI API credits (no subscription, $5-$500). Free, no API key required. Show the returned checkout_url to the user; once paid, call check_balance with checkout_session_id to retrieve the API key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
usd_amountNoPrepaid credit amount in USD (default 10; $5 to $500).
owner_emailNoOptional email address for the Stripe receipt.

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?

With no annotations, the description does substantial work: it discloses this creates a real, live payment link involving actual money, that it is free and keyless, and that the returned checkout_url must be surfaced to the user. It omits whether repeat calls create duplicate links, whether links expire, and what happens if payment is abandoned.

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 tight sentences with zero filler: what it creates, the commercial terms, and the exact next action. The critical instruction to show checkout_url to the user is front-loaded and actionable.

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 no output schema, the description covers the key return value (checkout_url) and the downstream handoff to check_balance, which is what an agent needs to complete the flow. Missing only edge-case behavior such as link reuse or expiry.

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 100%, so both parameters are already documented, including the $5-$500 bounds and default. The description's amount range merely echoes the schema and says nothing about owner_email or its effect on the receipt, so it adds little beyond the structured fields.

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 specific verb and resource ('Create a live Stripe Checkout payment link') plus the concrete thing being purchased (prepaid Space AI API credits, no subscription). This is unmistakably distinct from siblings like check_balance and list_models.

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?

Gives clear preconditions and constraints (no subscription, $5-$500, free, no API key required) and explicitly routes the follow-up step: once paid, call check_balance with checkout_session_id. It stops short of naming when not to use it, but the workflow is 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