Skip to main content
Glama
mcp-server-acube

mcp-server-acube

by nick-preda

get_extraction_result

Retrieve a completed sandbox FatturaPA extraction result as JSON or XML by job UUID, enabling downstream invoice processing after extraction finishes.

Instructions

[SANDBOX] Get completed extraction result as FatturaPA (JSON or XML).

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": {
      "uuid": "<uuid>"
    },
    "name": "get_extraction_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesCompleted extraction job UUID
formatNoOutput formatjson

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/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 burden. It discloses the output domain and format choices, but says nothing about behavior when the job is incomplete, whether results expire or can be re-fetched, whether the call is idempotent/read-only, or any error modes.

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?

A single short sentence with the environment tag, action, resource, and output contract front-loaded. Nothing is redundant or 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?

The tool is low complexity (one required uuid plus a format toggle) and the schema is fully described, so basic completeness is met. But with no annotations and no output schema, the description should say more about what a FatturaPA payload contains structurally and how failures/incomplete jobs are surfaced.

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 coverage is 100%: the uuid and format parameters, including the json/xml enum and default, are fully documented in the schema. The description only echoes the format options already present, adding no extra meaning. 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 ('Get completed extraction result') plus the output domain ('FatturaPA') and format options (JSON/XML). It does not name the sibling get_extraction_status, so an agent must infer the pairing from tool names alone, but the purpose itself is unambiguous.

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?

The word 'completed' implicitly signals the precondition that the extraction job must be finished, and the uuid parameter description reinforces this. However, there is no explicit guidance to poll get_extraction_status first, no statement of what happens if the job is still pending, and no alternatives are named.

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