Skip to main content
Glama
Fakturia API MCP

Fakturia API MCP

by edjufy

get_export_result_document

Download the completed report file for an export result as base64-encoded data by UUID once processing finishes.

Instructions

Retrieve the binary document for an export result. Downloads the actual report file (e.g. CSV, Excel) generated by a previous report request. The document content is returned as base64-encoded data. Only available after the export result status shows the report has completed processing.

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_export_result_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidYesThe unique UUID identifier of the export result whose document should be downloaded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and it delivers key behavior: the return payload is base64-encoded binary content, and the call is gated on completed processing status. It omits what happens on an incomplete/failed status (error shape) and any size or rate considerations, keeping it short of a 5.

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?

Front-loaded with the core action and resource, followed by the return format and the availability precondition in a logical sequence. Four compact sentences with minimal redundancy, though 'actual report file' slightly restates the opening sentence.

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 single-parameter read tool with no output schema, the description covers purpose, return encoding, and the completion precondition — enough for an agent to invoke it correctly. The main residual gap is error behavior when the report is not yet complete.

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 parameter with 100% schema description coverage, so the schema already explains that uuid identifies the export result. The description adds no format or sourcing detail for the uuid beyond what the schema states, which is the expected baseline for full coverage.

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?

Specific verb (retrieve/download) plus resource (the binary document for an export result), with concrete examples of file types (CSV, Excel). It effectively distinguishes itself from a metadata-style sibling like get_export_result by emphasizing 'binary document' and 'actual report file', though it never names the sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear precondition: only call after the export result status shows processing completed. This tells the agent when the tool is valid, but it does not name an alternative (e.g. get_export_result for metadata or status checks) so the agent must infer the routing.

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