Skip to main content
Glama

List rules

list_rules
Read-onlyIdempotent

List automation rules for the current tenant.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 20, max 200)
activeNoFilter by active
offsetNoPagination offset (default 0)
searchNoFree-text search over name
rule_typeNoFilter by rule_type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description's help. The description adds only the tenant scoping detail, saying nothing about result ordering, default volume, or what a rule object contains. With annotations carrying the behavioral burden, this is adequate but thin.

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 or repetition. It is efficiently written, though its brevity reflects missing guidance rather than deliberate compression of a rich statement.

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?

The tool is simple (five optional filters, flat schema, fully documented, no output schema), so little explanation is needed. Still, nothing tells the agent that results are paginated lists of automation rules or how tenant scoping affects visibility, which a slightly longer definition could cover cheaply.

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% and every one of the five optional parameters (limit, active, offset, search, rule_type) is documented in the schema, including defaults and max. The description adds no meaning beyond that, so baseline 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+resource ('List automation rules') and scopes it to the current tenant, which separates it from cross-tenant or tax-rule siblings. It stops short of explicitly differentiating itself from near-neighbors like list_tax_rules or list_history, leaving the agent to infer that 'automation rules' is a distinct resource.

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 or when-not-to-use guidance, no mention of alternative listing tools, and no prerequisites such as permission needs. The agent only learns that this tool exists, not the conditions that select it over a sibling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources