Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_get_invoice_design_version

Read-onlyIdempotent

Fetch a specific invoice design version as originally created using company, design, and version IDs. Inspect or audit historical invoice layouts.

Instructions

Returns one version exactly as it was created.

BeeL API endpoint: GET /v1/companies/{company_id}/invoice-designs/{invoice_design_id}/versions/{version} (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>",
      "version": "<version>"
    },
    "name": "beel_get_invoice_design_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYesNumber of the version, from 1.
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.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description contributes the meaningful extra fact that the returned snapshot is immutable ("exactly as it was created"), but says nothing about the response shape or failure modes beyond what the schema notes for company_id.

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 behavioral statement is front-loaded in one sentence and the endpoint/docs reference is compact and follows it. Nothing is redundant, though the URL line is padding for an agent that already has the tool name.

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 read-only getter with full schema coverage and complete annotations, most of what an agent needs is present. However, with no output schema, the description never indicates what a version object contains, which is the remaining material gap.

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 the company_id description is unusually thorough (UUID that is the sole context source, 403 for foreign/nonexistent companies). The description adds no parameter-level meaning of its own, so the baseline 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?

"Returns one version exactly as it was created" gives a specific verb (returns/retrieves) plus a scoped resource (a single invoice-design version), which separates it from the sibling beel_list_invoice_design_versions. It stops short of a 5 because it never names the listing tool or otherwise states the contrast explicitly.

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?

There is no when-to-use or when-not-to-use guidance and no prerequisites, such as where the `version` number comes from or that beel_list_invoice_design_versions supplies it. The only hint is the phrase "as it was created," which loosely implies historical/audit retrieval, so usage must be inferred.

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