Title81/100
Repeated phrases in an ayah
Expand internal abbreviations and remove technical prefixes from the display title.
Description90/100
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.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
surah
Surah number from 1 to 114.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
ayah
Ayah number within the selected surah.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
same_surah_only
When true, only include repeated phrase matches found in the same surah as the input ayah.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Output schema34/100
Describe the returned fields so an agent can interpret the result.
View output schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"phrase_ids",
"phrases"
],
"properties": {
"error": {
"type": "boolean"
},
"phrases": {
"type": "array",
"items": {
"type": "object",
"required": [
"phrase_id"
],
"properties": {
"ayahs": {
"type": "number"
},
"count": {
"type": "number"
},
"ranges": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
"source": {
"type": "object",
"properties": {
"to": {
"type": "number"
},
"key": {
"type": "string"
},
"from": {
"type": "number"
}
},
"additionalProperties": false
},
"surahs": {
"type": "number"
},
"phrase_id": {
"type": "number"
},
"occurrences": {
"type": "array",
"items": {
"type": "object",
"required": [
"ayah_key"
],
"properties": {
"words": {
"type": "array",
"items": {
"type": "string"
}
},
"ranges": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
"ayah_key": {
"type": "string"
},
"surah_name": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"ayah_key": {
"type": "string"
},
"surah_id": {
"type": "number"
},
"ayah_words": {
"type": "array",
"items": {
"type": "string"
}
},
"phrase_ids": {
"type": "array",
"items": {
"type": "number"
}
},
"surah_name": {
"type": "string"
},
"ayah_number": {
"type": "number"
},
"errorMessage": {
"type": "string"
}
},
"additionalProperties": false
}