Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_create_claim_token

DestructiveIdempotent

Issues a single-use claim token and claim URL so an account holder can set a password and take ownership; send an email to create the holder if none exists yet.

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.

BeeL API endpoint: POST /v1/accounts/{account_id}/claim-tokens (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>"
    },
    "name": "beel_create_claim_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
account_idYesIdentifier (UUID) of an account you provisioned. An account you did not provision answers exactly like one that does not exist, so its existence is never disclosed.
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. Changed4 schema fields changedv0.12.0
    • addedInput schema / $defs / CreateClaimTokenRequest / properties / email / allOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/Email"
      +  }
      +]
    • removedInput schema / $defs / CreateClaimTokenRequest / properties / email / format
      Removed value: -"email"
    • removedInput schema / $defs / CreateClaimTokenRequest / properties / email / type
      Removed value: -"string"
    • addedInput schema / $defs / Email
      Added value: +{
      +  "description": "Email address (minimum valid email is 5 chars, e.g. a@b.co)",
      +  "maxLength": 255,
      +  "minLength": 5,
      +  "pattern": "^[^@ \\t\\n\\x0B\\f\\r\\u00A0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF()<>,;:\"\\\\]+@[^@ \\t\\n\\x0B\\f\\r\\u00A0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF()<>,;:\"\\\\]+\\.[^@ \\t\\n\\x0B\\f\\r\\u00A0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF()<>,;:\"\\\\]+$",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.10.0
    • addedInput schema / properties / body / type
      Added value: +"object"
  3. Changed2 schema fields changedv0.9.0
    • changedInput schema / $defs / Language / description
      Previous value: -"Supported languages"New value: +"Supported languages: `es` Spanish, `en` English, `ca` Catalan.\n"
    • addedInput schema / properties / account_id / description
      Added value: +"Identifier (UUID) of an account you provisioned. An account you did not provision answers exactly like one that does not exist, so its existence is never disclosed."
  4. 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
  5. First observedv0.3.1

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the specific destructive consequence: only the last issued token is live and re-issuing invalidates the previous one, so the old link stops working immediately — plus the 30-day lifetime and the entitlement requirement. That is exactly the context an agent needs before a mutation with irreversible external effects. The only mild tension is that re-issuing changes which link is valid, which sits awkwardly beside idempotentHint=true, but this is disclosed behavior rather than a contradiction.

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 purpose is front-loaded in the first sentence, followed by tightly scoped bullets that each cover one decision axis (email/body, lifetime, invitation alternative, entitlement). No filler or restated annotation text; every bullet changes what the agent would do.

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 3-parameter mutation with no output schema, the description covers the return artifacts (`claim_token`, `claim_url`), the state-transition side effects, the alternative tool, and the auth/entitlement requirement. An agent has everything needed to call it correctly and to predict what happens to prior tokens.

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 67% and the schema itself already documents `email`, `language`, and the omission semantics in detail, so the description mostly reinforces rather than adds. It does add the framing that an `email` differing from the existing holder is *rejected rather than replacing them*, which sharpens the consequence beyond the schema's "must match theirs." The `idempotency_key` parameter is left entirely to the schema.

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 opening sentence names a specific verb ("Issues") and two concrete artifacts (a single-use `claim_token` and the `claim_url` built from it) with the outcome stated: the holder sets a password and takes ownership. It also explicitly distinguishes itself from the invitation endpoint, so an agent can tell it apart from `beel_create_invitation` without inspecting 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 Guidelines5/5

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

It states exactly when to send `email` (account has no holder yet, person is created by this call) versus when to omit the body (re-issue for an existing holder), and it names the alternative path (`POST /v1/accounts/{account_id}/invitations`) for adding another person. Error conditions (`422`, `409 CLAIM_TOKEN_HOLDER_MISMATCH`) and the `manage_accounts` entitlement are spelled out, leaving little 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