Skip to main content
Glama

lookup_hadith_reference

Retrieve a single Hadith by collection slug and Hadith number, including its grade metadata, to verify references and citation details.

Instructions

Read one Hadith by collection slug and number, including grade metadata.

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": {
      "collection_slug": "<collection_slug>",
      "hadith_number": "<hadith_number>"
    },
    "name": "lookup_hadith_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
hadith_numberYes
collection_slugYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; 'Read' does establish a non-mutating operation and 'including grade metadata' discloses returned content. It says nothing about failure behavior for an unknown slug or out-of-range number, nor about which collections exist, which is a meaningful gap for a zero-annotation tool.

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?

A single front-loaded sentence with the access pattern first and a useful payload detail last. No filler, no restatement of the tool name.

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?

An output schema exists, so return values need no explanation, and two required params is low complexity. Still, the 0% schema coverage plus absent annotations leaves input format and miss behavior undocumented, which is more than a minor gap for a lookup 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 description coverage is 0%, so the description must compensate; it does name both parameters (collection slug, number) and their roles in identifying a record. It stops short of describing slug format, accepted collection identifiers, or whether hadith_number is expected as a numeric string.

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 ('Read') and resource ('one Hadith'), scoped to a collection slug plus number. The resource noun alone distinguishes it from the Quran and dua lookup siblings, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Implies usage by framing it as a direct single-record read keyed by collection and number, which tells the agent this is a fetch-by-identifier, not a search. It gives no explicit when-not guidance and never contrasts itself with search_islamic_sources or find_quote_source for agents that only have a partial citation.

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