Skip to main content
Glama

ArtsDot Art Search & Quotation

Find artworks, artists, museums or articles by meaning

search_objects_semantically
Read-onlyIdempotent

Semantic search returning OBJECTS, not passages: the artworks, artists, museums or articles whose texts are closest in meaning to a text (a question, a paragraph, a section of an article). 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). Error index_unavailable: fall back to the search_* full-text tools.

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.6/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), yet the description adds substantial extra behavior: the exact shape of each result item, what best_score and score_sum actually measure, the matched_vectors_count meaning, and the 'any language query works even though texts are English' quirk. It also discloses the index_unavailable error and the recovery route, which is the kind of operational detail annotations never carry.

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 objects-not-passages distinction is front-loaded, and the result-field enumeration and error advice each earn their place. Sentences are long and dash-heavy, making it denser than it needs to be, but no clause is padding.

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?

With no output schema, the description takes on the return-value burden itself and does so completely — result fields, scoring semantics, and the error case are all covered. For a 5-parameter read-only search with full schema coverage, nothing an agent needs to call it correctly is missing.

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; the description nonetheless adds real meaning by explaining the tradeoff between the two rank_by modes in retrieval terms (many matching passages vs one closest passage) rather than restating the enum. It also reinforces that object_pk feeds the matching get_detail_* tool, linking parameters to downstream calls.

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 ('semantic search') and a precise resource set (artworks, artists, museums, articles), and immediately draws the boundary against the sibling search_sections_semantically by declaring it returns OBJECTS, not passages. An agent can route between the two semantic tools without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives concrete selection guidance — use rank_by='best_score' to find the exact work a text is about, default 'score_sum' when many passages match — and names a fallback path to the search_* full-text tools on index_unavailable. It does not explicitly state when to prefer this over search_sections_semantically beyond the objects-vs-passages framing, so it stops short of the top score.

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.

Resources