Skip to main content
Glama

Search Quran

search_quran
Read-onlyIdempotent

Search the Quran for a keyword across ayahs (verses). Returns matching verses (up to 30) with their surah (chapter) and ayah number. Defaults to the en.asad English translation; pass another edition to search a different translation or Arabic (quran-uthmani).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
surahNoRestrict to a surah number, or 'all' for the whole Quran (default).
editionNoEdition to search. Default 'en.asad'.
keywordYesWord or phrase to search for.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "keyword": "mercy"
      +  },
      +  {
      +    "edition": "quran-uthmani",
      +    "keyword": "light",
      +    "surah": 24
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description adds behavioral context beyond annotations: it reveals the default English translation (en.asad), the ability to search other editions (including Arabic), and a result limit of 30 verses. This supplements the readOnlyHint and idempotentHint annotations.

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?

The description is two sentences, front-loading the core purpose and return format. The second sentence concisely adds the default translation and the option to search other editions. No unnecessary words.

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?

Given no output schema, the description adequately describes the result structure (verses with surah and ayah numbers) and the result limit. It covers the three parameters and their defaults. It is complete for a search tool, though it omits error scenarios or empty results.

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?

The input schema covers all three parameters, but the description adds value by explaining the default for the 'edition' parameter and mentioning that passing 'quran-uthmani' searches Arabic. It also clarifies that results include surah and ayah numbers, which is not in the 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?

The description clearly states the verb 'Search', the resource 'the Quran', and the scope 'across ayahs (verses)'. It also specifies the return format with surah and ayah numbers. This distinguishes it from sibling tools like get_ayah and get_surah, which retrieve specific items.

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

Usage Guidelines3/5

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

The description implies usage for keyword searching across the Quran, but it does not explicitly state when to use this tool versus alternatives. It mentions default edition and result limits, but lacks guidance on when not to use it or how it compares to siblings.

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.