Skip to main content
Glama

Search the Quran

search
Read-only

Ayahs containing the words given: in the Arabic (diacritics optional) or, with "translation", in that translation; words with no Arabic letter search the English (Hilali & Khan) unless a translation is named. Up to 50 results, each with its reference and link.

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

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 10
queryYes
translationNoSearch this translation instead of the Arabic, e.g. "hilali"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, and closed-world behavior, so the bar is lower, and the description still adds what matters: a hard cap of 50 results and the shape of each hit (reference and link). That's meaningful disclosure for a tool with no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence, front-loaded with what is returned and then the matching rules. The semicolon chain of conditions is efficient but slightly harder to parse than it needs to be.

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 3-parameter read-only search tool with no output schema, it covers the critical unknowns: result cap, result shape, and matching-language behavior. It omits whether matching is whole-word or substring, and whether results can be paged past the limit.

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 67% schema coverage, the description adds real meaning: it explains that the query is matched against Arabic by default but against English when no Arabic letters appear, and that the translation parameter redirects the search to a named translation. The limit parameter is only implied by 'up to 50 results', which is already fully documented in the schema.

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 states a concrete verb-and-resource: it returns Ayahs (verses) that contain the given words, and it makes clear this is a text-matching tool rather than a lookup like get_ayah. What's missing is an explicit contrast with the closest sibling, word_by_word, which an agent has to infer.

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?

It gives useful selection logic for the query language ('Arabic diacritics optional'; words with no Arabic letters fall back to the English Hilali & Khan translation unless a translation is named), but it never says when to prefer this over get_ayah, word_by_word, or get_tafsir.

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.