Skip to main content
Glama

globalise_find_archival_documents

Read-onlyIdempotent

Search VOC finding-aid metadata by settlement, year, chamber, inventory, or folio and run FTS5 queries to scope records before full-text transcription search.

Instructions

Search finding-aid metadata to scope the archive before full-text search. A local index of 228K+ entries. Two sources: OBP digitized indexes (~227K entries: settlement, year, folio, inventory, description) and GM Generale Missiven (~950 official letters: chamber, dates, scan URLs, and — for the ~558 published in RGP — published-edition links to Retroboeken scans + GitHub plain text). The query field uses SQLite FTS5 — a bare space means AND — all terms must appear; plus OR/NOT, prefix*, "exact phrase", and (expr) grouping. Terms with special characters (hyphens, slashes, apostrophes) are auto-quoted for you while your AND/OR/NOT operators are kept intact, so peper OR oost-indie works as written. Only input FTS5 itself cannot parse (unbalanced quotes/parens) falls back to a whole-phrase search, flagged in the response note. Note: settlement is OBP-only; chamber/htrAvailable are GM-only; folio filters require an inventoryNumber. Inventory numbers in the results feed the inventoryNumber filter of globalise_search_transcriptions to reach the actual transcribed pages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "globalise_find_archival_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoPagination offset (default: 0)
sizeNoResults per page (1-500, default: 25)
queryNoFull-text search in descriptions (SQLite FTS5). a bare space means AND — all terms must appear; plus OR/NOT, prefix*, "exact phrase", and (expr) grouping. Terms with special characters (hyphens, slashes, apostrophes) are auto-quoted for you while your AND/OR/NOT operators are kept intact, so `peper OR oost-indie` works as written. Only input FTS5 itself cannot parse (unbalanced quotes/parens) falls back to a whole-phrase search, flagged in the response note. (Implicit-AND before a group like `compagnie (a OR b)` is rejected by FTS5 itself — write `compagnie AND (a OR b)`.) Descriptions are one-line catalogue headings, not a subject index, so prefer the structured filters (settlement/year/inventory) for discovery.
sourceNoData source: "obp" (Digitized Indexes, ~227K docs), "gm" (Generale Missiven, ~950 letters), "all" (both)all
yearToNoFilter by latest year (inclusive). Example: 1750
chamberNoFilter by VOC chamber (GM only). Values: "Amsterdam", "Zeeland"
folioToNoFilter by folio range end (OBP only, requires inventoryNumber)
yearFromNoFilter by earliest year (inclusive). Example: 1700
folioFromNoFilter by folio range start (OBP only, requires inventoryNumber)
settlementNoFilter by settlement name (OBP only) — the VOC office the papers came *from* (origin), not the subject. Exact match on one value. Mostly one spelling per place, but unpredictable (e.g. "Malakka" NOT "Malacca"; "Ceylon" NOT the period "Ceijlon"), and a few places are split across spellings (e.g. "Kanton" and "Canton"): run once with includeAggregations, copy every variant from the settlements breakdown (top 20; narrow with yearFrom/yearTo or inventoryNumber to surface a minor office), and run once per variant. Examples: "Ceylon", "Batavia", "Malakka".
htrAvailableNoFilter on the IJsberg sub-project flag (GM only). NOT a reliable "has transcriptions" flag: it effectively marks chamber=Zeeland (all 70 Zeeland letters true, all 876 Amsterdam false), yet many Amsterdam inventories ARE transcribed in GLOBALISE. To find letters you can actually read, take the inventoryNumber and probe globalise_search_transcriptions(query="*", size=1) instead of filtering on this.
inventoryNumberNoFilter by inventory number(s). Single: "1543" or multiple: ["1543", "1068"]
includeAggregationsNoInclude aggregation counts: top 20 settlements and inventories, records per decade (OBP), chambers (GM). Default: true.

Output Schema

NameRequiredDescriptionDefault
noteNoCaveats about how this result was computed — e.g. a source skipped because a filter does not apply to it, or a size-cap that dropped trailing results to fit the response budget (it then states how many of how many were kept and how to recover the rest). May also open with a one-off "first use: downloaded ..." notice for the one-time index download — possibly triggered by an earlier call, such as opening the page viewer; that concerns setup, not the results, and will not recur.
totalYes
resultsYes
paginationYes
aggregationsNo
databaseInfoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, but the description adds substantial context beyond that. It discloses data-source constraints (settlement OBP-only, chamber/htrAvailable GM-only, folio requires inventoryNumber), FTS5 parsing and fallback behavior, and the unreliable nature of htrAvailable.

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 description is dense but front-loads the core purpose and workflow, then moves through source details, query behavior, and field caveats. The length is mostly justified by a 13-parameter tool, though some query-syntax detail duplicates the schema and could be trimmed.

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

Completeness5/5

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

Given the rich annotations, 100% schema description coverage, and the presence of an output schema, the description supplies everything an agent needs: purpose, sources, query parsing behavior, field availability restrictions, aggregation guidance, and the downstream transcription workflow. No important calling context is missing.

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%, and the schema already documents the query syntax, source options, settlement exact-match quirks, htrAvailable caveat, and folio/inventory dependencies in detail. The description adds mainly the cross-tool semantic that inventory numbers feed globalise_search_transcriptions, with most parameter meaning duplicated from the schema, so the baseline 3 is appropriate.

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 states a specific verb and resource: 'Search finding-aid metadata' over a 'local index of 228K+ entries.' It also identifies the two sources and frames the tool's role as scoping the archive before full-text search, which distinguishes it clearly from globalise_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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit workflow guidance: use this to scope the archive before full-text search, and use the resulting inventory numbers with globalise_search_transcriptions to reach transcribed pages. It also recommends structured filters for discovery and explains how to handle settlement spelling variants via includeAggregations.

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