Skip to main content
Glama
mcp-server-acube

mcp-server-acube

by nick-preda

recover_rejected_invoices

Recover and reprocess rejected Cassetto Fiscale invoices for a fiscal ID within a date range, enabling failed submissions to be corrected and resubmitted.

Instructions

[SANDBOX] Recover and reprocess rejected Cassetto Fiscale invoices.

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": {
      "fiscal_id": "<fiscal_id>",
      "from_date": "<from_date>",
      "to_date": "<to_date>"
    },
    "name": "recover_rejected_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_dateYesEnd date (YYYY-MM-DD)
fiscal_idYesFiscal ID
from_dateYesStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not explain whether reprocessing mutates invoice state, whether the operation is reversible, what permissions are required, or what happens when recovery fails.

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?

The description is a single front-loaded sentence with no filler, and the sandbox marker appears immediately. However, its extreme terseness leaves important operational context unstated rather than merely concise.

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

Completeness2/5

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

For a state-changing recovery/reprocessing tool with no annotations, no output schema, and three required parameters, the description is materially incomplete. It does not cover side effects, return behavior, error conditions, or what constitutes a successful recovery.

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 all three required parameters are already documented in the input schema. The description adds no additional meaning about how fiscal_id or the date range constrain which rejected invoices are recovered.

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 uses specific verbs ('Recover and reprocess') and a defined resource ('rejected Cassetto Fiscale invoices'), making the operation distinguishable from sibling tools such as list_invoices or count_rejected_invoices. The '[SANDBOX]' prefix also signals a restricted environment, though it does not explain what sandbox behavior means.

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?

It implies usage for rejected invoices but provides no explicit when-to-use guidance, prerequisites, or comparison to alternatives such as count_rejected_invoices or list_invoices. The agent is left to infer when recovery is appropriate.

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