Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_set_default_invoice_design

DestructiveIdempotent

Sets the default invoice design for a company, replacing any previous default so future invoices use the selected design.

Instructions

The series of the company without a design use this one from now on; the previous default stops being it.

BeeL API endpoint: PUT /v1/companies/{company_id}/invoice-designs/{invoice_design_id}/default (reference: https://docs.beel.es)

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_design_id": "<invoice_design_id>"
    },
    "name": "beel_set_default_invoice_design"
  }
}

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_design_idYesIdentifier of the invoice design.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds concrete substance beyond that: it states that the previously designated default stops being the default, telling the agent exactly what existing state is displaced. That is the key behavioral fact an agent needs before calling a destructive setter.

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?

It is short and front-loads the effect before the endpoint reference, which is good. But the opening clause is grammatically broken and semantically wrong ('The series of the company without a design use this one'), which costs more than the brevity saves.

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

Completeness3/5

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

For a simple two-required-UUID setter with full schema coverage, annotations and no output schema, the definition covers purpose, effect and endpoint adequately. It still omits preconditions such as whether the design must belong to the company or exist, and the mislabeled resource weakens confidence in the overall statement.

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%, and company_id already documents UUID format, the 403-on-unreachable/unknown behavior and the fact that the BeeL-Active-Company header is irrelevant. The description adds nothing about either parameter, so the baseline 3 applies — the schema does all the work.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the effect ('use this one from now on') and the PUT endpoint path clarifies the resource is an invoice design, but the opening sentence calls it 'the series of the company' — a leftover from the sibling beel_set_default_series. An agent reading only the prose could confuse this with setting a default series; the endpoint path rescues it. Purpose is inferable but not stated cleanly.

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

Usage Guidelines2/5

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

No when-to-use guidance beyond the verb itself, and no mention of when not to use it or which sibling handles the adjacent concept. Because the prose says 'series' while the tool acts on an invoice design, the agent gets no reliable signal for choosing between this and beel_set_default_series.

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