Skip to main content
Glama

Get Category Items

get_category_items
Read-onlyIdempotent

Retrieve books, fatwas, or notes from a specified Quranpedia category by providing the category ID and item type, so you can browse category-specific content.

Instructions

Get books, fatwas, or notes within a specific 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": {
      "category_id": "<category_id>",
      "type": "<type>"
    },
    "name": "get_category_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
category_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say whether results are paginated, ordered, potentially large (relevant given openWorldHint), or whether items come back as ids or full 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?

A single front-loaded sentence with zero filler and the resource list placed early. It is efficient, but the brevity borders on under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should indicate the shape of returned items and any size/pagination behavior, and it does neither. For a two-parameter, open-world listing tool whose params are 0% documented, the definition leaves meaningful gaps for correct invocation and result handling.

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 carry the load, but it only restates the three enum values for 'type' that the schema already declares. 'category_id' gets no explanation at all — no hint about its origin, format, or what happens with an unknown id.

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 ('Get') and enumerates the resources ('books, fatwas, or notes') plus the scoping constraint ('within a specific category'). An agent can distinguish it from get_categories (lists categories) or get_book/get_fatwa/get_note (single-item fetches) without opening the schema, though the description never says so explicitly.

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 when-to-use guidance and no stated prerequisites — notably, nothing tells the agent it must first obtain a valid category_id (presumably from get_categories). The only usable signal is the implicit 'I know a category and want its contents', leaving the agent to infer the routing.

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