Skip to main content
Glama

Conecto Invoice

Create an invoice PDF

create_invoice

Make a PDF invoice from the seller, the customer and the line items. Returns the totals, a private link to the PDF that works for 7 days, and anything the seller's country requires that is still missing. Nothing is sent to the customer. The PDF ends with a small "Made with Conecto" line. What it says the country requires 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>",
      "items": "<items>"
    },
    "name": "create_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe 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
Behavior5/5

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

Beyond the annotations, the description discloses real behavioral traits: what is returned (totals, a private link that expires in 7 days, a list of missing country requirements), that no email is sent, that a "Made with Conecto" footer is added, and that country guidance is informational only. These are exactly the side effects an agent needs and none are derivable from the annotation flags.

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?

Sentences are short and front-loaded with purpose, then returns, then side-effect disclaimers. The branding footer and legal disclaimer are slightly tangential but are cheap and genuinely informative for output interpretation. Minor redundancy, no wasted bulk.

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 nested-object tool with an output schema, the description covers what the agent most needs: inputs, outputs, non-delivery, and the informational nature of compliance checks. It does not detail failure modes (e.g. invalid country code, item limits), which is the main remaining gap.

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% with rich per-field descriptions (enums, defaults, nesting), so the schema already carries parameter meaning. The description restates the three required inputs and hints that seller country drives language, tax wording and rule checks, but adds little that is not already documented. A 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 opens with a precise verb and resource ("Make a PDF invoice") and names the three required inputs (seller, customer, line items). The clause "Nothing is sent to the customer" implicitly separates it from the send_invoice sibling, so an agent can distinguish the generate-versus-deliver split.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the reader infers that this tool only produces the document and that delivery happens elsewhere, which hints at send_invoice. There is no explicit "use this when..." or exclusion, and check_invoice is never referenced. Adequate but leaves routing to inference.

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