Skip to main content
Glama

The Holy Quran

search_quran

Read-onlyIdempotent

Search Quran translations, Arabic text and transliteration using lexical matching. Returns unique matching Ayahs in Quran order with exact text, matched fields, pagination and canonical Quran.is source URLs. Does not perform semantic search.

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_quran"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesSearch text or Quran reference.
scopeNoall
surahNoOptional restriction to one Surah.
offsetNo
languageNoRequested Quran.is language option.english
match_modeNoLexical phrase or substring keyword matching.phrase

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile needs no repeating. The description adds real context beyond that: results are deduplicated ('unique'), ordered by Quran order, carry matched-field metadata, and include canonical Quran.is source URLs. It does not cover empty-result behavior or diacritics/normalization handling.

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, front-loaded with the capability and closed with the limitation. No redundant or filler wording; 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?

With no output schema, the description takes on the return-value burden and does so reasonably (text, matched fields, pagination, source URLs). For a 7-parameter search tool it is nearly complete, missing only edge-case behavior such as zero results and text normalization.

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 57%, and the description does not expand on the undocumented parameters such as limit and offset beyond the word 'pagination'. It loosely maps to scope (translations, Arabic, transliteration) but says nothing about surah restriction or how match_mode values behave beyond 'lexical'. Baseline 3 is appropriate given the schema already enumerates and describes match_mode and language.

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?

The description gives a specific verb and resource set: 'Search Quran translations, Arabic text and transliteration using lexical matching', and scopes the result to 'unique matching Ayahs'. It implicitly separates itself from semantic search and from sibling tools like search_tafsir or search_topics, but never names an alternative, so it stops short of a 5.

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?

'Lexical matching' plus 'Does not perform semantic search' clearly frames when this tool is the right choice and rules out a class of queries. However, it names no sibling tool for the semantic or Surah-metadata cases, so the agent must infer the alternative route.

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