Skip to main content
Glama

invoice_analysis_pay

Do not use it on an invoice whose split.rule is "flat" or "brackets" (created since 10/11/2026): its fee is inside the payment and already pays the analysis of both wallets, and the call is refused with analysis_included_in_fee (409). Without checks: the charge of the invoice creator, for an older invoice with payerChecks or paid checks whose analysis.status is awaiting_payment (see invoice_get). Builds ONE USDC transfer of analysis.amount (the price written when that invoice was created: 0.10 Scorechain, 0.40 Merkle Science, 0.50 both) to the Vurto fee wallet (analysis.to), signed by the invoice creator. Sign the charge transaction exactly as returned: it carries the mark that ties the payment to this charge (16 bytes after the transfer arguments on EVM, a memo on Solana). A transfer you build yourself is refused with analysis_payment_rejected, reason charge_not_tied, after the money has left; do not pay again, prove the wallet (destination_challenge with wallet = payer, receiver = details.feeWallet, chargeId = this charge and chargeTxHash = that hash, then destination_authorize) and report the same hash again. Nothing is signed or sent here. The free screening runs first on the receiving wallet and on the creator: a rejected wallet gets screening_blocked (403) and nothing is built; a screening that cannot be read gets screening_unavailable (503). payer must be the creator (the receiving wallet when the invoice was created without a session, which is always the case over MCP); any other wallet gets not_invoice_creator (403) before anything is built. plan has the same shape as invoice_pay (prepare_signing; on Solana POST the signed transaction to /v1/svm/execute), then call invoice_report_analysis_payment with the hash or signature. Paying it from another token is a swap built over the HTTP API (POST /v1/swap on EVM, POST /v1/svm/swap on Solana) from the creator wallet with tokenOut = analysis.token, receiver = analysis.to and invoiceId = this invoice, sized so the guaranteed minimum covers analysis.amountRaw; report its hash or signature to invoice_report_analysis_payment. On EVM only a swap built that way counts (the transaction must match that build); on Solana the Vurto fee wallet must be the only wallet whose USDC rises in it, and it must be the transaction we built, which carries the mark. The minimum must stay between the charge and 10% above it (charge_swap_below_amount, charge_swap_above_amount). A swap that only pays a fee to the same wallet does not count. Errors: no_paid_check, analysis_already_paid, analysis_included_in_fee, invoice_already_paid, not_invoice_creator, screening_blocked, screening_unavailable. Invoices of the new model (Solana, and EVM networks with a split contract): this is how the PAYER buys the paid analysis of the RECEIVING wallet, with their own money, before paying. Pass payer = the paying wallet and checks (["merkle-science"], ["scorechain"] or both). Since 16/11/2026 the charge is one consultation at the fixed price (https://docs.vurto.cc/fees), the same with one tool or two and whatever the amount, in the network USDC: invoice_get receiverAnalysisFee gives it before you build ({available: true, amount} in dollars) or says the amount is below the minimum ({available: false, minimum}). Below the minimum the call is refused with amount_below_analysis_minimum (400, details.minimum), and on an invoice in a token that is not a dollar stablecoin with stablecoin_required (400). Adding a tool to an analysis already paid and fresh is a new purchase at the same fee. A tool that already ran on that wallet for this payer up to 30 days ago, with no movement measured on the wallet since (on EVM: the same nonce, native balance and balance of every dollar stablecoin of the network, and no contract code; on Solana: no new confirmed signature and the same SOL and associated dollar stablecoin accounts; a read that fails, or any other token or NFT, is not seen, and then the provider is called), comes from the history instead of the provider; each paid tool of the report carries analyzedAt, the day it ran. A new purchase needs no wallet proof, the payment itself proves it; giving it up and changing the tools of an existing charge do (destination_challenge/destination_authorize for this invoice's receiver; without it payer_signature_required, 401). The free screening of both wallets must pass (screening_blocked 403). It returns receiverAnalysis {status: awaiting_payment, amount, to} and the USDC transfer to sign; report it with invoice_report_analysis_payment (txHash and payer). The fee follows the invoice amount, never the number of tools, and the analysis never goes inside the payment. A charge opened before 11/11/2026 and not paid is rewritten with the fee the next time it is built, and reporting a hash on it pays the recorded value only when the network mined it before this deploy; otherwise the charge is rewritten and the answer is analysis_charge_replaced (409): build and sign again. There is no free reuse: every purchase pays the fee. analysis_tool_unavailable (503) when the tool is not answering: nothing is charged. An open, unpaid analysis does not hold invoice_pay, because anyone can open one naming a wallet: pay and report it BEFORE invoice_pay if you want its verdict to count. A paid one goes stale when the receiving wallet moves, and then invoice_pay refuses with receiver_analysis_unpaid (409) until it is redone. checks: [] gives it up. The result comes back without the receiving wallet. Paying it from another token exists on Solana only: POST /v1/svm/swap from the payer with receiver = the fee wallet (receiverAnalysis.to) and invoiceId = this invoice. On EVM the payer pays with the USDC transfer. A tool in checks that Vurto switched off is left out and not charged (skippedChecks); when every tool asked was switched off the answer is only { skippedChecks }, and an open charge is not touched.

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>",
      "payer": "<payer>"
    },
    "name": "invoice_analysis_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesINV-XXXX-XXXX or the 8-character id.
