Skip to main content
Glama

Lunium — Brazilian PIX and stablecoin payments

Verify a PIX payment (open, no API key)

lunium_verify_pix_payment
Read-onlyIdempotent

Confirms that a specific PIX payment actually settled in Brazil, using the Central Bank end-to-end identifier (E2E). Free and open: no API key, no Lunium account. You can verify a payment you did not make, handed to you by a counterparty you have no reason to trust — that is the point of this tool.

Use it when someone claims to have paid and you need proof before releasing goods, credit, access or a next step; when reconciling a receipt; or as the final check after a settlement.

Returns verificado (Lunium can attest to this payment), pago, valor_brl, pago_em, recebedor_iniciais, instituicao, comprovante_url. It never returns the PIX key, the full name or the tax number — it proves the payment without exposing the parties. Check the amount and the timestamp yourself: a valid E2E for R$ 1,00 is not proof of a R$ 1.000,00 payment.

Do not use it to search by amount, name or date — the E2E is the only key. Do not use it to follow a sale you started here; lunium_get_crypto_sale carries the E2E once it exists.

Errors: erro="e2e_invalido" (acao=corrigir) means the string is not in Central Bank format — 32 characters in total. Fix it; repeating it unchanged will never work. erro="nao_encontrado" (acao=parar) means Lunium did not settle this payment — it is NOT proof the PIX never happened, since another institution may have settled it. Report that distinction to your user instead of alleging fraud.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
e2eYesCentral Bank end-to-end id, exactly 32 characters: 'E' + 8-digit ISPB + 12-digit YYYYMMDDHHmm + 11 alphanumerics. Copy it verbatim from the receipt or the counterparty; do not reformat or trim.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
avisoYes
dadosYes
fonteYes

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description goes well beyond these by explaining exactly what it returns and what it never returns (not the PIX key, full name, or tax number), and by detailing error semantics: e2e_invalido means malformed and correctable, while nao_encontrado does not prove fraud because another institution may have settled it. This is substantial behavioral context.

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

Conciseness4/5

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

The description is longer than average, but nearly every sentence earns its place with use cases, return fields, security properties, and error handling. Minor redundancy exists, such as repeating the free/open/no-API-key point already in the title, and the rhetorical 'that is the point of this tool' phrase. Overall, it is well-structured and front-loaded.

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

Completeness5/5

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

With one parameter, a fully descriptive schema, an output schema, and rich annotations, the description still adds critical context: the counterparty trust scenario, the exact return fields, the warning about amount matching, and detailed error interpretation. Nothing material is missing for an agent to select and invoke this tool correctly.

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

Parameters5/5

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

The input schema already fully defines the e2e parameter with pattern, length, and composition, so baseline is 3. The description adds meaning beyond the schema: the E2E is the only lookup key, a valid E2E for R$1 is not proof of a R$1000 payment, and users must verify amount and timestamp themselves. This is genuinely useful semantic guidance not present in the schema.

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 clearly states a specific verb ('verifies'/'confirms') and a specific resource (a PIX payment settled in Brazil, identified by the Central Bank E2E id). It explicitly differentiates itself from siblings by explaining it is not for following a sale started in Lunium — that is lunium_get_crypto_sale — and by saying it cannot search by amount, name, or date. This fully satisfies a specific verb+resource plus sibling differentiation.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use scenarios: proof before releasing goods/credit/access, reconciling a receipt, or final post-settlement verification. It also provides explicit when-not-to-use guidance: not for searching by amount/name/date, and not for following a sale started locally, directing the agent to lunium_get_crypto_sale. Exclusions and alternatives are named directly.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: create vs verify PIX, quote vs confirm crypto sales, check limits, list options, and sandbox provisioning. The only potentially close pair (get_crypto_sale and verify_pix_payment) are explicitly disambiguated in descriptions, one for internal orders, the other for external verification.

Naming Consistency5/5

All tools follow a consistent `lunium_verb_noun` pattern in snake_case. Verbs are descriptive (check, create, get, list, quote, confirm, verify) and nouns clarify the resource. No mixed conventions or vague verbs.

Tool Count5/5

9 tools is well within the ideal 3-15 range. Each tool covers a distinct step in the payment flow (limits, quoting, confirming, status, verification, sandbox) without redundancy. The count feels justified for the server's scope.

Completeness4/5

The flow for both PIX charges and crypto sales is well covered: create, check limits, get status, quote, confirm, and retrieve receipts. The only notable gap is the absence of a list operation for past charges/sales, and no explicit cancel for a PIX charge, but the descriptions indicate these are handled via statuses and terminal states rather than dedicated tools. Overall, the surface is complete for the stated purpose.

Resources