Skip to main content
Glama

Islam West Africa Collection (IWAC)

Semantic search for academic references

semantic_search_references
Read-onlyIdempotent

Semantic search over academic references by title + abstract, across languages. Only references with an abstract (about half) are covered; use search_references for the rest. Runs the corpus model, EmbeddingGemma 2, locally with no API key (first use downloads ~350 MB). similarity_score only ranks within one query.

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

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 10, max 50
queryYesNatural-language query, any language
countryNoExact country name: Benin | Burkina Faso | Côte d'Ivoire | Niger | Nigeria | Togo (accents optional)
date_toNoLatest year, YYYY
languageNoe.g. Français | Anglais
date_fromNoEarliest year, YYYY
reference_typeNoFrench type label, substring (e.g. Thèse de doctorat)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / maxLength
      Previous value: -8192New value: +2000
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Added

TDQS

A4.7/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) and closed-world scope, and the description adds operational context they cannot: a local EmbeddingGemma 2 model, no API key, a ~350 MB first-use download, and the critical caveat that similarity_score is only comparable within a single query. That last point prevents a real cross-query ranking error.

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?

Three short sentences, no repetition: capability and field scope first, then the coverage caveat with its alternative, then runtime behavior and score interpretation. Every sentence carries information the agent cannot get from structured fields.

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 7 parameters fully described in schema, a closed-world read-only annotation set and no output schema, the remaining burden is scope limits and result interpretation — both addressed via the abstract-coverage caveat and the similarity_score note. Nothing needed to call it correctly or interpret results is missing.

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 coverage is 100%, so query, limit, country, language, date range and reference_type are already fully documented with formats and examples. The description adds only indirect meaning ("any language" for query, "across languages" for the multilingual index) and says nothing extra about the filters, so it sits at the baseline for a fully documented 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?

"Semantic search over academic references by title + abstract, across languages" gives a specific verb (semantic search), resource (references), the indexed fields (title + abstract), and the matching method. It is clearly separable from search_references and from the semantic_search_* siblings covering articles, images and publications.

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?

Explicitly states the coverage boundary ("Only references with an abstract (about half) are covered") and names the fallback ("use search_references for the rest"). An agent can decide between the two tools without opening either schema.

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.