Skip to main content
Glama

find_similar

Read-onlyIdempotent

Find entities most similar to a known entity for peer discovery and clustering. Returns similarity-scored dossier hits; entities outside the embedded slice return zero results.

Instructions

Entities most similar to a given one — the nearest corpus dossier cards ('more like this'), for peer discovery and clustering around a known entity. Pass an entity_id from search_entities. Returns { id, count, hits }, each hit with entity_id, caption, kind, jurisdiction, risk and a similarity score. COVERAGE IS PARTIAL AND SKEWED — it draws on the same embedded slice as semantic_search: 990,055 of a 47,486,969 universe (2.1%), ~99.6% risk-listed and ~97% natural persons, measured 2026-08-11 from the sibling endpoint's own coverage payload. An entity outside that slice returns count: 0 with an empty hits array and HTTP 200 — that is 'not embedded', NOT 'no peers exist', and it is the common case for ordinary companies (verified: BARCLAYS BANK PLC returns zero). Never report an empty result as a finding about the entity. Fall back to semantic_search or search_entities.

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": {
      "entity_id": "<entity_id>"
    },
    "name": "find_similar"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoMax hits (default 10).
entity_idYesEntity uuid from search_entities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered structurally. The description nonetheless adds real behavioral context beyond them: the return shape, the partial/skewed 2.1% coverage, and the crucial semantics that count:0 with HTTP 200 means 'not embedded' rather than 'no peers'.

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 purpose, then usage, return shape, and the coverage caveat in a logical order with no filler. The coverage statistics (990,055 of 47,486,969, ~99.6% risk-listed, measured date) are dense and slightly over-detailed, though they do support the warning.

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?

With no output schema, the description compensates by describing the response envelope and per-hit fields, and it explains the most dangerous failure mode. A reader still lacks pagination behavior and ordering guarantees for the similarity score, which keeps it just short of complete.

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 both parameters are already documented, and the description only adds provenance for entity_id (must come from search_entities). The k parameter and its default/cap are left entirely to the schema, so this sits at the baseline.

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 ('entities most similar to a given one'), frames it in domain terms ('nearest corpus dossier cards / more like this'), and names its use cases (peer discovery, clustering around a known entity). An agent can distinguish it from search_entities and semantic_search without opening the schema.

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?

Gives the prerequisite ('Pass an entity_id from search_entities'), an explicit exclusion ('Never report an empty result as a finding about the entity'), and named alternatives to fall back to ('semantic_search or search_entities'). Both when-to-use and when-not-to-use are covered.

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