Skip to main content
Glama
Fatture in Cloud MCP Server

Fatture in Cloud MCP Server

delete_archive_document

Destructive

Moves an archived document to the trash by ID, allowing recovery later via recover_document; supports optional company selection.

Instructions

Elimina un documento d'archivio. I documenti finiscono nel cestino e si recuperano con recover_document.

Input Schema

NameRequiredDescriptionDefault
idYes
company_idNoAzienda su cui operare. Default: FIC_COMPANY_ID o l'unica azienda del token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A3.6/5.0
Behavior4/5

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

The destructiveHint=true annotation already flags this as a destructive operation, so the description's main added value is disclosing that deletion is soft ("finiscono nel cestino") and reversible via recover_document. That is genuinely useful context beyond the annotation, though it omits permission requirements, the company scoping behavior, and whether/when trash items are purged permanently.

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 with zero waste; the action is front-loaded and the recovery consequence follows immediately. Every sentence 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 two-parameter destructive tool with an annotation covering the safety profile, the description supplies the essential missing piece (soft delete plus recovery route). Remaining gaps, such as parameter roles and the permanent-purge timeline, are minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: company_id is documented in the schema but id is not, and the description says nothing about either parameter. It neither clarifies what id refers to (archive document identifier) nor explains the company_id default or scoping implications, so it adds no meaning beyond the schema.

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 states a specific verb and resource ("Elimina un documento d'archivio"), which lets an agent distinguish it from the many sibling deletes (delete_received_document, delete_issued_document, delete_receipt) by resource type. It stops short of explicitly naming those siblings, so it is clear but not maximally differentiating.

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 only implied: delete an archive document when you want it removed. The description does point to the recovery path ("si recuperano con recover_document"), which is a useful alternative reference, but it gives no explicit when-to-use/when-not-to-use guidance relative to update_archive_document or the other delete_* tools.

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

Deploy Server

Other Tools