Skip to main content
Glama
beel-es

BeeL MCP server

Official
by beel-es

beel_list_companies

Read-onlyIdempotent

Retrieve paginated companies (NIFs) for an account, filter by NIF or legal/trade name, and optionally include issuing-readiness status.

Instructions

Returns a page of the companies (NIFs) belonging to the account in the path, ordered with the primary company first. search filters case-insensitively on NIF, legal name and trade name; include=readiness adds each company's issuing-readiness block. The response is always paginated, and an account with no companies yet returns an empty page rather than an error.

The invoice series of each company are not part of this response: read them from GET /v1/companies/{company_id}/series.

Endpoint: GET /v1/accounts/{account_id}/companies

⚠️ Fiscal guardrails — read before calling:

  • Which company an operation acts on, and how that is selected. (resource: beel://guardrails/multi-nif)

For the exhaustive rules and worked examples, call beel_docs_search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1. The response echoes it back as `pagination.current_page`.
limitNoHow many items to return per page. The response echoes it back as `pagination.items_per_page`.
searchNoCase-insensitive filter on NIF, legal name or trade name. Blank/omitted returns all.
includeNoInclude derived data. `readiness` adds each company's issuing-readiness status.
account_idYesYour own account, or an account you provisioned. It — not the credential — decides which account the operation acts on; a `403` is returned when you do not reach it, the same response an account that does not exist gets.
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description adds valuable behavioral details: always paginated, empty page for accounts with no companies, ordering by primary company, and exclusion of invoice series. It also flags a fiscal guardrail resource. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and concise: main behavior first, then exclusions, endpoint, and guardrail pointer. No wasted sentences; every part earns its place. The warning is clearly delimited and the pointer to docs avoids unnecessary verbosity.

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

Completeness5/5

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

For a read-only list operation with fully documented parameters and safe annotations, the description covers all essential aspects: response nature (paginated, empty page), ordering, search and include behavior, what's omitted, and access control. It also points to guardrails and exhaustive docs, ensuring agents have a way to get more detail if needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value by explaining search semantics (case-insensitive over NIF, legal name, trade name) and what include=readiness provides, and reinforces account_id's role in access control. This goes beyond the schema's concise descriptions, though not by a huge margin.

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 clearly states the tool returns a page of companies belonging to the account, ordered with primary company first. It names the specific resource (companies) and scope (account path), and explicitly mentions what is not included (invoice series), setting it apart from sibling list tools and the series endpoint.

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 directs users to a separate endpoint for invoice series, indicating when to use something else, and points to guardrails and docs for exhaustive rules. However, it does not explicitly contrast with other list tools (e.g., list_customers) or state 'use this when you need companies of an account' beyond the description itself. Still, the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/beel-es/beel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server