Skip to main content
Glama

FactLot legal-entity ID

id_entity
Read-onlyIdempotent

Deterministic FactLot ID for a legal entity (LLC, LP, corporation, trust) from its registry jurisdiction and file number, or from its LEI (an LEI whose ISO 17442 check digits do not match is rejected).

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": {
      "jurisdiction": "<jurisdiction>",
      "registry_number": "<registry_number>"
    },
    "name": "id_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
jurisdictionYesRegistry jurisdiction, e.g. "us-de" for Delaware, or "lei" for a Legal Entity Identifier.
registry_numberYesFile number issued by that registry, or the 20-character LEI (its ISO 17442 check digits are verified).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / registry_number / description
      Previous value: -"File number issued by that registry, or the 20-character LEI."New value: +"File number issued by that registry, or the 20-character LEI (its ISO 17442 check digits are verified)."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive. The description adds two things beyond that: that the ID is deterministic (same inputs yield the same ID) and that an LEI failing ISO 17442 check digits is rejected, which is a real error condition an agent should anticipate. It stops short of describing the ID's format or whether results are cached.

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?

A single front-loaded sentence that leads with the output and then the two input paths, with no filler. It is dense but every clause carries content; only minor cost is the nested parenthetical.

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 two-parameter, read-only, deterministic derivation with no output schema, the description names the return value ('Deterministic FactLot ID') and covers the validation failure mode. Nothing critical to invoking it correctly is missing, though the ID format an agent will receive is left implicit.

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 description coverage is 100% and both properties already document the 'us-de'-style jurisdiction codes and the 20-character LEI with check-digit verification. The description restates these routes without adding format, normalization, or fallback rules beyond 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?

States a specific operation (derive a deterministic FactLot ID) on a specific resource (legal entity: LLC, LP, corporation, trust) and names the two input routes (registry jurisdiction + file number, or LEI). This clearly separates it from sibling id_* tools that identify buildings, parcels, documents, or spaces.

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

Usage Guidelines3/5

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

The description implies when the tool applies (you have a jurisdiction and file number, or an LEI), but it never states when to prefer this over id_parse or the other id_* siblings, and gives no exclusions or prerequisites. Usage is inferable rather than directed.

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.