Skip to main content
Glama

Get Surah Books

get_surah_books
Read-onlyIdempotent

List books whose content covers a specified surah by surah ID, helping you locate relevant Quran commentary and source material for that chapter.

Instructions

List the books whose content covers 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_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
surah_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is fully covered by structured data. The description adds nothing beyond that: no mention of result size, ordering, pagination, or what 'covers' means for a book's content.

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?

One front-loaded sentence with no filler or repetition, which is well structured. Its brevity is efficient but leaves the definition thin overall.

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 full annotation coverage, the definition is minimally sufficient to select and call it. It still lacks any hint of return shape or ordering, and with no output schema that context would have been cheap to add.

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% for the single parameter, so the description must compensate and does not. It never states that surah_id is the numeric surah index bounded 1-114, nor how an invalid or out-of-range value behaves; the only constraint information comes from the raw schema.

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?

The description gives a specific verb (List) and resource (books) scoped to a surah, so an agent knows exactly what comes back in kind. It does not differentiate itself from near-neighbours such as get_related_books, get_translation_books, or get_surah_tafsirs, which sound like they could also return book-like collections for a surah.

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 explicit when-to-use or when-not-to-use guidance and no named alternative, despite several siblings that plausibly overlap. The agent must infer from the name alone whether this or get_surah_tafsirs/get_translation_books is the right call.

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