Skip to main content
Glama

Conecto Invoices

Send a quote or invoice

invoices_send

Send a draft: it takes the next number (gapless), its PDF is made and kept in the file store, and the customer is emailed a link to its page (to view, pay or accept it) and to the PDF. On a document already sent it emails it again (to to, if given). email: false sends it without emailing anyone, to hand the link over yourself. When the account keeps books (books_setup), a sent invoice is posted to them. Before an invoice or credit note takes its number it is checked against the law of the business's country (in the EU, the UK and Switzerland: the business's address and VAT ID, the customer's VAT ID and address where needed, why a line has no tax, the VAT in the national currency); what is missing is refused for free, warnings come back. With e_invoice set it also goes out as an EN 16931 e-invoice (Factur-X inside the PDF, or an XRechnung XML beside it), validated against the official schema first. Costs $0.25 per call; nothing if it fails.

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": {
      "invoice_id": "<invoice_id>"
    },
    "name": "invoices_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoSend to this address instead of the customer's email.
emailNofalse: number it and make the PDF and the page, but email no one.
messageNoA short note in the email, e.g. "Thanks for your order!"
invoice_idYesThe invoice_id invoices_create returned (quotes and credit notes have one too).
link_hoursNoHow long the PDF download link works, in hours (up to 168).

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?

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) by disclosing that numbering is gapless, the PDF is persisted in the file store, re-sends email again, books posting depends on books_setup, legal validation per country can refuse the request, and e_invoice adds a Factur-X/XRechnung artifact. It even discloses the $0.25 cost and that failures are free — unusual and highly useful behavioral context.

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 the primary effect in the first clause and keeps everything in one dense paragraph with no filler. The legal/e-invoice sentences are long and nest several clauses, which slightly hurts scannability for a definition of this size.

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?

For a complex non-idempotent, billable, externally-visible operation with no output schema, the description covers the effects, side effects, validation failures, cost and email behavior an agent needs to decide to call it. The only mild gap is that the exact response payload (number, link) is implied rather than stated.

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 description coverage is already 100%, so the baseline is 3, and the description adds real meaning beyond it: it explains what email: false actually does (number and generate PDF/page but email nobody), and frames the `to` override as a redirect on re-send. It says nothing extra about link_hours or message, which remain schema-only.

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 specific verb (send) and resource (draft invoice/quote/credit note) and enumerates the concrete effects: gapless numbering, PDF generation into the file store, and customer email with a page link and PDF. An agent can immediately tell this apart from invoices_create (which produces the draft) and from the various *_send siblings, which handle unrelated artifacts.

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 triggering conditions in multiple modes: send a draft, re-send to an already-sent document (optionally redirecting to `to`), or suppress email entirely with email: false. It does not name a sibling alternative such as invoices_remind for chase-ups or invoices_convert_quote for converting first, so the when-not/alternative dimension is only implicit.

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