Skip to main content
Glama
Rijksmuseum Iconclass MCP

Rijksmuseum Iconclass MCP

Search Iconclass

search
Read-onlyIdempotent

Find Iconclass notations by keyword or meaning, with filters for language, notation subtree, collection, and artworks.

Instructions

Search Iconclass notations by keyword or concept. Two modes (provide exactly one of query or semanticQuery): • query — FTS keyword search across labels and keywords in all 13 languages. Multi-word queries try phrase match first, then individual terms (AND). Inflected forms often work, but spelling variants (odour/odor) do not. Use parentNotation to restrict results to a subtree. • semanticQuery — find notations by meaning, across branches (e.g. 'grief and mourning' finds scenes in the Bible, burial-rite and mythology branches). Covers base notations only; key-expanded variants are reachable via query

Keyword results are ranked by collection coverage, then base notations before key variants of matching bases, then FTS relevance; semantic results by similarity. totalResults counts rows (each key variant is one); totalBaseNotations counts distinct base notations, a variant counting as its base. In semantic mode both count the neighbours ranked (offset + maxResults, fewer if filters leave fewer), not a corpus total.

For enumerating all notations under a prefix, use search_prefix instead.

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": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPreferred language for labels (default: 'en'). Available: en, nl, de, fr, it, es, pt, fi, cz, hu, pl, jp, zh.en
queryNoText search across Iconclass labels and keywords. Exact word matching — inflected forms may work ('crucified' finds 'crucifixion') but spelling variants do not ('odour' won't match 'odor'). Try semanticQuery for fuzzy matching.
offsetNoSkip this many results (for pagination). Semantic mode: offset + maxResults at most 500.
maxResultsNoMaximum results (1-50, default 25).
collectionIdNoFilter to notations with artworks in this specific collection (e.g. 'rijksmuseum').
semanticQueryNoSemantic concept search — finds notations by meaning rather than exact words. Use when keyword search fails or for broad conceptual queries. Max 1000 characters.
parentNotationNoRestrict results to a subtree — only notations starting with this prefix (e.g. '11F' for Virgin Mary, '73D' for life of Christ).
onlyWithArtworksNoOnly return notations that have artworks in any loaded collection.

Output Schema

NameRequiredDescriptionDefault
errorNo
queryYes
resultsYes
collectionsYes
totalResultsYes
totalBaseNotationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still discloses non-obvious behavior: result ranking order in each mode, that totalResults counts key-variant rows while totalBaseNotations counts distinct bases, and that semantic-mode totals describe only the ranked neighbours rather than a corpus total. It also surfaces the semantic-mode pagination ceiling (offset + maxResults ≤ 500), which materially constrains how an agent should page.

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 purpose and the mode split, then bulleting each mode, then the counting semantics — a sensible priority order with no filler. It is dense, with long semicolon-chained sentences in the ranking and tally passages, but nearly every clause carries decision-relevant information an agent would otherwise get wrong.

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?

For an 8-parameter, dual-mode search tool with an output schema, the description covers what structured fields cannot: how results are ordered, how the two result counters differ, and the semantic-mode paging bound. Combined with annotations covering safety and the schema covering parameters, an agent has enough to invoke and interpret this correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: the mutual exclusivity of query and semanticQuery is a constraint the flat schema does not encode, and the note that semantic mode covers base notations only (key-expanded variants reachable via query) changes how an agent should formulate a query. Remaining parameters (lang, collectionId, onlyWithArtworks) are left to 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?

"Search Iconclass notations by keyword or concept" gives a specific verb and resource, then immediately splits into the two named modes so an agent knows which surface it is calling. It also explicitly routes prefix enumeration elsewhere ("use search_prefix instead"), separating it from a sibling by name.

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?

Gives explicit selection rules: "provide exactly one of query or semanticQuery," with the trigger conditions for each (exact words vs. meaning across branches), plus a named alternative (search_prefix) for the specific case of enumerating under a prefix. It even sets a fallback path — semantic when keyword search fails or spelling variants break matching.

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