Skip to main content
Glama

list_rules

Retrieve recorded rules for a feature, including IDs, statements, statuses, and failed checks, to review observed behavior and identify gaps.

Instructions

List the rules recorded for a feature: id, statement, status, failed checks.

Input Schema

NameRequiredDescriptionDefault
featureYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 burden. 'List' implies a read-only operation and it discloses the returned fields (id, statement, status, failed checks), which is useful, but it says nothing about authorization, pagination, or whether the read is recursive.

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 tight sentence, front-loaded with the verb and resource, with the returned fields appended. Every clause is informative.

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-value detail is largely covered, and the tool is a simple one-parameter read. However, with no annotations the description should do more to establish the read-only nature and the meaning/format of the feature argument.

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 coverage is 0% and the single 'feature' parameter has no schema description. The description clarifies that 'feature' scopes the query, which compensates somewhat, but gives no format or example for the identifier.

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 (List) and resource (rules) scoped to a feature, and names the returned fields. It does not differentiate from siblings like list_claims or the related check_rules/retract_rule, which prevents a top score.

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 guidance, and no mention of alternatives such as check_rules (which presumably validates rules) or retract_rule. Usage is only implied by 'recorded for a feature'.

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