Skip to main content
Glama

Change the direct parent of an entity in my entity map

request_entity_map_parent_change
Idempotent

For an entity the LEI register has in the organisation's entity map with the wrong direct parent, or one whose parent changed (a restructuring, a sale to another group): records the direct parent it really has. If the LEI is the organisation's own at Global FinReg, this is a change request: Global FinReg's team reviews it and sends the change to the LEI's issuer, and GLEIF then shows it (kind ChangeRequest, status Pending). Any other LEI can't be changed by Global FinReg: it is marked in the map as having the wrong parent at GLEIF (kind GleifDispute, status Flagged); transferring the LEI to Global FinReg is how it gets corrected. The entity stays under its GLEIF parent in the map until GLEIF has the new one. A new call for the same LEI replaces the earlier one. For an entity the organisation placed itself, use place_lei_in_entity_map instead. Agree the change 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>",
      "newParentLei": "<newParentLei>"
    },
    "name": "request_entity_map_parent_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
leiYesThe 20-character LEI of the entity whose direct parent is wrong.
noteNoOptional: a short note for Global FinReg's team, e.g. the reason (acquisition, sale, restructuring).
newParentLeiYesThe 20-character LEI of its real direct parent: an entity in the map, or, for an entity that left the group, any LEI in the LEI register.
relationshipStartDateNoOptional: since when the new parent consolidates it, yyyy-MM-dd, not in the future.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description explains the two workflows: for the organisation's own LEI it creates a pending change request that Global FinReg reviews and forwards, while for other LEIs it flags a GLEIF dispute without changing the parent. It also discloses that the entity remains under its GLEIF parent until GLEIF has the new one and that a new call replaces the earlier one.

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 purpose is front-loaded in the first sentence, followed by the branch-specific behavior and the sibling alternative. The description is long and has some nested clauses, but most sentences carry necessary behavioral detail for a complex mutation tool.

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 mutation tool with no output schema, the description covers the essential outcomes, including statuses, review behavior, dispute marking, replacement of prior calls, and the alternative sibling tool. Together with the fully described schema and annotations, it gives an agent enough context to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the input schema already documents all four parameters, including note and relationshipStartDate. The description reinforces what newParentLei can be, but adds little beyond the schema and does not explain the optional parameters further.

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 states a specific verb and resource: records the real direct parent for an entity in the organisation's entity map when the recorded parent is wrong or changed. It explicitly separates this from place_lei_in_entity_map for entities the organisation placed itself, so an agent can distinguish it from that sibling.

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 gives explicit conditions for when to use this tool: a wrong direct parent or a changed parent for an entity already in the map. It also states when not to use it, pointing to place_lei_in_entity_map, and explains the different outcomes for the organisation's own LEI versus other LEIs.

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