Skip to main content
Glama

globalise_lookup_measure

Read-onlyIdempotent

Look up early-modern Dutch weights and measures and their recorded conversion ratios by unit, type, or spelling variant, with context fields needed to interpret each commodity-specific value correctly.

Instructions

Look up historical weights and measures and their conversion ratios. ~213 units of weight, volume, length, area, quantity, and misc, from the 1764–1771 Memoriën van Munten, Maaten, en Gewigten. Each result reliably carries: the unit label, its type (weight/volume/length/area/quantities/misc — load-bearing, since a few labels like roede/voet are homonyms distinguished only by type), period spelling variants, and the conversion ratios it appears in (~731 across the dataset). This is NOT a precise unit converter: early-modern units were unstable, so a ratio holds only for the settlement and commodity it was recorded for (a bahar of pepper ≠ a bahar of cloves) — always read each conversion against its context field, and do not convert to modern equivalents without it. The context often pins the commodity as well as the place (e.g. "rijst, Batavia", "goud, zilver, Mokka"), and the same unit's ratio routinely differs by good — so the context is where the commodity-specific value lives, not just the prose definition. A self-referential ratio ("1 X = 1 X") attests the unit was used in that context without a recorded local equivalence. Spelling variants double as query expansion: feed them into globalise_search_transcriptions (which is spelling-blind) to catch documents a modern spelling misses. Definitions are sparse (only ~22% of units carry any, mostly Dutch) — a bonus, not the core; most units have none. The query field uses SQLite FTS5 over label + variants + definition text — a bare space means AND — all terms must appear; plus OR/NOT, prefix*, "exact phrase"; label/variant hits rank above definition hits. 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. Omit the query to page through the unit list alphabetically.

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

Input Schema

NameRequiredDescriptionDefault
fromNoPagination offset (default: 0)
sizeNoResults per page (1-100, default: 20)
queryNoFull-text search (SQLite FTS5) over the unit label, period spelling variants, and the (sparse) definition text. a bare space means AND — all terms must appear; plus OR/NOT, prefix*, "exact phrase". Matches on labels/variants rank above matches in the definition body. 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. Omit to page through all units alphabetically.

Output Schema

NameRequiredDescriptionDefault
noteNoCaveats about how this result was computed — e.g. an FTS query whose special-character terms were auto-quoted, 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).
totalYes
resultsYes
paginationYes
databaseInfoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so safety is covered; the description adds the genuinely non-obvious traits the annotations cannot: FTS5 ranking (label/variant hits above definition hits), auto-quoting of special characters with operator preservation, and a parse-failure fallback to whole-phrase search surfaced in a response note. However, it never states that query is the only search control or how ranking interacts with pagination, and it spends part of its budget re-explaining the same FTS syntax already given in the schema.

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?

Purpose is front-loaded in the first sentence, which is good, but the single dense paragraph runs long and repeats itself: the context caveat is stated twice ("always read each conversion against its `context` field" then again as "where the commodity-specific value lives"), and the entire FTS5 operator/auto-quote/fallback passage is duplicated from the input schema.

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?

An output schema exists, so return-value structure need not be described. The remaining gaps an agent would actually hit — homonym labels, commodity-specific ratios, sparse definitions (~22%), self-referential ratios, query syntax and fallback — are all disclosed, making the definition complete for a read-only lookup tool.

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's FTS5 explanation is essentially a verbatim duplicate of the `query` parameter's schema text, adding no new meaning, and it never mentions `from`/`size`, which the schema documents as pagination offset and page size.

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?

States a specific verb and resource (look up historical weights and measures and their conversion ratios) and pins the scope precisely: ~213 units, six types, sourced from the 1764–1771 Memoriën. The note that the type field is load-bearing because labels like roede/voet are homonyms shows the agent exactly what distinguishes this dataset from a generic unit converter.

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?

Explicit when-not guidance ("This is NOT a precise unit converter"), the condition that must accompany any conversion (the `context` field), and a named sibling for the follow-on task (feeding spelling variants into globalise_search_transcriptions, which is spelling-blind). It also covers the degenerate mode: omit the query to page alphabetically.

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