Skip to main content
Glama

Get ayahs

get_ayah
Read-only

The Arabic of one ayah or a run of them (up to 50), with a translation. Defaults to the King Fahd Complex English (Hilali & Muhsin Khan).

Input Schema

NameRequiredDescriptionDefault
toNoLast ayah, for a run; defaults to the first
ayahYesFirst ayah
surahYesSurah number, 1-114
translationNoTranslation id, e.g. "hilali", "sahih", "urdu_junagarhi"; "none" for the Arabic alone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: a default translation (Hilali & Muhsin Khan) and a hard cap of 50 ayahs per call, which affects how the agent batches requests. It stops short of describing response shape or ordering.

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?

Two short sentences with no filler; the core retrieval scope comes first and the default is appended as secondary detail. Nothing is repeated from the title or schema.

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 read-only retrieval tool with a fully documented schema and no output schema, the description covers scope, output contents (Arabic + translation), the run limit, and the default translation. Minor gaps remain around what happens when the run exceeds 50 or how results are ordered, but nothing blocks a correct call.

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?

Schema coverage is 100%, so baseline is 3, but the description contributes information the schema lacks: the identity of the default translation when the parameter is omitted, and the maximum run length. The 'none' value for Arabic-only is left to 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 names the resource (ayah) and scope (one or a run of up to 50) and states that Arabic plus a translation are returned, which an agent can act on directly. It does not explicitly distinguish itself from siblings like get_tafsir or word_by_word, which cover overlapping material, so it falls short of a 5.

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?

There is no when-to-use or when-not-to-use statement and no named alternative. The agent must infer from sibling names (get_tafsir, word_by_word) whether this or another tool is the right pick for commentary or per-word breakdowns.

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.