Skip to main content
Glama
berthelius

Frihet MCP Server

Get FACe Submission Status

face_status
Read-onlyIdempotent

Check the status of a Spain B2G invoice submission on FACe. Returns the current state code, description, and registro number.

Instructions

Poll the status of a FACe (Spain B2G) invoice submission. Returns the current FACe portal state code, description, and the registro number.

Common FACe status codes: • 1200 — Registrada / Registered (submission received) • 1300 — En proceso de contabilización / In accounting (being processed) • 1400 — Contabilizada / Accounted (approved, awaiting payment) • 2400 — Anulada / Cancelled • 3100 — Rechazada / Rejected (check rejectionReason)

/ Consulta el estado de un envío a FACe. Devuelve el código de estado, descripción y número de registro.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoiceIdYesFrihet invoice ID (same as used in face_submit) / ID de la factura

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codigoYesFACe status code (e.g. '1200'=Registrada, '1400'=Contabilizada, '3100'=Rechazada)
motivoYesReason/motive associated with the current status (e.g. rejection motive)
descripcionYesHuman-readable FACe status description
numeroRegistroYesFACe registration number for this submission
estadoTramitacionYesFACe processing-state code (estado de tramitación)
Behavior5/5

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

Annotations (readOnlyHint, idempotentHint, destructiveHint) are consistent with a non-destructive polling operation. Description adds valuable context with common status codes and their meanings.

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?

Description is relatively concise with bullet points for status codes. The Spanish translation may be redundant for English agents but does not harm conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple polling tool with one parameter and output schema (not shown but context says exists), the description fully covers what the agent needs to know to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter invoiceId is well-described in both schema and description, including cross-reference to face_submit. Schema coverage is 100%, so the description adds meaningful context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 a FACe invoice submission, with specific details on return values (state code, description, registro number). It differentiates from the sibling tool face_submit, which handles submission.

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?

Implies usage after submission via 'Poll the status' and reference to face_submit in parameter description. No explicit when-not-to, but context is clear enough.

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/berthelius/frihet-mcp'

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