Skip to main content
Glama

Get Ayah Options

get_ayah_options
Read-onlyIdempotent

Lists all related content for a specific ayah in the Hafs mushaf, including tafsir, meanings, topics, fatwa, e3rab, notes, asbab, and translations, so you can select the resource to explore.

Instructions

List the related content available for one ayah in the Hafs mushaf: tafsir, meanings, topics, fatwa, e3rab, notes, asbab, translations.

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_id": "<surah_id>",
      "ayah_number": "<ayah_number>"
    },
    "name": "get_ayah_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
surah_idYes
ayah_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the low-risk read profile is covered elsewhere. The description contributes the Hafs-mushaf scoping and the fact that "options" means a catalog of content types rather than the content itself, which is genuinely useful. It says nothing about the shape of the response (type names vs. counts vs. identifiers) or what happens for an ayah with no related content.

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: verb, resource, scope, then the enumerated content types, with no filler or repeated concepts. The eight-item list is dense but each item carries distinct information.

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?

There is no output schema, so the description should clarify what an agent receives back, and it only loosely does (a set of related content types). For a discovery tool whose whole purpose is to route the agent to the right follow-up tool, a hint about how the listed options map to siblings would materially improve it. What is present is adequate but not complete.

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 0%, so the description bears the burden of explaining parameters, and it adds nothing — "one ayah" only restates that surah_id/ayah_number identify an ayah. The parameter names are largely self-explanatory, which softens the gap, but numbering conventions (ayah_number relative to the surah, the 1-114 tightenings, mushaf-specific numbering) are left entirely implicit.

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?

"List the related content available for one ayah" is a specific verb+resource and the enumeration of content types (tafsir, meanings, topics, fatwa, e3rab, notes, asbab, translations) makes the scope concrete. It also pins the mushaf (Hafs). It stops short of differentiating itself from close siblings such as get_ayah_content or get_ayah_book_content, which is the only thing keeping it from 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?

The word "available" plus "options" in the name implies a discovery step that precedes fetching actual content, so an agent can infer this is used to see what exists before calling a content tool. But no explicit when-to-use or when-not-to-use guidance is given, and no sibling (e.g. get_ayah_content) is named as the follow-up alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.