Skip to main content
Glama
mcp-server-acube

mcp-server-acube

by nick-preda

void_receipt

Voids or cancels an existing receipt using its receipt ID, enabling correction of issued smart receipts through the A-Cube API.

Instructions

[SANDBOX] Void/cancel a receipt (annullamento scontrino).

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": {
      "id": "<id>"
    },
    "name": "void_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesReceipt ID to void

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 supplied, so the description carries the full behavioral burden. It marks the tool as [SANDBOX], which usefully signals a non-production environment, but says nothing about whether voiding is reversible, what permissions are required, what happens to linked invoices or items, or what the response contains for a state-changing operation.

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?

One short sentence, front-loaded with the action, plus a bracketed environment tag and a bilingual term. Nothing is padded, though the parenthetical translation is a minor extra that still earns its place for terminology matching.

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 an irreversible-sounding mutation with no annotations and no output schema, the definition is too thin: an agent cannot tell whether the void is reversible, what side effects it triggers, or what a success response looks like. Only the sandbox marker and the parameter meaning are adequately covered.

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?

There is a single required parameter with 100% schema description coverage ("Receipt ID to void"), so the schema already fully documents the input. The description adds no format hints, ID sourcing guidance, or validation notes beyond that baseline.

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 names a specific verb+resource pair ("Void/cancel a receipt") and adds the Italian domain term "annullamento scontrino", which helps map to the underlying API vocabulary. It does not explicitly contrast with return_receipt_items or delete-style siblings, but the action is unambiguous on its own.

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 guidance on when to void versus return or otherwise handle a receipt, no prerequisites, and no statement about when this call is appropriate. The agent must infer the use case entirely from the tool name.

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