Skip to main content
Glama

Get Verses By Range

get_verses_by_range
Read-onlyIdempotent

Fetch verses by Quran range syntax: '2:255' (single), '1:1-7' (range), or '2:' (whole sura).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rangeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

The annotations already indicate a read-only, idempotent, non-destructive operation. The description adds the acceptable input patterns ('2:255', '1:1-7', '2:'), which clarifies the tool's behavior, but does not discuss return format or edge cases.

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 a single, well-formed sentence that front-loads the purpose and immediately provides concrete syntax examples. It contains no filler and each part adds value.

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

Completeness5/5

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

Given the tool's simplicity (one parameter, read-only, no output schema), the description is complete enough for an agent to invoke it correctly. It covers all supported input formats and clearly states the resource being fetched.

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

Parameters5/5

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

With zero schema description coverage, the description fully compensates by explaining the one parameter's format and semantics. It clearly defines the three syntax forms with examples, making the regex pattern meaningful.

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 tool fetches verses using Quran range syntax, with specific examples covering single, range, and whole sura. This distinguishes it from sibling tools like get_verse (single verse) and search.

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?

The description provides clear context on when to use this tool: whenever a structured Quran range reference is provided. However, it does not explicitly mention alternatives or exclusions, such as using get_verse for a single verse or search for keyword queries.

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