Skip to main content
Glama

Conecto Invoice

Check an invoice

check_invoice
Read-onlyIdempotent

Work out an invoice's totals and list what the law of the seller's country requires on it that is still missing, without making a file. Use it to review the details before create_invoice. Its answer is general information about invoice rules. It is not professional tax or legal advice.

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": {
      "seller": "<seller>",
      "customer": "<customer>"
    },
    "name": "check_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoThe lines of the invoice.
notesNoA note printed above the lines, like a project name or a purchase order number.
paperNoDefault: Letter for USD and CAD, A4 otherwise.
numberNoThe invoice number. Default INV-0001.
sellerYesWho the invoice is from. Its country sets the invoice's language, its word for tax and the rules checked.
currencyNoISO 4217 code, like USD, EUR or GBP. Default USD.
customerYesWho the invoice is for.
due_dateNoYYYY-MM-DD. Default: payment_terms_days after the issue date.
languageNoDefault: by the seller's country.
tax_rateNoTax in percent for lines that give none. Default 0.
tax_labelNoThe tax's name on the invoice, like VAT, GST or Sales tax. Default: the word used in the seller's country.
issue_dateNoYYYY-MM-DD. Default today.
legal_notesNoSmall print at the foot. Default: what the seller's country asks for on every invoice (France, Germany).
supply_dateNoYYYY-MM-DD the goods or services were supplied, or the first day of a period.
payment_linkNoAn https link where the customer can pay.
supply_untilNoYYYY-MM-DD, the last day of a supply period.
tax_exemptionNoWhy lines without tax have none. Printed with the legal wording.
payment_detailsNoHow to pay, printed under the totals: bank details or another way the seller accepts.
payment_terms_daysNoDays to pay when due_date is left out. Default 14.

Output Schema

NameRequiredDescriptionDefault
pdfNourl, name and expires_at of the PDF (create_invoice only).
sentNosend_invoice only: to, from, number, sent_at and left_today.
statusNosend_invoice only: code_sent or sent.
invoiceNoNumber, dates, parties, lines and totals.
missingNoWhat the seller's country requires that the invoice lacks.
warningsNoWhat is worth knowing before the invoice goes out.
sender_tokenNosend_invoice only: proof the seller's address confirmed its code, for more sends from it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description still adds real behavioral context the annotations do not: no file is produced, the country of the seller drives which rules are checked, and the result is general information rather than professional tax or legal advice. It does not describe pagination or result size, but the output schema covers the return shape.

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?

The core capability is front-loaded in the first clause, and the pre-create_invoice routing follows immediately. The closing two sentences split one idea (general information, not professional advice) across two sentences, which is slightly redundant but defensible for a legal disclaimer.

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 19-parameter, deeply nested tool with an output schema, the description covers what the tool does, that it is a dry run, and the epistemic caveat on its findings. The return shape needn't be explained given the output schema, so what remains missing is marginal.

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% across 19 parameters, including nested seller/customer objects and enums, so the schema does the heavy lifting. The description adds framing that seller.country determines the checked rules, but no syntax, defaults, or field-level meaning beyond what the schema already states. Baseline 3 is appropriate.

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 names a specific pair of verbs and objects: it computes an invoice's totals and lists legally required elements that are missing, all as a non-file-producing dry run. It explicitly contrasts itself with create_invoice, so an agent can distinguish it from that sibling without opening either schema.

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?

It gives an explicit when-to-use: review the details before create_invoice, with the implicit corollary that this is the preview step and create_invoice is the commit step. It does not mention send_invoice or state any when-not conditions, so it stops just short of full 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