Skip to main content
Glama
Frihet-io

Frihet MCP Server

Get FACe Submission Status

face_status
Read-onlyIdempotent

Poll the current status of a Spanish B2G invoice submitted to FACe. Returns the state code, description, and registration 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
registroFACeYesFACe registration number
statusCodeYesFACe status code (e.g. '1200'=Registrada, '1400'=Contabilizada, '3100'=Rechazada)
statusDescriptionYesHuman-readable FACe status description
rejectionReasonNoRejection reason if statusCode=3100
Behavior4/5

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

Annotations mark it as read-only, idempotent, and non-destructive. The description adds value by listing common FACe status codes and their meanings, helping the agent interpret results. No contradiction with 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?

The description is concise with two short paragraphs (English then Spanish). It front-loads the purpose and includes a helpful status code table. Slightly longer due to bilingual content, but justified by the use case.

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?

An output schema exists to document return structure, and the description explains what is returned (state code, description, registro number). Combined with the status code table, the tool is fully specified. The bilingual support adds completeness for Spanish users.

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?

Only one parameter (invoiceId) with 100% schema description coverage. The description mentions the parameter only implicitly in the context of the status codes and the note about face_submit. The schema already provides adequate meaning, so description adds marginal value.

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 and lists the returned fields. It distinguishes itself from sibling tools like face_submit (submission) by focusing on status retrieval.

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?

The description implies use after submission by requiring the same invoiceId from face_submit. It does not explicitly state prerequisites or when not to use, but the context of polling status is clear. The sibling list includes face_submit, providing alternative context.

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