Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_create_invoice_reply

Idempotent

Registers a customer's invoice-related message from a channel such as email, WhatsApp, or SMS, storing its sender, text, and attachments against the invoice.

Instructions

Registers a message that a customer sent you on a channel of your own about an invoice of the company. It is stored with authenticated_by API_KEY and without a connection_id.

BeeL API endpoint: POST /v1/companies/{company_id}/invoice-replies (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_reply"
  }
}

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 declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavioral context by disclosing the storage provenance: stored with `authenticated_by` `API_KEY` and with no `connection_id`, which tells the agent the record is not tied to a synced channel connection. It does not restate what annotations already say.

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 short, front-loaded sentences followed by an endpoint/reference line; nothing is padded or redundant. The endpoint reference is arguably reference material rather than guidance, but it is compact and useful for the calling agent.

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 nested-object mutation with required body fields, no output schema, and duplicate/idempotency edge cases, the description is thin: it says nothing about what the call returns or how a retry/duplicate behaves at the tool level. Those details live only in the input schema's parameter descriptions, which partially compensates. Adequate but with clear gaps for a create operation.

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%, so the schema already documents most parameters in depth (channel enum, external_id duplicate semantics with 409 INVOICE_REPLY_DUPLICATE, received_at 422 constraint, idempotency_key collapse behavior). The description contributes nothing parameter-specific beyond the endpoint path. Baseline 3 is appropriate when the schema carries the detail.

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?

States a specific verb ('Registers') and a precise resource ('a message that a customer sent you on a channel of your own about an invoice of the company'), plus the concrete endpoint POST /v1/companies/{company_id}/invoice-replies. An agent can distinguish it from beel_create_invoice or beel_create_invoice_delivery without opening the schema. It stops short of naming a sibling it is not, so 5 is not warranted.

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?

Usage is implied by the phrasing 'a message that a customer sent you' – i.e. inbound message logging rather than creating invoices or replies outbound. However, there is no explicit when-to-use, no when-not-to-use, and no reference to alternatives such as beel_get_invoice_reply or beel_delete_invoice_reply. The agent must infer the context.

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