Skip to main content
Glama

aleph_search

Read-only

Search people, companies, documents, and other entities across all accessible Aleph datasets. Get compact entity summaries with IDs and optional facets showing country or dataset clusters.

Instructions

Search entities (people, companies, documents, ...) across every Aleph dataset you can read. This is the main entry point. Returns compact summaries with entity IDs to pass to the other tools. Request facets to see which countries or datasets the matches cluster in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoResults per page (1-200).
queryYesFree-text query. Supports quoted phrases ("Igor Ivanov"), boolean AND/OR/NOT and wildcards (gazprom*).
facetsNoAggregate the result set by these fields, e.g. ['countries', 'schema', 'collection_id', 'names', 'addresses'].
offsetNoSkip this many results, for paging.
schemaNoRestrict to one followthemoney schema and its descendants, e.g. Person, Company, LegalEntity, Document, Address. Defaults to Thing (all real-world things). Use aleph_get_schema_info to list them.
countriesNoTwo-letter ISO country codes, e.g. ['ru', 'cy'].
highlightNoInclude matching text snippets for each hit.
collection_idsNoRestrict to these collection (dataset) IDs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this as read-only and non-destructive, so the safety profile is covered. The description adds useful behavior beyond annotations: it searches only datasets the user 'can read,' returns compact summaries rather than full entities, and suggests facets for clustering by countries or datasets.

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

Conciseness5/5

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

Three sentences, each earning its place: scope, entry-point role, result format, and facet guidance. The core action is front-loaded and there is no redundant or filler content.

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?

Given a rich 100% schema-described parameter set, clear annotations, and no output schema, the description covers the essential workflow: search broadly, receive IDs, pass them to other tools. It could be slightly stronger by naming a sibling like aleph_get_entity for retrieving full details, but it is complete enough for an agent to use 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 description coverage is 100%, so the baseline is 3. The description adds mild parameter context by explaining that facets reveal country/dataset clustering, but it does not need to repeat query, limit, offset, or filter semantics already well documented in 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?

The description uses a specific verb and resource: 'Search entities ... across every Aleph dataset you can read.' It also positions itself as 'the main entry point' and clarifies that results are compact summaries with entity IDs, which distinguishes it from direct-fetch and similarity sibling tools.

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?

The description gives clear context: this is the main entry point and should be used first, producing entity IDs to feed into other Aleph tools. It does not explicitly name alternatives or state when not to use it, but the entry-point workflow is clearly communicated.

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