Skip to main content
Glama
beel-es

BeeL MCP server

Official
by beel-es

beel_create_claim_token

Idempotent

Generate a claim token and URL that lets an account holder set a password and take ownership. Send an email to create the holder, or omit the body to reissue for the existing holder.

Instructions

Issues a single-use claim_token, and the claim_url built from it, so the account's holder can set a password and take ownership.

  • email: send it when the account has no holder yet — the person is created by this call. Omit the body to re-issue the token for the holder the account already has. An email that differs from the existing holder's is rejected rather than replacing them.

  • Lifetime: tokens last 30 days, and only the last one issued is live. Issuing again invalidates the previous token, so the old link stops working the moment you ask for a new one.

  • Not an invitation: this hands the account itself over to its holder. To add a further person to an account that already has one, invite them with POST /v1/accounts/{account_id}/invitations.

  • Entitlement: requires manage_accounts.

Endpoint: POST /v1/accounts/{account_id}/claim-tokens

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
account_idYes
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. Changed3 schema fields changedv0.5.0
    • addedInput schema / $defs / CreateClaimTokenRequest / additionalProperties
      Added value: +false
    • removedInput schema / $defs / Language / example
      Removed value: -"es"
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.3.1

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses critical behavioral context: tokens last 30 days, only the last one issued is live, and issuing again invalidates the previous token so the old link stops working. It also explains that a differing email is rejected rather than replacing the holder. This goes far beyond what readOnlyHint/openWorldHint/idempotentHint already provide.

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 with a clear opening sentence followed by scannable, purposeful bullets. Every bullet conveys non-obvious operational guidance: email semantics, lifetime/invalidation, invitation distinction, and entitlement. No filler or redundant restating of the tool name.

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?

The description is complete for a tool of this complexity: it explains what is produced, when to use it, how invalidation behaves, who may use it, and which sibling flow is relevant for invitations. The first sentence also covers the return value (`claim_token` and `claim_url`), so the absence of an output schema is not a gap.

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?

The description adds strong semantic value for the body/email parameter, explaining when to include it, when to omit it, and how mismatches are handled. The schema itself already documents `language` and `idempotency_key` well, so the description does not need to repeat those, though it could have briefly mentioned the `language` default for completeness. Overall it meaningfully supplements the schema rather than repeating it.

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 opens with a specific verb and resource: it issues a single-use `claim_token` and builds the `claim_url` from it for password setup and account ownership. It also proactively distinguishes itself from invitation flows: 'Not an invitation: this hands the account itself over to its holder.' This is clearly differentiated from siblings like beel_create_invitation.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use instructions: send `email` when there is no holder, omit the body to re-issue for the existing holder, and avoid sending a mismatched email. It also names the alternative (`POST /v1/accounts/{account_id}/invitations`) for adding a further person, and states the required entitlement `manage_accounts`. Nothing is left to inference.

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