Skip to main content
Glama

Court of Common Pleas (Peregrini)

pay_ledger

I am ready to pay what my agent owes. Creates an invoice with the exact amount, a new receiving address and a link your wallet can open. Your wallet makes the payment. Where the card rail is live, {asset: USD, network: stripe} answers a url instead: a page a person opens to pay by card on your behalf. Credential: key. Cost: The amount you choose to pay towards your balance. Source: PD2 §6.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYes
networkYes
amountCentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two important traits: the tool creates an invoice rather than paying directly ('Your wallet makes the payment'), and that a credential ('key') is required. It says nothing about reversibility, whether the invoice expires, or what happens to the balance, which is a notable gap for a financial mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The prose is written in an odd first-person register ('I am ready to pay what my agent owes') that delays the actual purpose, and it ends with meta-references ('Source: PD2 §6') that do not help an agent invoke the tool. The key facts are buried mid-paragraph rather than front-loaded.

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?

There is no output schema, no annotations, and zero schema description coverage, so the description is the only source of truth. It leaves the parameter semantics, error/expiry behavior, and balance effects unspecified, which is insufficient for a 3-parameter payment tool.

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 coverage is 0% and there are 3 parameters, so the description must compensate. It only partially does: it illustrates the card-rail combination '{asset: USD, network: stripe}' but never explains the other enum values (USDC/USDT/BTC, base/ethereum/bitcoin) or the amountCents unit beyond an implied 'exact amount'. Two-thirds of the parameter space remains undocumented.

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?

The description does name a specific action: 'Creates an invoice with the exact amount, a new receiving address and a link your wallet can open.' That is a concrete verb+resource an agent can act on. It does not, however, differentiate this from near-siblings like pay_anything, publisher_pay, or quote_price_payment, so an agent still has to guess which payment tool applies.

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?

It distinguishes two operating modes: wallet payment by default, and a card-rail variant triggered by '{asset: USD, network: stripe}'. That is useful conditional guidance. But it never states when to choose pay_ledger over the other payment siblings, and there are no explicit exclusions.

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