Skip to main content
Glama

Arquivix Notas · NFS-e

payment_status

Read-onlyIdempotent

Status of a credit purchase. Takes exactly one of payment_id (Pix or card) or session_id (card). Returns pending, paid (with the new credit balance), expired or cancelled. The status changes only when the payment provider confirms it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "payment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_idNopayment_id returned when the purchase was created.
session_idNosession_id returned when a card purchase was created.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the safety profile is known. The description adds genuinely new behavioral context: the exact outcome set (pending, paid, expired, cancelled), that paid includes the new credit balance, and that the status only advances when the provider confirms, which warns against assuming immediate updates.

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?

Four short sentences, each carrying distinct information: purpose, input constraint, return values, and update semantics. No filler and the purpose is front-loaded.

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?

With no output schema, the description correctly carries the return-value burden by naming every status and the paid-payload detail. It stops short of what happens for an unknown or expired-out identifier, which is the only remaining gap for a read-only lookup.

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?

Schema coverage is 100%, so the baseline is 3, but the description exceeds it by mapping payment_id to Pix-or-card purchases and session_id to card-only purchases and by stating that exactly one must be supplied. That exclusivity rule is not expressible in a schema where required is empty, so it adds real meaning.

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 states a specific resource, the status of a credit purchase, and clarifies the retrieval scope by enumerating the four possible outcomes. It is distinguishable from credits_purchase and credits_balance by resource alone, though it never names a sibling explicitly.

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?

"Takes exactly one of payment_id (Pix or card) or session_id (card)" gives a concrete rule for which identifier to supply depending on payment method, and the mutual-exclusivity constraint is clear. There is no explicit when-not-to-use guidance or routing to alternatives such as credits_balance for balance reads.

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