Skip to main content
Glama

invoice_get

Read-onlyIdempotent

Read an invoice by id (INV-XXXX-XXXX, with or without dashes): requested amount, token, network, receiver, status (open or paid), the paying transaction once paid, and received (the raw amount measured on-chain so far). Pending payments are re-checked on-chain by the read, at most two per read and each at most every 15 seconds. checks lists the older paid screening of an invoice created before 07/11/2026 ([] for new ones), which paying runs on both wallets once analysis.status is paid; payerChecks lists the analysis of the paying wallet the receiver asked and paid for. receiverAnalysisFee, on an open invoice where the payer can buy the receiving wallet analysis (invoice_analysis_pay with checks): {available: true, amount} is the charge in dollars, one consultation at the fixed price, or {available: false, minimum} when the amount is below the minimum and there is nothing to buy. For such an older invoice, analysis.report (Merkle Science only) carries, once the invoice is paid, the detail of both wallets; for payerChecks the result goes to the creator alone, on the site, and does not come here (over the web app, a signed session of the creator also sees the detail of the receiving wallet while it is open): score, severity, summary, main risk category, risk factors and sourceOfFunds (the largest origins of the money, up to 8, with category, entity, percentage, USD amount and direct or indirect exposure). confidential is true on a private invoice, with recipient null here; confidentialChecks lists the paid analyses its creator chose for the private contract (merkle-science and crystal on one created before 19/11/2026). With privateContract: true it is paid only on its page through the Vurto Private Contract (invoice_pay answers private_invoice_vault_only) and paidTx stays null. With privateContract false it is a private invoice created before 14/10/2026: it can no longer be paid (invoice_pay answers private_invoice_paused), and its paying transaction, once paid, shows the receiver on-chain.

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": {
      "id": "<id>"
    },
    "name": "invoice_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesINV-XXXX-XXXX or the 8-character id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare the safe read-only profile, and the description adds meaningful behavior beyond them: pending payments are re-checked on-chain with a rate limit of at most two per read and each at most every 15 seconds. It also discloses private-invoice and private-contract payment restrictions, though those details are presented in a dense, hard-to-parse form.

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 opening sentence is clear and front-loaded, but the rest is an extremely long run-on paragraph with nested conditionals about invoice states, private contracts, and sibling-tool responses. Much of the content may be useful, but the structure makes it difficult to scan and the description is far from concise.

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?

There is no output schema, so the description must carry return-value semantics, and it does explain the key fields such as amount, status, paying transaction, checks, payerChecks, receiverAnalysisFee, confidentialChecks, and privateContract. The coverage is substantial, though the organization could be clearer and some error/permission details are absent.

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?

The input schema has full coverage for the single id parameter, including the INV-XXXX-XXXX or 8-character format. The description repeats the id format but adds no further meaning about the parameter beyond what the schema already provides, so the baseline of 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?

The first sentence states a specific verb and resource: "Read an invoice by id," and enumerates the fields returned. It does not explicitly contrast the tool with retrieval alternatives, though its mentions of invoice_pay and invoice_analysis_pay clarify some boundaries.

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

Usage Guidelines2/5

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

The description says to read an invoice by id but gives no explicit guidance on when to choose this tool over siblings such as invoice_report_analysis_payment. Conditions like pending re-checks are described, but they explain behavior rather than when-to-use selection.

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