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, 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 $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"
      +]
  2. 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 real work: it discloses that creation returns an approve URL and order id, and that a separate capture call is required after human approval. It does not say whether the order expires or what failure modes look like, but the human-in-the-loop payment semantics are clear.

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, front-loaded with the purpose and followed by return behavior and the required next step. Every sentence earns its place with no repetition.

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 creation tool with no output schema, the description covers the return values and the essential follow-up call. The remaining gap is minor: no mention of order expiry or account prerequisites, but an agent has enough to invoke it correctly.

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 already 100%, and the single pack enum documents each option, its price and the default. The description adds only the phrase 'high-res figure credits' and does not restate or enrich the pack semantics, so this is the baseline 3.

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?

It states a specific verb, resource and domain: create a PayPal Checkout order for high-res figure credits. That scope clearly separates it from create_usdc_order and build_usdc_solana_tx without the reader opening any schema.

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?

The two-step flow is explicit: create the order, hand the approve URL to the human, then call capture_paypal_purchase after approval. It does not explain when to choose PayPal over the USDC siblings, but the payment-rail distinction is implied by the name and the follow-up instruction.

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