Skip to main content
Glama

Islam West Africa Collection (IWAC)

Search archival documents

search_documents
Read-onlyIdempotent

Search the small archival-documents subset (~26 items: Islamic association reports, flyers, project documents — mostly Burkina Faso). Documents are French; English terms match only the English AI description. Most have OCR text and an AI description. Call with no arguments to list all.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 15, max 50
offsetNo
countryNoExact country name: Benin | Burkina Faso | Côte d'Ivoire | Niger | Nigeria | Togo (accents optional). Corpus is mostly Burkina Faso/Togo/Benin
keywordNoConcept keyword; every word must occur in the title, OCR, French/English AI descriptions or subject; "quote" a phrase

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / keyword / description
      Previous value: -"Concept keyword; substring match on title, OCR, the French and English AI descriptions, and subject (accent-insensitive)"New value: +"Concept keyword; every word must occur in the title, OCR, French/English AI descriptions or subject; \"quote\" a phrase"
  2. Changed4 schema fields changed
    • removedInput schema / properties / limit / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / limit / minimum
      Removed value: --9007199254740991
    • removedInput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / offset / minimum
      Removed value: --9007199254740991
  3. Changed1 schema field changed
    • changedInput schema / properties / keyword / description
      Previous value: -"French concept keyword; substring match on title, OCR, AI description and subject (accent-insensitive)"New value: +"Concept keyword; substring match on title, OCR, the French and English AI descriptions, and subject (accent-insensitive)"
  4. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Exact country name: Benin | Burkina Faso | Côte d'Ivoire | Niger | Nigeria | Togo (accents optional; corpus is mostly Burkina Faso/Togo/Benin)"New value: +"Exact country name: Benin | Burkina Faso | Côte d'Ivoire | Niger | Nigeria | Togo (accents optional). Corpus is mostly Burkina Faso/Togo/Benin"
  6. Changed6 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / keyword / description
      Previous value: -"Substring match on title, OCR, AI description and subject (accent-insensitive)"New value: +"French concept keyword; substring match on title, OCR, AI description and subject (accent-insensitive)"
    • addedInput schema / properties / limit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / limit / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / offset / minimum
      Added value: +-9007199254740991
  7. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds substantive traits the annotations cannot: corpus size, dominant country (Burkina Faso), language of the documents, and the fact that most items carry OCR text plus an AI description. It does not discuss pagination behavior or what a result record contains, which keeps it below a 5.

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 dense sentences, front-loaded with scope and size, then language caveats, then the zero-argument behavior. Every clause carries decision-relevant information and nothing is redundant.

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?

For a zero-required-parameter search with no output schema, the description covers what matters for correct invocation: corpus limits, language handling, and the empty-call behavior. The one remaining gap is return shape (fields, snippet vs full text, how offset/limit manifest), which the agent must discover by calling.

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 75% and the schema already explains the country enum values, accent handling, and the keyword AND/quote rules. The description contributes non-obvious meaning beyond that: English query terms only match the English AI description, while French terms reach titles/OCR, which materially changes how an agent should phrase a keyword. Added value over baseline 3.

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 (search) and a precisely scoped resource: the ~26-item archival-documents subset, enumerated by content type (association reports, flyers, project documents) and geography. That scoping is what separates it from sibling searches like search_articles, search_publications, and search_images without needing to name them.

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 real usage context: this is a small specialized subset, queries should account for French-language content, and a no-argument call lists everything, which signals the intended browsing pattern for a 26-item corpus. It stops short of explicitly routing the agent to a sibling (e.g. semantic_search_* or search_publications) for other cases, so it is clear context without stated alternatives.

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.