Skip to main content
Glama
Frihet-io

Frihet MCP Server

Get E-Invoice Status

get_einvoice_status
Read-onlyIdempotent

Poll the status of an e-invoice dispatch workflow. Returns current step, network acknowledgment ID, and download URLs upon completion.

Instructions

Poll the status of an e-invoice dispatch workflow. Returns current step, ack ID (network confirmation), and download URLs once complete. Poll every 5–10 seconds until status is 'succeeded', 'failed', or 'cancelled'.

NOTE: Stub response — real CF endpoint https://api.frihet.io/v1/einvoice/status wired in transport Wave. / Consulta el estado de un flujo de envio de factura electronica.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowRunIdYesHatchet workflow run ID returned by send_einvoice / ID del run de workflow

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
stepYesCurrent or last workflow step name
errorNoError message if status is 'failed'
ackIdNoNetwork acknowledgement ID (PEPPOL SBDH / SDI protocol ID / etc.)
pdfA3UrlNoSigned URL to download the PDF/A-3 envelope (Factur-X only)
xmlUrlNoSigned URL to download the raw XML file
Behavior4/5

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

Annotations already indicate readOnly, non-destructive, idempotent. Description adds the polling behavior (repeat check) and notes a stub limitation, which are useful beyond annotations.

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?

Two sentences pack purpose, returns, and polling instructions. The note and Spanish translation are extra but not wasteful. Front-loaded with key action.

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?

With an output schema present (not shown in source but indicated as true), the description covers essential return fields. Mentions stub vs real endpoint. Adequate for a simple polling tool.

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% and the schema already describes workflowRunId well. The description does not add additional parameter meaning beyond what's in the schema.

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 clearly states it polls the status of an e-invoice dispatch workflow and lists returned fields (step, ack ID, download URLs). It implies the tool is for after sending, but does not explicitly contrast with siblings like get_invoice_einvoice.

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?

Provides explicit polling guidance: poll every 5–10 seconds until status is one of three terminal states. No explicit when-not-to-use or alternatives, but the polling advice is strong and actionable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Frihet-io/frihet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server