Skip to main content
Glama

LLPRO Finance

Make a PDF invoice from invoice fields, with a signed receipt of its hash

invoice_make
Read-onlyIdempotent

Make a clean PDF invoice from invoice fields, and get back a signed, dated receipt of the PDF's hash, so either side can later show which invoice was made and when. Send: number, issue_date (YYYY-MM-DD), optional due_date, currency (USD, EUR, GBP ... 43 supported), seller {name, address, tax_id, contact}, buyer {name, address, ...}, items [{description, quantity, unit_price}] (up to 40), optional tax_lines [{label, rate_percent OR amount}], notes, payment_terms. Every number, rate and tax line is yours: we only add them up (half-up rounding to the currency's smallest unit); no tax advice, no tax rules, no checking of tax ids. Moves no money and makes no payment link: web addresses and links (dotted names, IP addresses, schemes such as http: or pay:) are refused in every text field. Free, no sign-up, 100 invoices a day per caller. Stores nothing: the signed receipt holds the number, dates, totals and hashes, never names or addresses. Text must use Western European letters (the Windows-1252 set; accented Latin letters, euro, pound, yen). Answer: pdf_base64, totals, signed observation, receipt. Docs: https://llpro.ai/invoice-maker

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": {
      "number": "<number>",
      "issue_date": "<issue_date>",
      "currency": "<currency>",
      "seller": "<seller>",
      "buyer": "<buyer>",
      "items": "<items>"
    },
    "name": "invoice_make"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyerYes
itemsYes
notesNo
numberYesInvoice number: letters, digits, space and . _ / # - (1 to 40).
sellerYes
currencyYesThree-letter code, for example USD, EUR, GBP, JPY.
due_dateNoYYYY-MM-DD, on or after the issue date.
tax_linesNo
issue_dateYesYYYY-MM-DD (2000 to 2100).
payment_termsNoPlain words, for example 'Net 30. Bank transfer, account details sent separately.' No web addresses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it a safe, idempotent, open-world read; the description goes well beyond that with rate limits (100/day per caller), no sign-up, statelessness ('stores nothing' — the receipt carries totals and hashes, never names/addresses), URL/IP/scheme refusal in all text fields, half-up rounding to the currency's smallest unit, and the 43-currency and encoding constraints. None of this contradicts readOnlyHint; it is consistent with a computation that persists nothing.

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 purpose and the receipt guarantee before the field list and constraints, and almost every clause carries operational information. It is delivered as one dense paragraph, so the constraint block (links refused, encoding, rate limits, privacy) would scan faster with breaks, but there is little true filler.

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 no output schema, the description still names the return payload (pdf_base64, totals, signed observation, receipt) and points to docs. For a 10-parameter nested tool it covers limits, refusal rules, privacy, pricing and rounding well enough that an agent can call it correctly in one pass.

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

Parameters4/5

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

Schema coverage is 50%, so the description carries real weight: it enumerates the payload shape (number, issue_date, currency, seller/buyer, items, tax_lines, notes, payment_terms), clarifies tax_lines as label plus rate_percent OR amount, and stresses that rates, numbers and tax lines are caller-supplied with only summation performed. It omits a few limits the schema itself owns (tax_lines max 5, item max 40 is stated) but adds meaning rather than repeating.

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?

States a concrete verb and deliverable: build a PDF invoice from supplied fields and return a signed, dated receipt of the PDF hash. The 'either side can later show which invoice was made and when' clause distinguishes it from verification/duplicate-check siblings without naming them, which is enough for selection.

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 clear context for use plus explicit negative scope: it moves no money, creates no payment link, and gives no tax advice or tax-id validation, so an agent knows not to route payment or tax-compliance tasks here. It stops short of naming a sibling alternative (e.g. receipt_verify or duplicate_invoice_check) for follow-up steps.

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