Skip to main content
Glama
mcp-server-acube

mcp-server-acube

by nick-preda

send_invoice

Sends a FatturaPA e-invoice to Italy's SDI system and returns the assigned UUID on acceptance, so you can submit invoices and track their delivery status.

Instructions

[SANDBOX] Send a FatturaPA invoice to SDI. Returns the assigned UUID (HTTP 202).

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

Input Schema

NameRequiredDescriptionDefault
signNoDigitally sign before sending (X-SignInvoice header)
invoiceYesComplete FatturaPA JSON with fattura_elettronica_header and fattura_elettronica_body

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the call returns an assigned UUID with HTTP 202, implying asynchronous acceptance, but says nothing about authentication, idempotency, what happens on rejection or validation failure, or what [SANDBOX] actually changes about delivery.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the environment tag and the destination, with no filler. Every element — sandbox flag, action, format, return value, status code — carries information the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool takes a nested, structurally strict FatturaPA payload and performs an irreversible send to a tax authority, with no annotations and no output schema. Disclosing the UUID return is good, but for this complexity the description should also cover validation/rejection behavior and the sandbox's limitations.

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%, so the schema already documents both parameters, including the X-SignInvoice header behavior for `sign`. The description adds no parameter-level meaning beyond that, which is acceptable at this coverage level but not additive.

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?

The description gives a specific verb ("Send") and a precisely named resource ("FatturaPA invoice") plus the destination system (SDI), which implicitly separates it from send_simplified_invoice and send_receipt by document format. The [SANDBOX] prefix also tells the agent this is not the production channel, though the description never explicitly names the alternative tools.

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

Usage Guidelines2/5

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

There is no statement of when this tool should be chosen over send_simplified_invoice or send_receipt, and no prerequisites are given (e.g. that the payload must be a complete FatturaPA document). The only contextual hint is the [SANDBOX] tag, which suggests a test environment but is never explained.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.