Skip to main content
Glama

Get Fatwa

get_fatwa
Read-onlyIdempotent

Retrieves a single fatwa by ID, returning its question, answer, mufti, source URL, and category for citation or study.

Instructions

A single fatwa with question, answer, mufti, source URL, and category.

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": {
      "fatwa_id": "<fatwa_id>"
    },
    "name": "get_fatwa"
  }
}

Input Schema

NameRequiredDescriptionDefault
fatwa_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds value by enumerating the returned payload (question, answer, mufti, source URL, category), which matters since there is no output schema, but it says nothing about missing/invalid IDs or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very short and waste-free, but it is a bare noun phrase rather than a front-loaded action statement, so concision comes at the cost of clarity about the operation.

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 one-parameter read tool with rich annotations, this is borderline adequate, and listing output fields helps offset the absent output schema. The unexplained fatwa_id semantics and total lack of lookup-failure behavior keep it from being 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 coverage is 0%: fatwa_id is typed integer with minimum 1 and has no description. The phrase "a single fatwa" weakly implies an identifier lookup but gives no format, source, or validation guidance to compensate for the undocumented parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the resource ("a single fatwa") and what it contains, and singular phrasing hints it is the one-item counterpart to get_surah_fatwas. But there is no verb and no explicit differentiation from the sibling list tool, so the purpose is only implied.

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?

No guidance on when to use this versus get_surah_fatwas or search. An agent must infer from names alone that this fetches by ID while siblings list by surah.

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