Skip to main content
Glama

Search Records

search_records
Read-onlyIdempotent

Search genealogical records

Searches the genealogical dataset and returns found persons and records. Supports filtering by archive, source type, event place, birth place, relation type and country. Results are pageable and sortable. Note: version 1.1 uses archive_code instead of archive.

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

Input Schema

NameRequiredDescriptionDefault
langNo
nameYes
sortNo
startNo
birthplaceNo
eventplaceNo
sourcetypeNo
not_archiveNo
number_showNo
archive_codeNo
country_codeNo
relationtypeNo

Output Schema

NameRequiredDescriptionDefault
queryNoEcho of the interpreted search query.
responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Top-level search response.",
      +  "properties": {
      +    "query": {
      +      "description": "Echo of the interpreted search query.",
      +      "properties": {
      +        "archive": {
      +          "type": "string"
      +        },
      +        "language": {},
      +        "name": {
      +          "type": "string"
      +        },
      +        "number_show": {
      +          "type": "integer"
      +        },
      +        "only_results_with_scans": {
      +          "type": "boolean"
      +        },
      +        "sort": {
      +          "type": "integer"
      +        },
      +        "start": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "response": {
      +      "properties": {
      +        "docs": {
      +          "items": {
      +            "description": "A single search result item representing a person mentioned in a record.",
      +            "properties": {
      +              "_eventtype": {
      +                "description": "Event type in Dutch.",
      +                "type": "string"
      +              },
      +              "_relationtype": {
      +                "description": "Relation type in Dutch.",
      +                "type": "string"
      +              },
      +              "archive": {
      +                "description": "Name of the archive (in the requested language).",
      +                "type": "string"
      +              },
      +              "archive_code": {
      +                "description": "Archive code.",
      +                "type": "string"
      +              },
      +              "archive_org": {
      +                "description": "Name of the archive organisation (Dutch).",
      +                "type": "string"
      +              },
      +              "eventdate": {
      +                "nullable": true,
      +                "properties": {
      +                  "day": {
      +                    "type": "integer"
      +                  },
      +                  "month": {
      +                    "type": "integer"
      +                  },
      +                  "year": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "eventplace": {
      +                "description": "Place(s) where the event occurred, as an array of place names; null when unknown.",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": [
      +                  "array",
      +                  "null"
      +                ]
      +              },
      +              "eventtype": {
      +                "description": "Event type in the requested language.",
      +                "type": "string"
      +              },
      +              "identifier": {
      +                "description": "Record UUID.",
      +                "type": "string"
      +              },
      +              "personname": {
      +                "description": "Name of the person as it appears in the record.",
      +                "type": "string"
      +              },
      +              "pid": {
      +                "description": "Person identifier.",
      +                "type": "string"
      +              },
      +              "relationtype": {
      +                "description": "Relation type in the requested language.",
      +                "type": "string"
      +              },
      +              "sourcetype": {
      +                "description": "Type of the source document.",
      +                "type": "string"
      +              },
      +              "url": {
      +                "description": "URL of the record on Open Archives.",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "number_found": {
      +          "description": "Total number of results found.",
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed9 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / not_archive / anyOf
      Added value: +[
      +  {
      +    "const": 0,
      +    "type": "number"
      +  },
      +  {
      +    "const": 1,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / not_archive / enum
      Removed value: -[
      -  0,
      -  1
      -]
    • removedInput schema / properties / not_archive / type
      Removed value: -"number"
    • addedInput schema / properties / number_show / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / sort / anyOf
      Added value: +[
      +  {
      +    "const": -6,
      +    "type": "number"
      +  },
      +  {
      +    "const": -5,
      +    "type": "number"
      +  },
      +  {
      +    "const": -4,
      +    "type": "number"
      +  },
      +  {
      +    "const": -3,
      +    "type": "number"
      +  },
      +  {
      +    "const": -2,
      +    "type": "number"
      +  },
      +  {
      +    "const": -1,
      +    "type": "number"
      +  },
      +  {
      +    "const": 1,
      +    "type": "number"
      +  },
      +  {
      +    "const": 2,
      +    "type": "number"
      +  },
      +  {
      +    "const": 3,
      +    "type": "number"
      +  },
      +  {
      +    "const": 4,
      +    "type": "number"
      +  },
      +  {
      +    "const": 5,
      +    "type": "number"
      +  },
      +  {
      +    "const": 6,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / sort / enum
      Removed value: -[
      -  -6,
      -  -5,
      -  -4,
      -  -3,
      -  -2,
      -  -1,
      -  1,
      -  2,
      -  3,
      -  4,
      -  5,
      -  6
      -]
    • removedInput schema / properties / sort / type
      Removed value: -"number"
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: results are pageable and sortable, and a version caveat that v1.1 uses `archive_code` instead of `archive` — a subtle migration detail an agent would otherwise get wrong. It does not describe pagination limits or result caps, which keeps it short of a 5.

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?

The purpose sentence is front-loaded, followed by capability, then the caveat — a sensible order with no filler. The version note is slightly cryptic (does 1.1 only accept archive_code?) but is short and high-value, so it earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the read-only annotations remove the safety burden. For a 12-parameter search tool, though, the description leaves the sort codes, not_archive, number_show and paging limits undocumented, and gives no guidance on when this tool beats search_transcriptions or show_record.

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 0% across 12 parameters, so the description carries the burden and partially pays it by mapping six filter concepts (archive, source type, event place, birth place, relation type, country) to their parameters, with the archive_code naming fix. However, the 12-valued `sort` enum is entirely opaque (what do -6 through 6 mean?), and `not_archive`, `number_show`, `start` and `lang` get no meaning at all beyond the vague "pageable and sortable".

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ("Search genealogical records") and adds that it returns found persons and records, with filtering across archive, source type, event place, birth place, relation type and country. This is enough for an agent to separate it from record-detail siblings like show_record or view_transcription, though it never explicitly contrasts itself with the closely-named search_transcriptions.

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?

Usage is implied rather than stated: the description tells you the tool searches the genealogical dataset and supports filter dimensions, so an agent can infer it is the entry point for name-based lookup. There is no explicit when-to-use/when-not-to-use guidance and no routing to alternatives such as match_record, show_record or search_transcriptions.

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.