Skip to main content
Glama

Entity match verdict

entity_match

Compare two company references using supplied company-number/LEI equality and normalised name similarity. When one reference has a UK company number and the other only a name, optionally corroborates against Companies House. LEIs are compared as supplied, not validated against GLEIF by this tool. Returns an identifier-comparison verdict, review reasons and signal provenance. Names alone remain uncertain. Conflicting identifiers require review; confidence is null because no calibrated identity probability is available.

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "entity_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesFirst reference: {name, company_number?, lei?}
bYesSecond reference: {name, company_number?, lei?}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: optional external corroboration against Companies House, no GLEIF validation of LEIs, and the fact that confidence is null because no calibrated probability exists. It does not say whether corroboration is on by default, whether it costs a network round-trip, or how long/rate-limited that call may be, leaving a mutation-adjacent external-dependency unquantified.

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?

Front-loaded with what the tool does, then scope limits, then output shape — the ordering is sensible and there is no filler. It is dense across several short sentences, but each clause adds distinct information rather than restating the name.

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?

There is no output schema, so the description must cover returns, and it does: verdict, review reasons and signal provenance, plus the caveat that confidence is null. Combined with the fully described nested parameters, an agent has enough to call it and interpret results, though the enumeration of possible verdict values is only implied.

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% and both nested objects already document {name, company_number?, lei?}, so the baseline is 3. The description adds real meaning beyond that: it explains how each field is used (number/LEI equality, normalised name similarity, LEIs treated as opaque strings) and that the object shape is free-form strings.

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 ('Compare two company references') plus the exact comparison method (company-number/LEI equality, normalised name similarity). It also carves out scope against siblings: LEIs are 'compared as supplied, not validated against GLEIF', which separates it from lei_lookup, and it is a pairwise verdict tool rather than a lookup/search like uk_company_search.

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 a clear operating context: two references, at least one of which may lack an identifier, with optional Companies House corroboration when one side has a UK number and the other only a name. It also states outcome guidance (names alone remain uncertain, conflicting identifiers require review). No sibling is named as an explicit alternative, which keeps it short of a 5.

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