Skip to main content
Glama

Place an LEI in my entity map

place_lei_in_entity_map
Idempotent

Places an LEI in the organisation's entity map under a direct parent, or moves it there if the organisation placed it before; the LEI's own subsidiaries in the LEI register come with it. For entities the LEI register doesn't link to the group. One of the organisation's own LEIs at Global FinReg (list_my_leis) is just placed. Any other LEI that isn't on the organisation's watchlist (list_entity_map_watchlist) yet is put on the user's watchlist as well, and the answer says so (addedToWatchlist). An LEI the register already has in the group can't be moved. Place parents before their children, and confirm the structure with the user first.

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>",
      "parentLei": "<parentLei>"
    },
    "name": "place_lei_in_entity_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
leiYesThe 20-character LEI to place: any LEI in the global LEI register.
parentLeiYesThe 20-character LEI of the direct parent. It must already be in the map (get_my_entity_map): the ultimate parent, an entity below it, or an LEI placed earlier. A placeholder can't be a parent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important side effects and constraints: the LEI's register subsidiaries come with it, non-watchlisted LEIs are added to the user's watchlist with an addedToWatchlist indication, register-grouped LEIs cannot be moved, and the user should confirm the structure first.

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 core action is front-loaded and the description is compact for the number of rules it conveys. However, the paragraph is dense with semicolon-chained conditions, and sentences such as 'For entities the LEI register doesn't link to the group' are cryptic without more structure.

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?

Covers the mutation's behavior, constraints, and side effects well, including the one named response field `addedToWatchlist`. Since there is no output schema, the return shape remains only partially specified, which keeps this just below complete.

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 baseline is 3, but the description adds business meaning for the `lei` parameter by distinguishing organisation-owned LEIs from other LEIs and explaining the watchlist consequence. It adds less about `parentLei` beyond the schema, which already explains that the parent must already be in the map.

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 and resource: placing an LEI into the organisation's entity map under a direct parent, or moving an existing placement there. It also distinguishes the operation from adjacent concepts such as placeholders and register-linked group entities.

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?

Explicitly covers the main cases: an organisation-owned LEI is just placed, other LEIs may be added to the watchlist as a side effect, an LEI already grouped by the register cannot be moved, and parents must be placed before children. It also points to list_my_leis, list_entity_map_watchlist, and get_my_entity_map for prerequisite checks.

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