Skip to main content
Glama

Search Quranpedia

search
Read-onlyIdempotent

Find Quranpedia encyclopedia entries by keyword across books, fatwas, notes, and topics, or filter results by type to locate relevant Islamic content.

Instructions

Search the Quranpedia encyclopedia by keyword across books, fatwas, notes, and topics, or filtered by type.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

B3.4/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 the safety profile is fully covered structurally. The description adds that results span multiple heterogeneous content types, which is real context a single-entity getter would not have. It does not disclose matching behavior (exact substring, stemming, multi-word handling), result limits, ranking, or pagination, which are the traits an agent actually needs to interpret search output.

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 compact sentence with the verb, scope, and the filter option front-loaded; nothing is wasted or redundant. It could be tightened slightly by making the default (no type = all domains) explicit rather than implied by 'or filtered by type'.

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?

There is no output schema, so the description bears some responsibility for conveying what comes back, and it only alludes to this by naming the content types. For a two-parameter read-only search that is a modest gap, not a crippling one, but result shape and limits remain unspecified.

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 for both parameters. It does explain that 'query' is a keyword and that 'type' filters to one of the four domains, and it implicitly clarifies that omitting type searches across all of them — the single most important semantic the schema omits. It still leaves the matching semantics of 'query' (exact match, substring, multi-term, language handling) undefined.

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 names a specific verb (search) and resource (the Quranpedia encyclopedia) and enumerates the content domains covered: books, fatwas, notes, and topics. That is enough for an agent to tell it apart from the surrounding get_* retrieval tools, which fetch individual items rather than performing keyword lookup. It stops short of explicitly contrasting itself with those siblings.

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?

The phrase 'or filtered by type' implies the alternative mode of use (omitting type to search broadly versus setting it to narrow to one domain), which is useful. However, there is no explicit when-to-use guidance relative to get_fatwa, get_book, or get_topics, and no statement of when this tool would be the wrong choice. Usage is inferable but not spelled out.

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