Skip to main content
Glama

List rules

list_rules

Lists every release gate rule with its default outcome and the outcome applied under the project policy (block, needs_human, conditional, info, off), so you can compare both.

Instructions

Every rule, its default outcome and the outcome under the project's policy (block | needs_human | conditional | info | off).

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full burden, and it does add real value by disclosing the outcome vocabulary (block | needs_human | conditional | info | off) that returned values will use. However, it never states that this is a read-only, side-effect-free operation, nor anything about ordering or volume of rules returned.

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 sentence with no filler, front-loading the scope (every rule) and then the returned fields, with the enum cleanly parenthesized. It reads as a fragment rather than a complete clause, which slightly hurts readability but costs no space.

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?

For a no-argument list tool with no output schema, the description covers the key return concepts (rule, default outcome, policy outcome) but leaves the shape of the response unspecified: whether rules are grouped by category, what identifies each rule, or what an unset policy outcome looks like.

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?

The tool takes zero parameters, so there is no parameter semantics to explain; the baseline for a no-arg tool applies. Nothing in the description conflicts with the empty schema.

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 (every rule) and specifies exactly which fields come back: the default outcome and the outcome under the project's policy, with the enumerated outcome vocabulary. It is a noun phrase without an explicit verb, so intent is inferred from the name/title, and no sibling is distinguished, keeping it 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to call this versus alternatives such as init_policy or evaluate_release, and no stated preconditions (e.g. whether a policy must exist first). The agent must infer usage from the tool name alone.

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