Skip to main content
Glama

create_paypal_checkout

Create a PayPal Checkout order for high-res figure credits. Returns an approve URL for the human and the order id. After approval, call capture_paypal_purchase.

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

Input Schema

NameRequiredDescriptionDefault
packNop1 = 1 figure $0.20 (agent rate), paper = Manuscript pack 12 figures $4.99, thesis = Thesis pack 40 figures $14.99, year = Researcher pack 100 figures $29.99, team = Team pack 500 figures $99.99, lab = Lab pack 1000 figures $149.99 (default p1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / pack / description
      Previous value: -"p1 = 1 figure $0.20 (agent rate), paper = Manuscript pack 12 figures $4.99, year = Researcher pack 100 figures $29.99, team = Team pack 500 figures $99.99, lab = Lab pack 1000 figures $149.99 (default p1)"New value: +"p1 = 1 figure $0.20 (agent rate), paper = Manuscript pack 12 figures $4.99, thesis = Thesis pack 40 figures $14.99, year = Researcher pack 100 figures $29.99, team = Team pack 500 figures $99.99, lab = Lab pack 1000 figures $149.99 (default p1)"
    • changedInput schema / properties / pack / enum
      Previous value: -[
      -  "p1",
      -  "paper",
      -  "year",
      -  "team",
      -  "lab"
      -]New value: +[
      +  "p1",
      +  "paper",
      +  "thesis",
      +  "year",
      +  "team",
      +  "lab"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / pack / description
      Previous value: -"p1 = 1 figure $0.20 (agent rate), paper = Manuscript pack 12 figures $7, year = Researcher annual 200 figures $79, lab = Lab annual 1000 figures $249 (default p1)"New value: +"p1 = 1 figure $0.20 (agent rate), paper = Manuscript pack 12 figures $4.99, year = Researcher pack 100 figures $29.99, team = Team pack 500 figures $99.99, lab = Lab pack 1000 figures $149.99 (default p1)"
    • changedInput schema / properties / pack / enum
      Previous value: -[
      -  "p1",
      -  "paper",
      -  "year",
      -  "lab"
      -]New value: +[
      +  "p1",
      +  "paper",
      +  "year",
      +  "team",
      +  "lab"
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the important non-obvious behavior: the call yields an approve URL for a human plus an order id, and payment is only completed by a separate capture step. It does not cover auth requirements, order expiration, or whether any pre-authorization charge occurs.

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, zero waste, with the purpose and return values front-loaded and the mandatory follow-up step placed last where it is read as the next action.

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 single-optional-parameter tool with no output schema and no annotations, the definition covers purpose, return values, and the follow-up call. Only secondary details such as authentication and order lifetime are absent.

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% and the enum already documents every pack with its figure count and price, so the schema does the heavy lifting. The description adds only the framing that these are figure credits, no extra meaning about the pack parameter.

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 resource ('Create a PayPal Checkout order') and scopes it to 'high-res figure credits'. The PayPal framing implicitly separates it from the USDC order siblings, but it never explicitly contrasts with create_usdc_order, so sibling differentiation is left to inference.

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 a clear sequencing rule: create the order, hand the approve URL to a human, then call capture_paypal_purchase. What's missing is guidance on when to prefer this over create_usdc_order or when not to use it at all.

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