Skip to main content
Glama

List Gates

list_gates
Read-onlyIdempotent

List the current team's action gates: slug, mode (enforce or dry_run), ordered rules, and default verdict. Gates are configured through the API. There is no dashboard editor.

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_gates"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/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 covered. The description still adds value beyond them: it discloses what is returned (slug, mode with the enforce/dry_run enum values, ordered rules, default verdict) and that gate configuration is API-only, which tells the agent this is the authoritative read path.

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?

Three short sentences, front-loaded with the core purpose and return shape. The closing sentence about configuration being API-only is slightly tangential to listing but is short and adds orientation rather than noise.

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 convey return contents, and it lists the key fields including the mode enum and that rules are ordered. Combined with annotations covering read-only/idempotent behavior, an agent has enough to call it correctly; only pagination or team-scoping mechanics are unaddressed.

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 the schema carries no semantics to supplement; baseline 4 applies. The description cannot and need not add parameter meaning, and it does not introduce misleading parameter expectations.

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 with scope ('List the current team's action gates') and enumerates the returned fields (slug, mode, ordered rules, default verdict). It is clear on its own, but does not explicitly differentiate itself from nearby siblings such as list_gate_checks or check_gate, which an agent could plausibly confuse with gate listing.

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?

Usage is only implied: an agent infers it should call this to enumerate gates. There is no explicit when-to-use/when-not or pointer to check_gate or list_gate_checks for per-check or evaluation data. The note that gates are configured via the API and there is no dashboard editor hints at workflow context but is not selection guidance.

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.