Find Similar Poems By Metre And Rhyme
ganjoor_find_similar_poemsFind poems sharing a prosodic metre and rhyme letter to discover related poems and reply-poetry, letting you trace how one poet answered another. Filter by poet, category, or couplet count.
Instructions
Find poems that share a poem's prosodic metre and rhyme letter — the basis of Ganjoor's "related poems" (شعرهای مرتبط) pages.
Two Persian poems matching in metre and rhyme can be read as answers to each other (reply-poetry), so this is also how you trace how one poet answered another.
Args:
metre (string): The prosodic metre pattern, exactly as listed by ganjoor_list_rhythms
rhyme (string): Optional rhyme letter filter (e.g. 'ا', 'ب'). Empty means any.
poet_id (number): Restrict to a poet id. 0 = all poets (default: 0)
cat_id (number): Restrict to a category id. 0 = all categories (default: 0)
couplet_count_min (number): Only poems with at least this many couplets (default: 0)
couplet_count_max (number): Only poems with at most this many couplets (default: 0, meaning no cap)
page (number): Page number, starting from 1 (default: 1)
page_size (number): Results per page, 1-100 (default: 20)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON: { count, page, page_size, has_more, next_page, poems: [{ id, title, full_title, full_url, plain_text }] }
Examples:
"Which Hafez poems share metre 'فاعلاتن مفاعلن فعلن'?" -> metre='فاعلاتن مفاعلن فعلن', poet_id=2
"Poems in metre X rhyming on ب" -> metre='...', rhyme='ب'
Notes:
metremust match the metre notation exactly; call ganjoor_list_rhythms to get valid values.A metre with no rhyme filter returns a very large set — always page.
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": {
"metre": "<metre>"
},
"name": "ganjoor_find_similar_poems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting from 1. | |
| metre | Yes | Prosodic metre pattern exactly as returned by ganjoor_list_rhythms, e.g. 'فاعلاتن مفاعلن فعلن'. | |
| rhyme | No | Optional rhyme letter, e.g. 'ا' or 'ب'. Empty matches any rhyme. | |
| cat_id | No | Restrict to a category id. 0 = all categories. | |
| poet_id | No | Restrict to a poet id. 0 = all poets. | |
| page_size | No | Maximum items to return per page (1-100, default 20). | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable structured data. | markdown |
| couplet_count_max | No | Only poems with at most this many couplets. 0 disables the filter. | |
| couplet_count_min | No | Only poems with at least this many couplets. 0 disables the filter. |