Skip to main content
Glama

Islam West Africa Collection (IWAC)

Find similar items

get_similar_items
Read-onlyIdempotent

Nearest stored embeddings by cosine similarity, without an API key. Scores rank reading candidates; no threshold proves a reprint. Returns source IDs and dates for comparison. Corpus-wide candidate generation belongs offline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesItem id — either a bare o:id ('3064') or the namespaced form search returns ('articles:3064')
limitNoNeighbours returned (default 12, max 50)
subsetNoarticles (default) | publications | references
min_scoreNoMinimum cosine similarity (-1 to 1)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
viewYes
sourceYes
subsetYes
neighboursYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / limit / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / limit / minimum
      Removed value: --9007199254740991
    • changedInput schema / properties / min_score / description
      Previous value: -"Drop neighbours below this cosine similarity (0-1)"New value: +"Minimum cosine similarity (-1 to 1)"
    • addedInput schema / properties / min_score / maximum
      Added value: +1
    • addedInput schema / properties / min_score / minimum
      Added value: +-1
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The o:id of the item to find neighbours for"New value: +"Item id — either a bare o:id ('3064') or the namespaced form search returns ('articles:3064')"
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds real context beyond that: local embedding lookup with no API key, scores as ranking hints rather than proof, and the scope limitation that bulk candidate generation must be done offline.

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?

Four short, front-loaded sentences with no filler; the core operation leads and the cautions follow. The telegraphic phrasing ('no threshold proves a reprint') is dense but each sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 values need not be enumerated, and annotations cover the safety profile. The description supplies the interpretive cautions and scope limits an agent needs to use the scores correctly, leaving little missing for a four-parameter 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 id, limit, subset and min_score are fully documented in the schema. The description adds no syntax, default, or interpretation detail for any parameter, which is the expected baseline when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific operation on a specific resource: nearest stored embeddings ranked by cosine similarity, computed locally 'without an API key'. That clearly separates it from the search_* family, though no sibling is named explicitly.

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 both a use case ('scores rank reading candidates') and a negative boundary ('corpus-wide candidate generation belongs offline'), plus a caution that 'no threshold proves a reprint'. It stops short of naming which alternative tool to use for corpus-wide work.

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.