Skip to main content
Glama

dpo2u_check_counterparty

Check before you pay: antes de pagar ou transferir, confere se a contraparte tem passaporte DPO2U válido. Devolve PASS/FAIL, motivos, policy_hash, link de verificação, a prova on-chain e o que as cadeias dizem (passaporte na Avalanche; com transfer_id, o veredito de Travel Rule espelhado na Stellar e na Avalanche). Pago por chamada via x402 (USDC na Stellar).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "passport_id": "<passport_id>"
    },
    "name": "dpo2u_check_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
marketNoMercado (ISO 3166-1 alfa-2, ex.: BR, PT, US). Padrão BR.
x_paymentNoOpcional. Base64 do PaymentPayload x402 que paga esta chamada. Sem ele, a resposta traz payment_required com os requisitos x402.
passport_idYesPassaporte DPO2U da contraparte
transfer_idNoOpcional: id da transferência (bytes32 hex). Traz o veredito de Travel Rule espelhado na Stellar e na Avalanche.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load and does well: it discloses the paid-per-call x402 model (USDC on Stellar), that a lack of payment payload yields payment_required, and which chains back each verdict. It does not state that the call is read-only/non-mutating or anything about latency, leaving a small gap.

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?

Front-loads the purpose ('Check before you pay') and then packs return values and payment mechanics into one dense but purposeful block. The output enumeration is long yet each item is informative; no filler sentences.

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?

For a check tool with no output schema, the description explains the return payload well (PASS/FAIL, motivos, proof, chain verdicts) and the payment gate. Missing only secondary details such as the concrete price and non-mutating guarantee, which keeps it from a 5.

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 all four parameters are already documented in the schema, including market default BR and transfer_id's Travel Rule effect. The description restates the transfer_id behavior but adds no format or edge-case meaning beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ('confere se a contraparte tem passaporte DPO2U válido') plus the trigger context ('antes de pagar ou transferir'), and enumerates the outputs (PASS/FAIL, motivos, policy_hash, link, prova on-chain, vereditos de cadeia). It does not explicitly differentiate itself from the sibling dpo2u_counterparty_due_diligence, so it falls short of a 5.

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?

Gives a clear invocation condition: run this before paying or transferring to a counterparty. It also implies when the extended mode applies ('com transfer_id, o veredito de Travel Rule'). It does not name alternatives or exclusions, so it stops short of explicit routing guidance.

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