Skip to main content
Glama

Get Surah Fatwas

get_surah_fatwas
Read-onlyIdempotent

List fatwas for a specific Quran surah using its surah ID to find relevant rulings and commentary tied to that chapter.

Instructions

List the fatwas related to a specific surah.

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>"
    },
    "name": "get_surah_fatwas"
  }
}

Input Schema

NameRequiredDescriptionDefault
surah_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured fields. The description adds only the relational semantics (fatwas attached to a surah), and says nothing about result ordering, pagination, or whether an empty list is possible. With annotations carrying the safety burden, this is minimum viable rather than rich.

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 with no filler or redundancy. It is efficient, though its brevity is partly the cause of the semantic gaps elsewhere rather than a sign of disciplined trimming.

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?

For a simple one-parameter read tool with rich annotations, the description is adequate to invoke the tool correctly. However, with no output schema present, it should say something about what a returned fatwa entry looks like or whether the list is bounded, which it omits.

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 must compensate for the single parameter, and it does not. It never clarifies that surah_id is a surah number in the 1-114 range rather than an internal identifier, leaving the meaning to be inferred from the schema's min/max alone.

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?

States a specific verb ('List') and resource ('fatwas') with a clear scope qualifier ('related to a specific surah'). This distinguishes it from the singular get_fatwa, but it does not explicitly contrast with related siblings such as get_surah_tafsirs or get_surah_books, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus get_fatwa or get_surah_tafsirs, nor any stated prerequisites. Usage is only implied by the phrase 'related to a specific surah'; an agent gets no exclusions or alternatives.

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