Skip to main content
Glama

Buy a prepaid API key ($2.00)

buy_api_key

$2.00 once. Use when your client cannot sign x402 on every call: a prepaid key lt_... holding $2.00 of credit, sent as the X-API-Key header on POST /mcp or any paid HTTP route; each call's price is deducted. A bearer secret; credit does not expire. Try first: buy_trial_key. No arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
dataNo
metaNo
coverageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "coverage": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "meta": {
      +      "type": "object"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "anyOf": [
      -    {
      -      "properties": {
      -        "coverage": {
      -          "enum": [
      -            "full",
      -            "thin"
      -          ]
      -        },
      -        "data": {
      -          "properties": {
      -            "credit_usd": {
      -              "type": "number"
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "note": {
      -              "type": "string"
      -            },
      -            "status": {
      -              "type": "string"
      -            },
      -            "use": {
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "credit_usd",
      -            "status",
      -            "use"
      -          ],
      -          "type": "object"
      -        },
      -        "meta": {
      -          "type": "object"
      -        },
      -        "ok": {
      -          "const": true
      -        }
      -      },
      -      "required": [
      -        "ok",
      -        "schema_version",
      -        "generated_at",
      -        "t",
      -        "coverage",
      -        "data",
      -        "meta"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "properties": {
      -        "accepts": {
      -          "minItems": 1,
      -          "type": "array"
      -        },
      -        "x402Version": {
      -          "const": 2
      -        }
      -      },
      -      "required": [
      -        "x402Version",
      -        "accepts"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "properties": {
      -        "error": {
      -          "type": "string"
      -        },
      -        "ok": {
      -          "const": false
      -        }
      -      },
      -      "required": [
      -        "ok",
      -        "error"
      -      ],
      -      "type": "object"
      -    }
      -  ],
      -  "type": "object"
      -}New value: +null
  3. Changed3 schema fields changed
    • removedInput schema / title
      Removed value: -"buy_api_keyArguments"
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "coverage": {
      -        "enum": [
      -          "full",
      -          "thin"
      -        ]
      -      },
      -      "data": {
      -        "properties": {
      -          "credit_usd": {
      -            "type": "number"
      -          },
      -          "key": {
      -            "type": "string"
      -          },
      -          "note": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          },
      -          "use": {
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "key",
      -          "credit_usd",
      -          "status",
      -          "use"
      -        ],
      -        "type": "object"
      -      },
      -      "generated_at": {
      -        "type": "string"
      -      },
      -      "meta": {
      -        "properties": {
      -          "feed_lag_s": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "is_stale": {
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "schema_version": {
      -        "type": "string"
      -      },
      -      "t": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "schema_version",
      -      "generated_at",
      -      "t",
      -      "coverage",
      -      "data",
      -      "meta"
      -    ],
      -    "title": "ApiKeyPurchase",
      -    "type": "object"
      -  },
      -  {
      -    "description": "isError: the x402 v2 payment requirements. Pay one accepts entry and call again with _meta['x402/payment']. error says why when a payment was sent and rejected; a failed settlement adds x402/payment-response. Nothing is charged.",
      -    "properties": {
      -      "accepts": {
      -        "items": {
      -          "properties": {
      -            "amount": {
      -              "type": "string"
      -            },
      -            "asset": {
      -              "type": "string"
      -            },
      -            "extra": {
      -              "type": "object"
      -            },
      -            "maxTimeoutSeconds": {
      -              "type": "integer"
      -            },
      -            "network": {
      -              "type": "string"
      -            },
      -            "payTo": {
      -              "type": "string"
      -            },
      -            "scheme": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "scheme",
      -            "network",
      -            "amount",
      -            "asset",
      -            "payTo"
      -          ],
      -          "type": "object"
      -        },
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "extensions": {
      -        "type": "object"
      -      },
      -      "resource": {
      -        "properties": {
      -          "description": {
      -            "type": "string"
      -          },
      -          "mimeType": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "url"
      -        ],
      -        "type": "object"
      -      },
      -      "x402/payment-response": {
      -        "properties": {
      -          "errorReason": {
      -            "type": "string"
      -          },
      -          "network": {
      -            "type": "string"
      -          },
      -          "success": {
      -            "type": "boolean"
      -          },
      -          "transaction": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "success"
      -        ],
      -        "type": "object"
      -      },
      -      "x402Version": {
      -        "const": 2
      -      }
      -    },
      -    "required": [
      -      "x402Version",
      -      "resource",
      -      "accepts"
      -    ],
      -    "title": "PaymentRequired",
      -    "type": "object"
      -  },
      -  {
      -    "description": "isError: a refusal answered without charging (invalid or uncovered arguments, stale feed, nothing new since the cursor, a payment that cannot be matched to this request). error is a stable code; live_examples name mints covered now.",
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "avoid_skipped": {
      -        "type": "integer"
      -      },
      -      "case_mangled_mints": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "charged": {
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "curve": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "feed_lag_s": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "free_check": {
      -        "type": "string"
      -      },
      -      "got": {
      -        "type": [
      -          "string",
      -          "integer"
      -        ]
      -      },
      -      "hint": {
      -        "type": "string"
      -      },
      -      "invalid": {
      -        "type": "object"
      -      },
      -      "live_examples": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "max_feed_lag_s": {
      -        "type": "number"
      -      },
      -      "max_mints": {
      -        "type": "integer"
      -      },
      -      "max_table_lag_s": {
      -        "type": "number"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "mint": {
      -        "type": "string"
      -      },
      -      "missing": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "newest_cursor": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false
      -      },
      -      "payment_status": {
      -        "type": "string"
      -      },
      -      "scanned": {
      -        "type": "integer"
      -      },
      -      "schema": {
      -        "type": "object"
      -      },
      -      "since": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "table_lag_s": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "tool": {
      -        "type": "string"
      -      },
      -      "unavailable_mints": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "unverified_event": {
      -        "type": [
      -          "object",
      -          "null"
      -        ]
      -      },
      -      "window_s": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "error"
      -    ],
      -    "title": "Refusal",
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "coverage": {
      +        "enum": [
      +          "full",
      +          "thin"
      +        ]
      +      },
      +      "data": {
      +        "properties": {
      +          "credit_usd": {
      +            "type": "number"
      +          },
      +          "key": {
      +            "type": "string"
      +          },
      +          "note": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "use": {
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "key",
      +          "credit_usd",
      +          "status",
      +          "use"
      +        ],
      +        "type": "object"
      +      },
      +      "meta": {
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": true
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "schema_version",
      +      "generated_at",
      +      "t",
      +      "coverage",
      +      "data",
      +      "meta"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accepts": {
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "x402Version": {
      +        "const": 2
      +      }
      +    },
      +    "required": [
      +      "x402Version",
      +      "accepts"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / description
      Removed value: -"One of three shapes. Success (isError false): the JSON envelope {ok, schema_version, generated_at, t, coverage, data, meta}. isError true: the x402 PaymentRequired {x402Version 2, resource, accepts[, error]} (pay and call again) or a refusal {ok: false, error, message, charged: false}; neither is charged."
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "coverage": {
      +          "enum": [
      +            "full",
      +            "thin"
      +          ]
      +        },
      +        "data": {
      +          "properties": {
      +            "credit_usd": {
      +              "type": "number"
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "note": {
      +              "type": "string"
      +            },
      +            "status": {
      +              "type": "string"
      +            },
      +            "use": {
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "credit_usd",
      +            "status",
      +            "use"
      +          ],
      +          "type": "object"
      +        },
      +        "generated_at": {
      +          "type": "string"
      +        },
      +        "meta": {
      +          "properties": {
      +            "feed_lag_s": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "is_stale": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "ok": {
      +          "const": true
      +        },
      +        "schema_version": {
      +          "type": "string"
      +        },
      +        "t": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "schema_version",
      +        "generated_at",
      +        "t",
      +        "coverage",
      +        "data",
      +        "meta"
      +      ],
      +      "title": "ApiKeyPurchase",
      +      "type": "object"
      +    },
      +    {
      +      "description": "isError: the x402 v2 payment requirements. Pay one accepts entry and call again with _meta['x402/payment']. error says why when a payment was sent and rejected; a failed settlement adds x402/payment-response. Nothing is charged.",
      +      "properties": {
      +        "accepts": {
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "type": "string"
      +              },
      +              "asset": {
      +                "type": "string"
      +              },
      +              "extra": {
      +                "type": "object"
      +              },
      +              "maxTimeoutSeconds": {
      +                "type": "integer"
      +              },
      +              "network": {
      +                "type": "string"
      +              },
      +              "payTo": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network",
      +              "amount",
      +              "asset",
      +              "payTo"
      +            ],
      +            "type": "object"
      +          },
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "extensions": {
      +          "type": "object"
      +        },
      +        "resource": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "x402/payment-response": {
      +          "properties": {
      +            "errorReason": {
      +              "type": "string"
      +            },
      +            "network": {
      +              "type": "string"
      +            },
      +            "success": {
      +              "type": "boolean"
      +            },
      +            "transaction": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "success"
      +          ],
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "const": 2
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "resource",
      +        "accepts"
      +      ],
      +      "title": "PaymentRequired",
      +      "type": "object"
      +    },
      +    {
      +      "description": "isError: a refusal answered without charging (invalid or uncovered arguments, stale feed, nothing new since the cursor, a payment that cannot be matched to this request). error is a stable code; live_examples name mints covered now.",
      +      "properties": {
      +        "address": {
      +          "type": "string"
      +        },
      +        "avoid_skipped": {
      +          "type": "integer"
      +        },
      +        "case_mangled_mints": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "charged": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "curve": {
      +          "type": "string"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "feed_lag_s": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "free_check": {
      +          "type": "string"
      +        },
      +        "got": {
      +          "type": [
      +            "string",
      +            "integer"
      +          ]
      +        },
      +        "hint": {
      +          "type": "string"
      +        },
      +        "invalid": {
      +          "type": "object"
      +        },
      +        "live_examples": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "max_feed_lag_s": {
      +          "type": "number"
      +        },
      +        "max_mints": {
      +          "type": "integer"
      +        },
      +        "max_table_lag_s": {
      +          "type": "number"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "mint": {
      +          "type": "string"
      +        },
      +        "missing": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "newest_cursor": {
      +          "type": "string"
      +        },
      +        "ok": {
      +          "const": false
      +        },
      +        "payment_status": {
      +          "type": "string"
      +        },
      +        "scanned": {
      +          "type": "integer"
      +        },
      +        "schema": {
      +          "type": "object"
      +        },
      +        "since": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "table_lag_s": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "tool": {
      +          "type": "string"
      +        },
      +        "unavailable_mints": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "unverified_event": {
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "window_s": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "error"
      +      ],
      +      "title": "Refusal",
      +      "type": "object"
      +    }
      +  ],
      +  "description": "One of three shapes. Success (isError false): the JSON envelope {ok, schema_version, generated_at, t, coverage, data, meta}. isError true: the x402 PaymentRequired {x402Version 2, resource, accepts[, error]} (pay and call again) or a refusal {ok: false, error, message, charged: false}; neither is charged.",
      +  "type": "object"
      +}
  5. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations provide the safety profile, and the description adds important behavioral context beyond them: one-time $2.00 cost, bearer secret nature, non-expiring credit, header usage, and per-call deduction. It does not contradict any annotation.

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-loads the price and purpose, then adds concise usage details and the alternative. Every sentence is dense and useful, with no filler.

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 zero-parameter purchase tool with an output schema, the description covers cost, key format, credit behavior, usage method, and the first-try alternative. Return values are left to the output schema, so nothing critical 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?

There are zero parameters, so per the rubric the baseline is 4. The description's 'No arguments' confirms the empty schema, and no further parameter semantics are needed.

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: buy a prepaid API key for $2.00, returning a key like lt_... with credit. It distinguishes itself from the sibling buy_trial_key by naming the alternative and when to prefer it. An agent can identify the operation without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states the use case: 'Use when your client cannot sign x402 on every call.' Also names the alternative 'Try first: buy_trial_key,' giving both when-to-use and a sibling route. No inference is required.

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