Skip to main content
Glama

The Holy Quran

search_surahs

Read-onlyIdempotent

Find Quran Surahs by number, localized name, Arabic name, transliterated name or meaning. Supports bounded fuzzy spelling matching. Returns ranked results and source URLs.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesSearch text or Quran reference.
offsetNo
languageNoRequested Quran.is language option.english
allow_fuzzyNoAllow approximate spelling matches.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds useful context beyond that, namely bounded fuzzy matching, ranked output, and source URLs, but says nothing about how ranking works or how fuzzy matching can be constrained.

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 list, then the fuzzy-matching caveat, then the return shape. Every sentence carries distinct information and there is no redundant restatement of the tool name.

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

Completeness3/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 at least sketches the return value ('ranked results and source URLs'), which is genuinely helpful. For a 5-parameter paginated search it still leaves gaps: no mention of pagination via limit/offset, defaults, or how language affects name matching.

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?

With 60% schema coverage, the description compensates by explaining the semantic breadth of the required 'query' parameter (number, localized/Arabic/transliterated name, meaning) and by describing fuzzy matching, which directly governs the allow_fuzzy flag. It adds nothing for limit, offset, or language, keeping it below a top score.

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 verb and resource ('Find Quran Surahs') and enumerates the accepted query modes: number, localized name, Arabic name, transliterated name, meaning. This lets an agent distinguish it from lookup tools like get_surah, though it never explicitly names or contrasts with that sibling.

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?

Usage is implied by the enumerated query modes and the mention of bounded fuzzy spelling matching, so an agent can infer this is a ranked search rather than a direct fetch. However, there is no explicit when-to-use versus search_quran or get_surah, and no stated exclusions or failure conditions.

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