Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_preview_customer_import

Parses and validates a customer import file without creating customers, returning per-record outcomes so you can correct data before running the actual import.

Instructions

Parses and validates the file without writing anything: no customer is created. It returns the same per-record outcome the import would produce, so the caller can correct the data before importing it with POST .../customers/imports.

  • source: the origin travels in the body, exactly as in the import.

BeeL API endpoint: POST /v1/companies/{company_id}/customers/imports/preview (reference: https://docs.beel.es)

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A3.7/5.0
Behavior2/5

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

The prose is genuinely informative about behavior — no writes occur, and the per-record outcome mirrors what the real import would produce, which is valuable context beyond the schema. However, it conflicts with the supplied annotations: readOnlyHint=false and idempotentHint=false imply a mutating, non-repeatable call, while the description says nothing is written and the result is a deterministic parse of the same input.

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 core message is front-loaded in the first sentence and the total length is small. The single-bullet list for one parameter plus the trailing endpoint/docs footer feels slightly over-structured for the amount of content, but nothing is padded.

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?

With no output schema, the description carries the burden of describing the return and does so conceptually ('the same per-record outcome the import would produce'), which is the key fact for a dry-run tool. The nested `body.file` payload shape and any error/limit behavior for large files remain unaddressed.

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 coverage is 50% and the schema already explains `company_id` in depth and `body.file` as UTF-8 CSV text with a header row. The description only adds that `source` travels in the body exactly as in the import — a small clarification — and says nothing about the `file` payload or the enum values (`csv`, `holded`).

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 leads with a specific verb+resource pair — 'Parses and validates the file without writing anything: no customer is created' — and explicitly separates itself from the write path by naming `POST .../customers/imports`. An agent can distinguish this from beel_create_customer_import without opening either schema.

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

Usage Guidelines4/5

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

It states the workflow role clearly: run the preview 'so the caller can correct the data before importing it,' and names the follow-up endpoint as the alternative. There is no explicit when-not guidance (e.g. versus beel_preview_account_import or the bulk-create tool), so it stops just short of full routing.

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