Skip to main content
Glama

Remove an LEI from my entity map

remove_lei_from_entity_map
DestructiveIdempotent

Takes an LEI the organisation placed in its entity map out again, together with the LEIs and placeholders the organisation placed under it. Entities from the LEI register can't be removed. Only call it after the user confirmed which LEI to remove. Returns the LEIs removed.

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": {
      "lei": "<lei>"
    },
    "name": "remove_lei_from_entity_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
leiYesThe 20-character LEI to take out, one the organisation placed (addedByPartner in get_my_entity_map).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered structurally. The description still adds real value beyond that: the cascading removal of child LEIs and placeholders, and the fact that register-sourced entities are protected from removal. It does not describe reversibility or how partial failures are handled, which keeps it below a 5.

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?

Four short sentences, front-loaded with the action and its blast radius before the confirmation guard and the return value. Minor redundancy between the opening clause and the parenthetical ownership requirement keeps it from being maximally tight.

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 single-parameter destructive tool with no output schema, the description covers what is removed, what is protected, the confirmation prerequisite, and even the return value ('Returns the LEIs removed'), compensating for the absent output schema. Remaining gaps around failure modes and non-cascade edge cases are modest.

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 20-character format and the property itself are already documented. The description reinforces the key constraint — the LEI must be one the organisation placed (addedByPartner in get_my_entity_map) — which is genuinely the failure mode an agent would hit, though it largely mirrors the schema text rather than extending 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?

States a specific verb-plus-resource (remove an LEI from the entity map) and immediately discloses the scope of the operation: the LEI itself plus the LEIs and placeholders nested under it. It also carves out what it does not touch ('Entities from the LEI register can't be removed'), which lets an agent separate it from the register-side siblings.

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?

Gives an explicit precondition ('Only call it after the user confirmed which LEI to remove') and an explicit exclusion (registry entities are not removable), which is strong when/when-not guidance. It does not, however, point to a named alternative for the cases it excludes, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources