Skip to main content
Glama
beel-es

BeeL MCP server

Official
by beel-es

beel_list_recurring_invoices

Read-onlyIdempotent

Fetch paginated recurring invoice templates for a company, filterable by status or customer and sortable by name, next generation, or creation date.

Instructions

Lists the recurring invoice templates of this company (NIF), with filters and pagination. Only the templates of the company in the path are returned.

Endpoint: GET /v1/companies/{company_id}/recurring-invoices

⚠️ Fiscal guardrails — read before calling:

  • How BeeL derives the AEAT invoice type, and the rules each type imposes. (resource: beel://guardrails/invoice-types)

  • What regime_key means, where it lives, and which combinations are rejected. (resource: beel://guardrails/regime-keys)

For the exhaustive rules and worked examples, call beel_docs_search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1. The response echoes it back as `pagination.current_page`.
limitNoHow many items to return per page. The response echoes it back as `pagination.items_per_page`.
statusNo
sort_byNoField to sort by. Defaults to `created_at` when omitted.
company_idYesNIF (company) the operation acts on. 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 NIF you do not reach answers `403`, and so does a NIF that does not exist, so the existence of a NIF in another account is never disclosed.
sort_orderNoSort direction. Defaults to `desc` when omitted.
customer_idNo
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and idempotentHint=true, lowering the bar. The description adds value beyond that: the company-path scoping rule, the fact that a 403 is returned for unreachable or nonexistent NIFs (avoiding existence disclosure), and the pointer to fiscal guardrails. This is meaningful behavioral context consistent with the read-only profile — no contradiction.

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?

The structure is sound: purpose first, endpoint second, warnings last. However, the fiscal guardrails block (AEAT invoice types, regime_key) reads as boilerplate that is more relevant to invoice creation than to read-only listing, adding length without directly helping an agent call this list tool. It is lean overall but contains content of questionable relevance.

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 read-only list tool with 7 params and no output schema, the description covers the critical pieces: scope source, security behavior, filters, pagination, and sorting. The main omission is the response shape (a list of recurring invoice template objects), though the schema already echoes pagination fields. Given annotations carry the safety profile, this is adequately 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?

Schema description coverage is 71%, so the schema already documents page/limit defaults, company_id scoping and security behavior, sort defaults, and the status enum. The description only generically says 'with filters and pagination' and adds no parameter-level detail. With the schema doing most of the work, a baseline 3 is appropriate; customer_id remains undocumented but that gap is in the schema, not the description.

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 opens with a specific verb and resource — 'Lists the recurring invoice templates of this company (NIF), with filters and pagination' — and adds an explicit scoping constraint ('Only the templates of the company in the path are returned'). It also names the endpoint. This distinguishes it clearly from sibling tools like beel_create_recurring_invoice, beel_get_recurring_invoice, and beel_patch_recurring_invoice.

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?

It provides clear context on when to call: the company-scoped semantics and the explicit note that the header plays no part while company_id is the only source of context. It also warns to consult fiscal guardrails and points to beel_docs_search for exhaustive rules. However, it never names an alternative for a single template or non-recurring invoices, so exclusion guidance is left implicit.

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/beel-es/beel-mcp'

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