payerYesWith checks: the paying wallet, which buys the analysis of the receiving wallet. Without checks: the invoice creator wallet, which pays the analysis it asked for (payerChecks, or the older paid checks of an invoice created before 07/11/2026).
checksNoThe paid analyses of the RECEIVING wallet the payer buys. [] gives up an unpaid one, and only [] does: on an invoice whose payer analysis is split, leaving it out is invalid_check (400).
walletProofNoOnly when checks name "crystal": the walletProof of the PAYER from kyc_proof (vkp_..., 30 minutes). The destination authorization does not prove the wallet for Crystal; without the proof, kyc_wallet_signature_required (401).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / checks / items / enum
      Previous value: -[
      -  "scorechain",
      -  "merkle-science"
      -]New value: +[
      +  "scorechain",
      +  "merkle-science",
      +  "crystal"
      +]
    • addedInput schema / properties / walletProof
      Added value: +{
      +  "description": "Only when checks name \"crystal\": the walletProof of the PAYER from kyc_proof (vkp_..., 30 minutes). The destination authorization does not prove the wallet for Crystal; without the proof, kyc_wallet_signature_required (401).",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / payer / description
      Previous value: -"With checks: the paying wallet, which buys the analysis of the receiving wallet. Without checks, on an invoice created with paid checks: the invoice creator wallet, which pays the analysis it asked for."New value: +"With checks: the paying wallet, which buys the analysis of the receiving wallet. Without checks: the invoice creator wallet, which pays the analysis it asked for (payerChecks, or the older paid checks of an invoice created before 07/11/2026)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / checks / description
      Previous value: -"Solana only: the paid analyses of the RECEIVING wallet the payer buys. [] gives up an unpaid one."New value: +"The paid analyses of the RECEIVING wallet the payer buys. [] gives up an unpaid one, and only [] does: on an invoice whose payer analysis is split, leaving it out is invalid_check (400)."
    • changedInput schema / properties / payer / description
      Previous value: -"EVM (old model): the invoice creator wallet, which signs the analysis payment. Solana (new model): the paying wallet, which buys the analysis of the receiving wallet."New value: +"With checks: the paying wallet, which buys the analysis of the receiving wallet. Without checks, on an invoice created with paid checks: the invoice creator wallet, which pays the analysis it asked for."
  4. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses that nothing is signed or sent, free screening runs first and can block the build, the returned transaction carries a binding mark, and self-built transfers are rejected after funds leave. It also covers staleness, history reuse, charge rewriting, and a detailed error catalog. The annotations are not contradicted.

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 passage is extremely long and run-on, with the primary action buried after negative conditions and many repeated details about fees, swaps, staleness, and errors. It is not front-loaded and could be substantially consolidated without losing information. Structure is weak despite the richness of content.

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?

Given no output schema and high behavioral complexity, the description supplies a partial return shape (receiverAnalysis with status, amount, and to, plus the transfer to sign), a large error catalog, and edge cases for swaps, staleness, and charge replacement. It is complete enough for an agent to know what to expect and how to recover. The density makes it hard to parse, but the necessary context is present.

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%, and the schema already documents id, payer, checks, and walletProof, including the crystal proof requirement. The description adds model-specific meaning for payer and checks, but mostly restates their roles rather than adding new syntax or format detail. The baseline of 3 is appropriate when the schema does the heavy lifting.

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 ultimately states a specific action: it builds one USDC transfer of analysis.amount to the Vurto fee wallet, signed by the invoice creator or by the payer depending on the invoice model. It distinguishes this from invoice_pay and invoice_report_analysis_payment. However, the core purpose is buried behind an opening exclusion about split.rule, so it is not cleanly front-loaded.

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?

It gives explicit when-not guidance: do not use on flat or brackets invoices, below-minimum amounts are refused, and non-stablecoin tokens get stablecoin_required. It names alternatives and ordering, including using the HTTP swap for other tokens and calling invoice_report_analysis_payment afterward. It also explains the new-model payer/checks path versus the older creator-charge path.

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