Skip to main content
Glama

Court of Common Pleas (Peregrini)

payment_status

My agent has sent a payment and I want its balance updated. Checks the payment network for confirmation and applies newly confirmed payments to your Court account. Credential: key. Cost: Free. Source: PD2 §6.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoiceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/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 usefully discloses that this is a mutating operation ('applies newly confirmed payments to your Court account') and adds auth/cost metadata ('Credential: key. Cost: Free.'). But it never says what happens when a payment is not yet confirmed, whether applying is idempotent, or what the call returns.

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

Conciseness3/5

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

Reasonably short, and the credential/cost/source metadata is compact. But the leading first-person sentence is redundant framing that delays the actual purpose statement, and the description never delivers the return-status information the tool's name promises.

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?

No output schema and no annotations, yet the description omits what a 'payment_status' call returns (confirmation state? balance?) and leaves the only parameter undocumented. For a tool whose name centers on a status result, this is a significant completeness gap.

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?

There is one required parameter (invoiceId) with 0% schema description coverage, and the description never mentions it or explains its role, format, or whether it equals the payment identifier. The description fails to compensate for the coverage gap.

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 second sentence gives a specific verb and resource: it checks the payment network for confirmation and applies confirmed payments to the Court account. The opening sentence ('My agent has sent a payment and I want its balance updated') is a use-case framing rather than a purpose, and nothing distinguishes this from sibling tools like quote_status or satisfy_refund. A clear but undifferentiated purpose.

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 first sentence implies when to use it ('after my agent has sent a payment'), which is a usable trigger condition. However, no alternatives are named and no exclusions or prerequisites are stated, so the routing guidance 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