Skip to main content
Glama

Pay with credit

pay_with_credit

Pays for an x402 resource using a credit line; the seller is paid immediately and the charge is added to your tab for later repayment.

Instructions

Pay for an x402 (HTTP 402) resource from your credit line. Tabula pays the seller now; the charge goes on your tab, which you repay later.

Input Schema

NameRequiredDescriptionDefault
urlYesThe resource's URL. Only sellers on Tabula's list can be paid (list_sellers).
bodyNoThe request body for the seller.
methodNoThe HTTP method; GET if left out.
headersNoRequest headers for the seller.
max_priceYesThe most you will pay for this call, in US dollars (USDG on Robinhood Chain, USDC on Base), for example 0.05.
idempotency_keyNoSend the same key again to retry a call: one key is never paid twice. A new key is made if you leave it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond openWorldHint, it explains that Tabula pays the seller immediately while the user incurs a charge to repay later, making the financial consequence unusually clear. It does not address charge finality or what happens to the tab if the resource request fails.

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?

Two compact sentences front-load the operation and then explain settlement and repayment. Nothing is redundant, and the HTTP 402 parenthetical efficiently clarifies the x402 jargon.

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?

Together with the rich schema, the description provides enough context to select and invoke the tool while understanding its credit obligation. Because there is no output schema, the absence of any indication of the returned result or failure behavior leaves a modest completeness gap.

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 description coverage is 100%, so the baseline of 3 applies. The description adds no parameter-specific details beyond the schema, which already documents seller eligibility, the price cap, HTTP options, and idempotent retries.

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?

The description names a concrete action ("Pay"), resource ("an x402 (HTTP 402) resource"), and funding mechanism ("your credit line"). That specific scope is functionally distinct from credit_status and list_sellers, even though neither sibling is named.

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 x402/HTTP 402 and credit-line wording clearly establishes the intended use case. It lacks explicit prerequisites or alternative routing, such as using list_sellers to confirm eligibility or credit_status to inspect the credit line.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools