Skip to main content
Glama

WikiOO Art Encyclopedia

Find artworks, artists, museums or articles by meaning

search_objects_semantically
Read-onlyIdempotent

Search by MEANING that returns OBJECTS, not passages: the artworks, artists, museums or articles whose texts are closest in meaning to a text (a description, a paragraph, a section of an article), e.g. "a woman reading by a window in soft morning light". The query is a text, not a name. Each result: model, object_pk (use it with the matching get_detail_* tool), object_title, object_url, best_score (cosine of the object's single best passage; higher is closer), score_sum (its matching passages added up) and matched_vectors_count. rank_by "score_sum" (default) favours objects matching in many passages; "best_score" favours the one passage closest to the text - use it to find the exact work a text is about. Any language works (the texts are in English). Use it when you have a text and want the objects it is about; with a name or keywords, use search_fts; for the passages that answer a question, use search_sections_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_objects_semantically"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of objects (1-20, default 10).
queryYesThe text to find objects for (up to 2000 characters).
modelsNoWhich objects to search (default: artwork, artist, museum).
rank_byNoRanking: sum of the matching passages (default) or the single best one.score_sum
languageNoSite language code (2 letters, e.g. "en", "fr"). Default "en".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safe-read profile (readOnly, idempotent, non-destructive), yet the description still adds substantive behavior: the exact result fields and their meaning, the rank_by tradeoff (many passages vs. the single closest passage), language behavior (any query language, English texts), and error fallback handling.

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 key distinction and example, and nearly every clause carries information. It is dense to the point of being one long paragraph, and the result-field enumeration plus ranking note take a lot of space before the sibling routing appears.

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 and its interpretation, plus the follow-up tool (get_detail_*) for object_pk. Combined with the error fallback, an agent has everything needed to call and consume results 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: the query is a text not a name, rank_by "best_score" is framed as the way to find the exact work a text is about, and object_pk is tied to the get_detail_* tools. It does not explain the models filter or the limit ceiling beyond what the schema says.

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+resource (semantic search returning OBJECTS: artworks, artists, museums, articles), and explicitly contrasts with the sibling result type ("not passages"). The example query ("a woman reading by a window in soft morning light") makes the retrieval mode unmistakable.

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 routing: use this when you have a text; use search_fts with a name or keywords; use search_sections_semantically for passages answering a question. It also gives a recovery path for the index_unavailable error (fall back to search_* full-text tools).

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.