Skip to main content
Glama

Get Category Rules

get_category_rules

Retrieve all best-practice rules for a given category URI. Handles top-level categories by returning rules across subcategories, or fetches just one subcategory's rules.

Instructions

Get all rules in a specific category.

Works for both top-level categories (returns all rules across subcategories) and subcategories (returns just that subcategory's rules).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_uriYesThe category URI slug (e.g. 'software-engineering', 'rules-to-better-scrum-using-azure-devops').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that top-level categories return rules across subcategories while subcategories return only their own rules, which is real behavioral context. However, it omits read-only confirmation, pagination behavior, and result limits.

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?

Two short sentences, purpose front-loaded, no wasted words. The scope nuance is stated immediately after the core action.

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

Completeness4/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 not be explained, and the description resolves the main ambiguity (category-level scoping). For a single-parameter read tool with full schema coverage, this is essentially complete, though it could note read-only nature or result size.

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 100%, with the category_uri slug and examples already documented. The description adds no additional parameter meaning beyond what the schema provides, so the baseline of 3 applies.

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 and resource ('Get all rules in a specific category') and the scope distinction between top-level and subcategory is clear. It does not explicitly differentiate itself from the singular sibling get_rule or search_rules, so it falls short of a 5.

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 description implies when the tool behaves a certain way (by category level) but never states when to choose this over get_rule, search_rules, or get_recent_rules. Usage is left to inference from the sibling set.

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