Skip to main content
Glama

Repeated phrases in an ayah

ayah_mutashabihat
Read-only

Show repeated phrase metadata for one ayah with an interactive display. Use this when: the user asks which phrases in a specific ayah repeat elsewhere; the user needs phrase IDs and counts before calling phrase_mutashabihat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ayahYesAyah number within the selected surah.
surahYesSurah number from 1 to 114.
same_surah_onlyNoWhen true, only include repeated phrase matches found in the same surah as the input ayah.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
phrasesYes
ayah_keyNo
surah_idNo
ayah_wordsNo
phrase_idsYes
surah_nameNo
ayah_numberNo
errorMessageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering safety. The description adds context about the interactive display, metadata output, and its role as a prerequisite before phrase_mutashabihat, which is useful beyond the annotations.

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 two concise sentences, front-loading the core action and then providing explicit usage guidance without any wasted words.

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?

With full annotations, a 100% schema-described input, an output schema, and clear usage guidance, the description is complete for this read-only, single-ayah metadata tool.

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

Parameters3/5

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

Schema coverage is 100%, so the description need not explain parameters. It mentions 'one ayah' imprecisely but adds no new meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 shows repeated phrase metadata for a single ayah with an interactive display, using a specific verb and resource. It also distinguishes itself from the sibling tool phrase_mutashabihat by noting it provides phrase IDs and counts as a prerequisite.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly provides use-case triggers ('user asks which phrases in a specific ayah repeat elsewhere') and directs users to phrase_mutashabihat after obtaining IDs/counts, effectively delineating when to use this tool versus its sibling.

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