Skip to main content
Glama

Notifiche SDI di una fattura

get_invoice_notifications
Read-only

Retrieve SDI notifications for a specific invoice using its filename to check delivery outcomes such as receipt, rejection, or missed delivery.

Instructions

Restituisce le notifiche SDI di una singola fattura a partire dal nome file (es. ricevuta di consegna, scarto, mancata consegna). Funziona anche con utenza base: è il modo per tracciare lo stato di una fattura inviata via API (il filename è restituito da send_invoice come uploadFileName).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directionYes"sent" = fatture inviate (ciclo attivo), "received" = fatture ricevute (ciclo passivo)
invoiceFilenameYesNome file della fattura (es. IT01307730869_00001.xml), come restituito da send_invoice
Behavior3/5

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

The readOnlyHint=true annotation already covers the safety profile as a read operation, so the bar is lower. The description adds that it works with base accounts and retrieves specific notification types (delivery receipt, rejection, non-delivery), but doesn't detail return format, pagination, or what happens when notifications don't exist yet for a fresh invoice. Adequate but not rich.

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 sentences with zero wasted words. The first states purpose with examples; the second gives a critical usage note tying it to send_invoice and clarifying it works on a basic account. Every word earns its place.

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 simple read tool with 2 required, fully-documented params and a readOnlyHint annotation, the description is reasonably complete. It covers purpose, usage context, and the source of the key parameter. It doesn't describe output shape since there's no output schema, but for a notification-status tool the description covers the essential agent decisions.

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 well. The description adds the note that invoiceFilename matches what send_invoice returns as uploadFileName, which is useful cross-tool context, but both parameters are already clearly described in the schema. 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 states the tool returns SDI notifications for a single invoice by filename (delivery receipt, rejection, non-delivery), a specific verb+resource with clear scope. It also distinguishes itself from siblings by noting it works with basic accounts and that it's the way to track an invoice sent via API, tying directly to send_invoice's uploadFileName.

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

Usage Guidelines5/5

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

The description explicitly says when to use it: to track the status of an invoice sent via API, noting it works even with a basic account and referencing that the filename comes from send_invoice's uploadFileName return value. This provides concrete usage context and distinguishes it from sibling tools like search_invoices and get_invoice_detail.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MarckDev/aruba-fatture-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server