Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_create_invoice_design

Idempotent

Create a version 1 invoice PDF design for a company with template, font, accent color, language, logo and QR settings. It stays inactive until assigned to a series or set as the company default.

Instructions

Creates a design at version 1. It changes no PDF until it is assigned to a series (invoice_design_id) or made the default design of the company.

BeeL API endpoint: POST /v1/companies/{company_id}/invoice-designs (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>",
      "body": "<body>"
    },
    "name": "beel_create_invoice_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
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.
idempotency_keyNoOptional idempotency key for this operation. Omit it and one is derived from the request itself, which makes a blind retry safe but also collapses a SECOND, deliberately identical operation into the first for 24 hours. Set it — to an order id, or anything unique per intended operation — whenever you mean to create something that may look identical to what you just created.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the bar is lower, and the description adds real value: version numbering starts at 1 and the design has no effect on output PDFs until linked to a series or made default. It omits permission requirements and what the response returns, but the side-effect profile is meaningfully clarified.

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?

Two tight sentences with the behavioural constraint front-loaded, followed by an endpoint/reference line that is separable and useful for tracing. Slight redundancy in the parenthetical endpoint plus docs link, but nothing dilutes the core statement.

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?

There is no output schema, so the description should say what a successful create yields — presumably a design id needed for the subsequent series assignment or set-default call it mentions. That return-value gap, plus no mention of auth/permission requirements, leaves the tool definition adequate but not complete for a mutation on a nested 3-parameter request.

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 67% and the schema itself is unusually self-documenting (field defaults, enum semantics, idempotency key behaviour). The description adds no field-level meaning beyond 'design at version 1', so baseline 3 is appropriate — the schema carries the parameter burden.

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?

The description names a specific verb and resource ('Creates a design at version 1') and states the lifecycle position of the new object relative to PDF rendering. It implicitly distinguishes itself from assignment/default-setting operations ('until it is assigned to a series ... or made the default design') without naming a sibling tool, which keeps it just short of a 5.

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?

It explains the consequence of creating a design (nothing renders until assignment or default), which implies when this tool is the right first step, but it never states when to use this instead of patch, preview, or set-default. Usage is inferred rather than instructed.

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