Skip to main content
Glama

WikiOO Art Encyclopedia

Search passages by meaning (articles, museums, artists, artworks)

search_sections_semantically
Read-onlyIdempotent

Search by MEANING that returns TEXT PASSAGES, not objects: the sections of our texts that answer a question best, whatever words they use, each WHOLE (section_text is never cut), from the requested models - "article" (our articles: how reproductions are made, policies, art history), "museum", "artist", "artwork" (their descriptions / biographies); default all models indexed on this server. Each result: model, object_pk (use it with the matching get_detail_* tool), object_title, object_url, category_code (articles), section_heading, section_text, is_faq_question, score (cosine; higher is closer). Ask in a full sentence; any language works (the texts are in English). Sections are packed best first into about 9,000 characters: sections_omitted_for_size says how many more matched. Use it to answer a question from what our texts say; to find a work, artist or museum by name or keywords, use search_fts; to find the objects a text is about, use search_objects_semantically. Error index_unavailable: fall back to the search_* full-text tools.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of sections (1-10, default 5).
queryYesThe question or text to find passages for (up to 2000 characters).
modelsNoWhich texts to search (default: every model indexed on this server).
languageNoSite language code (2 letters, e.g. "en", "fr"). Default "en".
category_codeNoOptional article category filter (Support / Website for service and policy questions); applies to articles only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description layers on non-obvious behavior: sections are returned whole and never truncated, results are packed best-first into about 9,000 characters with a sections_omitted_for_size count, and score is cosine similarity. It also documents a failure mode and its fallback, which annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the distinction from object search comes first, the result shape second, alternatives last. Every clause carries information — model semantics, packing behavior, error fallback — with no filler or repetition, despite the somewhat heavy use of capitalization for emphasis.

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?

There is no output schema, and the description compensates by enumerating every returned field (model, object_pk with the follow-up get_detail_* hint, object_title, object_url, category_code, section_heading, section_text, is_faq_question, score). Combined with the character-budget/omission note and the error fallback, an agent has everything needed to call and interpret it.

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 baseline is 3, but the description adds real meaning: it explains what each model value contains ('article' = how reproductions are made, policies, art history; artist/artwork = descriptions/biographies), confirms the default is all indexed models, and advises phrasing queries as full sentences in any language since texts are English. It does not add anything about category_code or limit beyond the schema's own descriptions.

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 (semantic search over text sections) and immediately disambiguates the unit of return: 'TEXT PASSAGES, not objects'. It explicitly names the positive model set (article, museum, artist, artwork) and contrasts with search_fts and search_objects_semantically, so an agent can distinguish it from siblings without opening schemas.

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 an explicit when-to-use ('to answer a question from what our texts say') plus two named alternatives with the conditions that select them ('to find a work, artist or museum by name or keywords, use search_fts'; 'to find the objects a text is about, use search_objects_semantically'). It also supplies an error-path fallback ('index_unavailable: fall back to the search_* full-text tools'), which is guidance beyond the happy path.

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.