Skip to main content
Glama
beel-es

BeeL MCP server

Official
by beel-es

beel_patch_recurring_invoice

Idempotent

Partially update a recurring invoice: only fields sent in the request are changed, leaving recipients, schedules, and other data untouched. Clear fields by sending null.

Instructions

Updates only the fields present in the body, leaving every other field of the recurring invoice as it is — in particular the recipient, which survives a change of lines. A field sent as null is cleared, which is different from omitting it.

Endpoint: PATCH /v1/companies/{company_id}/recurring-invoices/{recurring_invoice_id}

⚠️ 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
bodyYes
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.
recurring_invoice_idYes
Behavior4/5

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

Annotations already indicate this is a write operation (readOnlyHint=false) and not destructive (destructiveHint=false). The description adds crucial behavioral context: only present fields are updated, null clears fields, and the recipient survives lines changes. It also warns about fiscal guardrails, which is beyond annotation coverage.

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 well-structured with the core behavior stated first, followed by a warning block and a pointer to documentation. It avoids redundancy and keeps the key information accessible without excessive length.

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 complex PATCH operation, the description includes the endpoint, fiscal guardrails, and references to docs for exhaustive rules. It does not cover return values (no output schema) or idempotency (handled by annotations), but the provided context is sufficient for an agent to call the tool correctly with the schema's guidance.

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 low (33%) at the top level, but the body's nested schema has extensive descriptions. The description adds the essential 'null clears' rule that governs how parameters in the body are interpreted, but it does not elaborate on individual fields. It compensates partially for the schema gap.

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 the tool 'Updates only the fields present in the body', naming the resource as 'recurring invoice' and giving the endpoint. It explicitly distinguishes behavior from a full update by noting the recipient survives changes to lines, making the purpose unambiguous even among sibling tools like beel_patch_invoice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for partial updates of recurring invoices and includes important prerequisites (read fiscal guardrails, call beel_docs_search for exhaustive rules). However, it does not explicitly contrast with alternative tools or specify when NOT to use it, leaving some inference to the agent.

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