Skip to main content
Glama

Search Transcriptions

search_transcriptions
Read-onlyIdempotent

Full-text search across page transcriptions

Performs a full-text search across the page transcriptions of historical documents indexed by Open Archives. Mirrors the search UI at /transcripties/zoek.php. Results are ordered by Elasticsearch relevance (the order is fixed and cannot be overridden) and are returned paginated. Each match includes a source citation, page identifier and up to five highlighted text fragments. The set of facets returned depends on the supplied filters.

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_transcriptions"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes
langNo
startNo
year_endNo
year_startNo
number_showNo
archive_codeNo
archive_numberNo
inventory_numberNo

Output Schema

NameRequiredDescriptionDefault
queryNoEcho of the parameters supplied by the caller.
responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 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 / number_show / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / start / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / start / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / year_end / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / year_end / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / year_start / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / year_start / minimum
      Added value: +-9007199254740991
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Response returned by `/transcriptions/search.json`.",
      +  "properties": {
      +    "query": {
      +      "description": "Echo of the parameters supplied by the caller.",
      +      "properties": {
      +        "archive_code": {
      +          "nullable": true,
      +          "type": "string"
      +        },
      +        "archive_number": {
      +          "nullable": true,
      +          "type": "string"
      +        },
      +        "inventory_number": {
      +          "nullable": true,
      +          "type": "string"
      +        },
      +        "language": {
      +          "type": "string"
      +        },
      +        "number_show": {
      +          "type": "integer"
      +        },
      +        "q": {
      +          "type": "string"
      +        },
      +        "start": {
      +          "type": "integer"
      +        },
      +        "year_end": {
      +          "nullable": true,
      +          "type": "integer"
      +        },
      +        "year_start": {
      +          "nullable": true,
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "response": {
      +      "properties": {
      +        "docs": {
      +          "items": {
      +            "description": "One match in a transcription search response.",
      +            "properties": {
      +              "archive_number": {
      +                "description": "Archive number (archieftoegang) information for a transcription.",
      +                "properties": {
      +                  "nr": {
      +                    "description": "Archive number as used by the source institution.",
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "description": "Title of the archive.",
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "description": "External URL describing the archive on the source institution's website.",
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "id": {
      +                "description": "Page identifier in the form `<ISIL>_<archive_number>_<page>`.",
      +                "type": "string"
      +              },
      +              "inventory_number": {
      +                "description": "Inventory number information for a transcription.",
      +                "properties": {
      +                  "nr": {
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "type": "string"
      +                  },
      +                  "url": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "page": {
      +                "description": "Page number with leading zeros stripped.",
      +                "type": "string"
      +              },
      +              "snippets": {
      +                "description": "Up to five highlighted text fragments showing where the search terms appear. Each fragment wraps the matching terms in `<em>…</em>` tags.\n",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "source_archive": {
      +                "description": "Source archive holding the transcribed page.",
      +                "properties": {
      +                  "archive_code": {
      +                    "description": "openarch archive code (matches the codes used elsewhere in this API).",
      +                    "nullable": true,
      +                    "type": "string"
      +                  },
      +                  "isil": {
      +                    "description": "International Standard Identifier for Libraries (ISIL).",
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "description": "Localised name of the source archive.",
      +                    "nullable": true,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "uri": {
      +                "description": "Open Archives URL where the transcription can be viewed.",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "facets": {
      +          "description": "The set of facets returned depends on the supplied filters. With no `archive_code`: `source_archive`. With `archive_code` only: `archive_number`. With both `archive_code` and `archive_number`: `inventory_number`.\n",
      +          "properties": {
      +            "archive_number": {
      +              "items": {
      +                "properties": {
      +                  "count": {
      +                    "type": "integer"
      +                  },
      +                  "nr": {
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "inventory_number": {
      +              "items": {
      +                "properties": {
      +                  "count": {
      +                    "type": "integer"
      +                  },
      +                  "nr": {
      +                    "type": "string"
      +                  },
      +                  "title": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "source_archive": {
      +              "items": {
      +                "properties": {
      +                  "archive_code": {
      +                    "nullable": true,
      +                    "type": "string"
      +                  },
      +                  "count": {
      +                    "type": "integer"
      +                  },
      +                  "isil": {
      +                    "type": "string"
      +                  },
      +                  "name": {
      +                    "nullable": true,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "number_found": {
      +          "description": "Total number of matches across all pages.",
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds real value beyond that: fixed Elasticsearch relevance ordering that cannot be overridden, pagination, and the shape of each match (citation, page identifier, up to five highlighted fragments). It stops short of describing pagination mechanics or result-count limits.

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 the core action and generally efficient. The opening line and the first sentence of the body are partially redundant ('Full-text search across page transcriptions' restated as 'Performs a full-text search across the page transcriptions'), which costs a little space.

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?

For a 9-parameter search tool with no schema descriptions, the definition is only partly complete: ordering, pagination, and match shape are well covered, and an output schema exists so return values need no prose. The major gap is that none of the eight non-required filter/parameter semantics are explained, leaving an agent to guess at date-range and pagination behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, so the description carries the full explanatory burden and does not meet it. It never explains `q`, the `lang` enum, `year_start`/`year_end` versus `start`, `number_show` (capped at 100), or the archive/inventory identifiers. Only a vague reference to 'the supplied filters' gestures at the filtering parameters.

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?

States a specific verb and resource: 'full-text search across the page transcriptions of historical documents.' It also pins the exact upstream UI equivalent (`/transcripties/zoek.php`), which makes the scope unambiguous. It does not explicitly contrast itself with the sibling `browse_transcriptions` or `search_records`, so sibling differentiation is only implicit.

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: an agent can infer this is the tool for keyword queries over transcription text versus browsing. However, there is no explicit when-to-use/when-not guidance and no mention of when `browse_transcriptions` or `search_records` should be preferred.

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.