Skip to main content
Glama
mcp-server-acube

mcp-server-acube

by nick-preda

count_rejected_invoices

Retrieves the number of rejected invoices from Cassetto Fiscale for a given fiscal ID, with optional date-range filtering.

Instructions

[SANDBOX] Count rejected invoices from Cassetto Fiscale for a fiscal ID.

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

Input Schema

NameRequiredDescriptionDefault
to_dateNoEnd date (YYYY-MM-DD)
fiscal_idYesFiscal ID
from_dateNoStart 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?

With no annotations at all, the description carries the full burden and supplies little: the "[SANDBOX]" tag is the only behavioral signal. It does not state that the operation is read-only, what the result is (a numeric count), how from_date/to_date affect the count, or what happens for an unknown fiscal ID.

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?

A single front-loaded sentence with no filler, and the environment tag is placed first where it is most visible. It is arguably over-compressed rather than verbose, but nothing is wasted.

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?

For a simple three-parameter count tool with no output schema or annotations, the definition is minimally sufficient to invoke it, but it leaves the return value and the role of the date range unexplained. An agent could call it correctly yet be unsure what it gets back.

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 parameters are already documented with types and date formats. The description only reinforces that fiscal_id is the scoping key and never mentions the date range parameters, so it adds no meaning beyond the schema — baseline 3 applies.

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?

States a specific verb and resource ("Count rejected invoices"), names the data source (Cassetto Fiscale) and the scoping key (fiscal ID), which separates it from the sibling recover_rejected_invoices by intent. It stops short of explicitly naming that sibling as the alternative, so it is clear but not fully differentiated in-text.

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 to use this versus recover_rejected_invoices or list_invoices, and no preconditions or exclusions. Usage can only be inferred from the verb "Count".

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