Skip to main content
Glama

list_rules

Lists access rules in the order they are checked, showing destinations and resources in plain language; specify a deployment only when multiple controllers are configured.

Instructions

The access rules in force, in the order they are checked, with the destinations and resources they refer to, in plain words. deployment is only needed when more than one controller is set up.

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
deploymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It conveys meaningful behavior beyond the name: results are ordered by evaluation sequence, each rule includes its destinations and resources, and output is human-readable. It does not state that the operation is read-only, whether results are paginated, or whether any permission scope is required, which leaves real gaps for a tool with zero annotation coverage.

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?

Two sentences, no filler, with the return-content description front-loaded and the parameter caveat following. The phrasing 'in plain words' is doing real work (signaling readable output rather than raw identifiers), but the sentence is dense and could have been split for scanability.

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?

There is no output schema, so the description must sketch the return shape, and it does: ordered rules with their destinations and resources. For a one-optional-parameter read tool this is close to sufficient. What is missing is any indication of result size, pagination, or whether rules are grouped by policy scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 explain the single parameter, and it does: `deployment` selects among controllers and is only required when more than one controller exists. That is the exact semantic an agent needs to decide whether to pass it. Slightly incomplete in that it does not say how to discover valid deployment identifiers.

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 the resource (access rules) and states exactly what the listing contains: rules in the order they are checked, plus the destinations and resources they reference, rendered in plain words. That is a specific, content-rich statement of purpose. It does not distinguish itself from a nearby sibling such as check_access, which an agent might otherwise confuse with rule listing, so it stops 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 only guidance is conditional and parameter-scoped: `deployment` is needed only when more than one controller is set up. That is genuinely useful invocation context, but there is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusions. Usage is implied rather than directed.

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