Skip to main content
Glama
heldertnn-glitch

mcp-proofjson

assess_invoice_before_payment

Evaluate invoice payment risk using supplied data and policy. Returns allow, review, or block decision with reasons and confidence.

Instructions

Assess invoice payment risk before paying, approving, scheduling or escalating an invoice. Returns a decision (allow | review | block) with reasons, confidence, scope, checks_performed, checks_not_performed and human_confirmation_required. ProofJSON v1 is supplied_data_only: it assesses the supplied invoice data, supplied context and configured policy. It does NOT independently verify supplier IBAN ownership, sanctions status, bank account ownership or external payment history unless external trust adapters are configured. allow is not a guarantee the invoice is safe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoiceYessupplier_name, invoice_number, amount, currency, payment_iban, payment_account, purchase_order_number
expectedNoOptional caller expectations: supplier, amount, currency, iban
policyNoOptional: review_above_amount, block_unknown_supplier, require_purchase_order
historyNoOptional: previous_invoice_ids
Behavior5/5

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

With no annotations, the description fully discloses limitations: no independent verification unless external adapters configured, and that 'allow' is not a guarantee. This is comprehensive behavioral transparency.

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?

Description is a single paragraph of four sentences, front-loaded with purpose and return value. It is efficient but could be slightly more concise; no wasted words.

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 complex tool with nested objects and no output schema, the description covers purpose, return structure, limitations, and behavioral traits adequately. Minor omissions (e.g., detailed output fields) but sufficient for safe use.

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 baseline 3. The description adds context about 'ProofJSON v1' and 'supplied_data_only' but does not significantly enhance parameter understanding beyond 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 the tool assesses invoice payment risk before actions like paying or approving, and distinguishes from siblings (list_proofjson_packs, verify_proofjson_proof) which deal with different ProofJSON operations.

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?

Explicitly specifies when to use (before paying/approving/scheduling/escalating) and what it does not do (e.g., independent verification of IBAN ownership, sanctions). Lacks explicit when-not-to-use but provides good context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/heldertnn-glitch/mcp-proofjson'

If you have feedback or need assistance with the MCP directory API, please join our Discord server