Skip to main content
Glama

The Holy Quran

get_ayah_range

Read-onlyIdempotent

Retrieve a consecutive range of Quran verses with individual Quran.is 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": {
      "surah": "<surah>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_ayah_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
surahYes
languageNoQuran.is language identifier.english

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.1/5.0
Behavior3/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 safety is covered. The description adds genuinely new information that each verse carries its own Quran.is source URL, but says nothing about ordering, invalid ranges (start > end), or whether a range may cross surah boundaries — gaps that matter for a range read.

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 front-loaded sentence with no filler; the retrieval outcome (individual source URLs) is stated up front. It is efficient, though its brevity is part of why parameter semantics go unexplained.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters, three of them undocumented in the schema, and no output schema, the description should carry more of the load. It leaves the agent guessing about range validity, intra-surah scope, and language behavior, which are the main things needed to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, with just `language` documented, so the description must compensate for `surah`, `start`, and `end` — and it does not. It never says the range is within one surah, whether start must be <= end, whether ayah numbering is 1-based, or what `language` changes about the returned text.

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 pairs a specific verb ("Retrieve") with a specific resource ("a consecutive range of Quran verses"), which distinguishes it from a single-verse fetch like get_ayah. It does not explicitly name any sibling or state the boundary between this and get_surah, so it stops short of full differentiation.

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 word "range" implies the tool is for multi-verse retrieval rather than a single ayah, which gives implicit usage context. However, there is no explicit when-to-use statement, no named alternative (get_ayah/get_surah), and no exclusion or prerequisite guidance.

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