Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_get_custom_field_option

Read-onlyIdempotent

Retrieves one custom field option, archived or not, by company, field key, and option ID so you can inspect its details.

Instructions

Returns one option of this custom field, archived or not.

BeeL API endpoint: GET /v1/companies/{company_id}/custom-fields/{key}/options/{option_id} (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>",
      "key": "<key>",
      "option_id": "<option_id>"
    },
    "name": "beel_get_custom_field_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesKey of the custom field: lowercase letters, digits and `_`, up to 64 characters. A key outside that format answers `422`.
option_idYesUnique identifier of the option.
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.12.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description's one behavioral addition is that archived options are returned as well as active ones, which is useful but thin; nothing is said about what an option record contains or about failure modes.

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 a single short sentence, followed by the endpoint and docs reference. The second sentence is reference material rather than instruction, but it is compact and does not obscure the purpose.

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 three-required-parameter read tool with full schema coverage and rich annotations, the essentials are present. However, there is no output schema, and the description never indicates what fields an option carries or what distinguishes an archived option, leaving the agent to guess at the response.

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%, so company_id, key and option_id are fully documented in the schema, including 403 behavior and key format. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the work.

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 and resource ('Returns one option of this custom field') and signals single-item retrieval, which implicitly contrasts with beel_list_custom_field_options. It does not explicitly name the sibling, so the differentiation is inferable rather than stated.

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 only implied: fetch a single option by company, key and option_id. The phrase 'archived or not' hints that archived options remain retrievable, but there is no explicit when-to-use clause, no pointer to the list alternative for discovery, and no prerequisites.

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