Skip to main content
Glama

0to1pay Testnet Checkout

create_test_payment_link

Idempotent

Create a reusable fixed-price testnet payment link. Reuse the same idempotency key when retrying. Does not sign or transfer funds.

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": {
      "title": "<title>",
      "product_ref": "<product_ref>",
      "amount": "<amount>",
      "network_id": "<network_id>",
      "endpoint_id": "<endpoint_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "create_test_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
amountYesDecimal test token amount, for example 0.01
network_idYes
endpoint_idYes
product_refYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false. The description adds value beyond them by clarifying the safety boundary ('Does not sign or transfer funds') and the operational retry rule, which matters for an agent recovering from a failed call. It omits authentication requirements and what the created link returns.

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 with zero waste; the core purpose is front-loaded and the safety caveat closes the definition. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a six-parameter, fully-required mutation tool with no output schema and low schema coverage. The description never says what a successful call returns (link URL, id, expiry) or what preconditions exist, which leaves real gaps for an agent invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17% (just 'amount'), so the description carries the burden for six required parameters. It implies 'fixed-price' for amount and 'testnet' for network_id, but gives no meaning for title, product_ref, endpoint_id, or idempotency_key beyond the retry hint. Most parameters remain undocumented in both places.

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 reusable fixed-price testnet payment link.' The scope modifiers (reusable, fixed-price, testnet) make the purpose concrete. It does not differentiate from the sibling tools, which are all read-only lookups, so the agent must infer the boundary.

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

Usage Guidelines3/5

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

The retry guidance ('Reuse the same idempotency key when retrying') is a genuinely useful usage rule. However, there is no explicit statement of when to create a link versus checking status or options via the sibling tools, so the when-to-use condition is only implied.

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