Skip to main content
Glama

Conecto Invoice

Email an invoice

send_invoice

Email the invoice to the customer as a PDF, from the seller's own email address (the invoice's seller.email, which gets the replies). The first time an address sends, a six-digit code is emailed to it and nothing is sent; call again with the same details and that code. The answer then carries a sender_token for more sends from that address. A sender can email 3 invoices a day, one a day to the same customer; a payment link must be on a payment provider's site.

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>",
      "to": "<to>"
    },
    "name": "send_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe customer's email address the invoice goes to.
codeNoThe six-digit code emailed to the seller's address, when asked for.
noteNoA short plain-text note to the customer. Links in it are taken out.
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.
sender_tokenNoThe sender_token an earlier send_invoice returned for this seller's address.
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.2/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-idempotent, open-world, non-destructive action; the description adds the real behavioral picture: a two-step verification handshake, that the first attempt sends nothing, the sender_token returned for reuse, per-sender and per-customer daily caps, and the requirement that payment links live on a provider's site. This is exactly the context annotations cannot convey.

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?

Three dense sentences, front-loaded with the core action before the verification flow and limits. Nearly every clause carries information, though the rate-limit phrasing ('one a day to the same customer') is compressed enough to be slightly ambiguous.

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 23-parameter, nested-object tool with an output schema, the description covers the parts an agent cannot infer from the schema: the verification step, token reuse, and throttling. The return payload is rightly left to the output schema. Failure handling beyond the code step is not described, which is a modest gap.

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 100%, so the baseline is 3, but the description adds meaning the schema does not: seller.email is what receives replies, and the code plus sender_token parameters exist specifically to complete and then shortcut the verification flow. It does not, however, clarify any of the other 20 parameters beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a precise verb and resource: email the invoice to the customer as a PDF, sent from the seller's own address. That clearly distinguishes it from check_invoice and create_invoice without needing to name them. It stops short of an explicit sibling callout, so 4 rather than 5.

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 concrete situational guidance: the first send to a new address triggers a six-digit code and nothing is delivered, so retry with the same details plus the code; later sends can reuse the returned sender_token. The rate-limit rules (3 per day per sender, 1 per day per customer) and the payment-link constraint further constrain when the call will succeed. Alternatives among siblings are never named, which keeps it from a 5.

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