Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_change_managed_access_level

Destructive

Updates the access level you hold over a provisioned account, enabling you to raise it before claim or keep or lower it later without changing billing.

Instructions

Updates the access_level you keep over an account you provisioned.

  • Raising it: only possible while the account is unclaimed. Once its holder has taken ownership you may keep or lower your access, but only they can raise it.

  • Billing: the level never affects it — you pay for the account's subscription at any level.

  • OPERATE: issuing invoices on the holder's behalf in Live additionally requires a signed fiscal representation from them. In Test you can issue from the start.

  • Entitlement: requires manage_accounts.

BeeL API endpoint: PATCH /v1/accounts/{account_id}/access-level (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": {
      "account_id": "<account_id>",
      "body": "<body>"
    },
    "name": "beel_change_managed_access_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
account_idYesIdentifier (UUID) of an account you manage. An account you do not manage answers exactly like one that does not exist, so its existence is never disclosed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • changedInput schema / $defs / AccessLevel / description
      Previous value: -"How much access an actor has to an account or a company. The same three values are used everywhere access is granted or reported — whether the actor is a member of the account or a provisioner managing it on someone's behalf.\n\n`NONE` — no access to the data.\n`VIEW` — read invoices, customers, products, series and fiscal data.\n`OPERATE` — everything in `VIEW`, plus creating and editing them. Issuing invoices for an account you manage additionally requires a signed fiscal representation from the account holder (see `/v1/accounts/{account_id}/companies/{company_id}/representation`).\n\nAccess level never affects billing: whoever provisioned an account pays for its subscription regardless of the level they keep over it."New value: +"How much access an actor has to an account or a company. The same three values are used everywhere access is granted or reported — whether the actor is a member of the account or a provisioner managing it on someone's behalf.\n\n`NONE` — no access to the data.\n`VIEW` — read invoices, customers, products, series and fiscal data.\n`OPERATE` — everything in `VIEW`, plus creating and editing them. In Live, issuing invoices for an account you manage additionally requires a signed fiscal representation from the account holder (see `/v1/companies/{company_id}/representation`). In Test you can issue from the start.\n\nAccess level never affects billing: whoever provisioned an account pays for its subscription regardless of the level they keep over it."
  2. Changed1 schema field changedv0.10.0
    • addedInput schema / properties / body / type
      Added value: +"object"
  3. Changed1 schema field changedv0.9.0
    • addedInput schema / properties / account_id / description
      Added value: +"Identifier (UUID) of an account you manage. An account you do not manage answers exactly like one that does not exist, so its existence is never disclosed."
  4. Changed3 schema fields changedv0.5.0
    • changedInput schema / $defs / AccessLevel / description
      Previous value: -"How much access an actor has to an account or a company (NIF). The same three values are used everywhere access is granted or reported — whether the actor is a member of the account or a provisioner managing it on someone's behalf.\n\n`NONE` — no access to the data.\n`VIEW` — read invoices, customers, products, series and fiscal data.\n`OPERATE` — everything in `VIEW`, plus creating and editing them. Issuing invoices for an account you manage additionally requires a signed fiscal representation from the account holder (see `/v1/accounts/{account_id}/companies/{company_id}/representation`).\n\nAccess level never affects billing: whoever provisioned an account pays for its subscription regardless of the level they keep over it."New value: +"How much access an actor has to an account or a company. The same three values are used everywhere access is granted or reported — whether the actor is a member of the account or a provisioner managing it on someone's behalf.\n\n`NONE` — no access to the data.\n`VIEW` — read invoices, customers, products, series and fiscal data.\n`OPERATE` — everything in `VIEW`, plus creating and editing them. Issuing invoices for an account you manage additionally requires a signed fiscal representation from the account holder (see `/v1/accounts/{account_id}/companies/{company_id}/representation`).\n\nAccess level never affects billing: whoever provisioned an account pays for its subscription regardless of the level they keep over it."
    • addedInput schema / $defs / ChangeAccessLevelRequest / additionalProperties
      Added value: +false
    • addedInput schema / additionalProperties
      Added value: +false
  5. First observedv0.3.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare mutation, destructiveness and non-idempotence; the description adds layers the agent cannot get elsewhere: the unclaimed-account precondition for raising, the entitlement gate (`manage_accounts`), the billing invariant, and the extra Live-only fiscal representation requirement for `OPERATE`. It also confirms the endpoint and that the level is a settable, not incremental, change. No conflict with the supplied hints.

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?

Front-loaded with the action, then four tight labeled bullets, each carrying a distinct constraint. It loses a point for restating material already present in the `AccessLevel` schema description (billing invariance, OPERATE fiscal representation in Live/Test), which is redundant across the two payloads.

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?

For a two-parameter mutation with no output schema and destructive semantics, the definition covers permissions, preconditions, and side-effect boundaries (billing unaffected). What it omits is the consequence of lowering — whether the previous level's data access or issued invoices remain visible — and any indication of the response body; the destructive hint is carried only by annotations.

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 50% and the nested `AccessLevel` definition is already verbose about NONE/VIEW/OPERATE, billing and fiscal representation, so much of the description's bullet content duplicates schema text. However, the description contributes genuinely new parameter semantics: the 'only while unclaimed' rule governing which `access_level` values are actually settable, which the schema does not express.

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 first sentence states a precise verb and resource with scope: 'Updates the `access_level` you keep over an account you provisioned.' The scope qualifier ('you provisioned') immediately separates it from anything affecting accounts you merely belong to, so an agent knows this is a provisioner-side management operation, not a membership change.

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 gives concrete when-you-can / when-you-can't rules: raising is only possible while the account is unclaimed, and after ownership transfers you may keep or lower but not raise. The `manage_accounts` entitlement requirement is also stated. It stops short of naming an alternative tool for the post-claim case (e.g. how the holder raises access), so it is strong context rather than full routing guidance.

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