Skip to main content
Glama

search_entities

Read-onlyIdempotent

Search all companies and people by name across every fused source to get entity IDs for ownership tracing or dossier review.

Instructions

Search every node in the live Mr.Faun corpus — companies AND people — by name, across all fused sources. This is the lexical search and it always covers the FULL corpus, so it is the fallback whenever semantic_search comes back thin. Returns entity ids you then pass to get_entity or trace_ownership_path. Each hit's source says whether it came from the resolved corpus or a live registry passthrough — it does NOT name the originating registry. For that provenance call get_entity, whose entity.registry_profile names the source register when we hold one — measured 2026-08-11 it was populated on 22 of 32 sampled entities, so expect null sometimes and fall back to linked_records[].registry and connections[].source — or get_dossier, which cites per-record source URLs. Use juris to scope to a country (e.g. gb, ky, us, cy). Reach into the non-UK sources is verified, not assumed: a name search for 'PETROLEO BRASILEIRO' returned FR (siren), BR (lei and br-cnpj) and US (cusip) rows in one response, 2026-08-11.

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": {
      "q": "<q>"
    },
    "name": "search_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesEntity name or fragment.
riskNoOptional: filter by risk level.
typeNoOptional: filter by entity kind.
jurisNoOptional: filter by jurisdiction code (e.g. gb, ky, us).
limitNoMax results (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A3.8/5.0
Behavior3/5

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

With readOnlyHint, openWorldHint, idempotentHint and destructiveHint already declared, the description adds genuinely new behavior: full-corpus coverage, the fact that each hit's `source` does not name the originating registry, and a measured 22-of-32 population rate for `entity.registry_profile`. However, most of this is spent describing how other tools reveal provenance rather than this tool's own behavior, and it says nothing about result ordering, ranking, or empty-result handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the semantic_search contrast arrives early, but the description then sprawls into provenance routing, a measured coverage statistic, and a specific query anecdote ('PETROLEO BRASILEIRO' returning FR/BR/US rows). That material belongs in get_entity or get_dossier's definition and dilutes a straightforward name-search tool.

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 rightly explains that hits are entity ids to be fed into get_entity or trace_ownership_path, and it pre-empts a likely agent confusion about provenance. It is largely complete, though it never states pagination or result-ordering behavior for a tool capped at 50 results.

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 all five parameters are already documented, and the description only adds meaning for `juris` (country scoping with gb/ky/us/cy examples). It says nothing extra about `risk`, `type`, or `limit` behavior such as default truncation effects. Baseline 3 is appropriate when the schema carries the parameter burden.

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 first sentence gives a specific verb (search), resource (every node in the corpus — companies AND people), matching field (name), and scope (all fused sources). It explicitly distinguishes itself from semantic_search by naming this as 'the lexical search,' so an agent can separate the two without opening a schema.

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?

It names the alternative (semantic_search) and the condition that selects this tool ('fallback whenever semantic_search comes back thin'), and it chains forward to get_entity and trace_ownership_path for the returned ids. It stops short of any explicit when-not-to-use statement, e.g. whether to prefer lookup_company or resolve for an exact registered name.

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