Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_list_invoice_compliance_submissions

Read-onlyIdempotent

Lists all tax-system submissions for a specific invoice, including VeriFactu, their statuses, and submission timestamps, to audit compliance progress.

Instructions

Returns every submission of this invoice to the tax systems it is owed to, VeriFactu included, each with its own status, ordered by submitted_at ascending (queued ones, still without it, last). The invoice's compliance summarises where it stands with each system; this resource lists what was sent to get there.

  • No submissions: an invoice that was never submitted (a draft, a proforma, or one the company does not report through BeeL.) answers 200 with an empty list.

Closed catalogue. This collection is fixed and bounded: it carries no pagination, it takes no page/limit, and every response holds the whole set.

BeeL API endpoint: GET /v1/companies/{company_id}/invoices/{invoice_id}/compliance-submissions (reference: https://docs.beel.es)

⚠️ Read before calling:

  • Fiscal rules, domains lifecycle: beel_rules_list with domain, or resource beel://guardrails/.

  • The status names, the proforma lifecycle, and which tool performs each operation. (resource: beel://guardrails/invoice-state-machine)

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": {
      "company_id": "<company_id>",
      "invoice_id": "<invoice_id>"
    },
    "name": "beel_list_invoice_compliance_submissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
company_idYesUnique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed.
invoice_idYesInvoice ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly, idempotent, closed-world) by disclosing the sort order (submitted_at ascending, queued last), the empty-list 200 behavior, and the fixed non-paginated result set. It also implicitly reveals error disclosure behavior for the 403 case via the schema. Return shape is only summarized, which keeps it from 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core statement and ordering, but it is padded: the endpoint URL, docs link, and two 'read before calling' pointers consume space that could be tighter in the prose. The bullet structure helps scanability, though the empty-list bullet partly repeats what the lead sentence implies.

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?

Given two required parameters, full schema coverage, and no output schema, the description covers ordering, empty results, the no-pagination guarantee, and where to find related state-machine rules. It does not describe the fields of each submission object (id, status, submitted_at, target system), which the agent would need since there is no output schema.

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 description coverage is 100%, so the schema already carries the parameter documentation, including the detailed company_id semantics and 403 handling. The description adds no parameter-level information beyond what the schema provides, so the baseline of 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?

Clear verb+resource: lists every compliance submission for a given invoice to the tax systems it is owed to, including VeriFactu, ordered by submitted_at. It distinguishes itself from beel_get_compliance (which summarizes status) by explaining that this lists what was sent. No other sibling list tool covers compliance submissions, so the differentiation is implicit rather than named.

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?

Explains that the compliance summary lives on the invoice's `compliance` field while this resource lists the underlying submissions, and notes the empty-list case for drafts/proformas. It also points to beel_rules_list and the guardrails resources for state-machine context. No explicit when-not-to-use or named alternative for this exact data, but the context is clear.

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