Skip to main content
Glama

List control policies

stack_list_control_policies
Read-only

List every policy of the account and whether STACK's hosted controls are on (controls_enabled). Each policy has id, agent_id (null for the default), name, revision, definition, last_change, findings (sends it allows without naming who receives them) and timestamps. A policy only narrows what a connection grant already allows: it refuses, holds an action for a person, or limits it, and never opens anything. A policy is stored by STACK per agent, plus one default for the account, and is never put into a Passport. Operator only. A controls feature: with controls off the API answers 402 CONTROLS_REQUIRED, and the owner switches controls on in the Console, at the Billing page. A self-managed install has every controls feature.

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": "stack_list_control_policies"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations: it explains policy semantics (policies only narrow, never open access), storage model (per agent plus one account default, never embedded in a Passport), access restriction (operator only), and the exact failure mode (402 CONTROLS_REQUIRED, resolved in Console Billing, or moot on self-managed installs). This is the kind of context annotations cannot carry.

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?

Front-loaded with what is listed and the controls_enabled flag, then the returned fields, then domain context and operational caveats. Sentences are dense and earn their place; the parenthetical about findings and the trailing self-managed remark are slightly tangential but still informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description enumerates the returned fields (id, agent_id, name, revision, definition, last_change, findings, timestamps) and explains the null agent_id case. Combined with the prerequisite and error behavior, an agent has everything needed to call it and interpret the result.

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 no parameters, so there is nothing to disambiguate and the baseline applies. The description does not invent parameter detail, which is correct here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List every policy of the account") plus an extra datum (controls_enabled). It clearly delineates scope (all policies, including the account default) which distinguishes it from single-policy getters and revision listings among the siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Provides strong context: operator-only, part of the controls feature, and that a controls-off account returns 402 CONTROLS_REQUIRED with a pointer to the Console Billing page. It does not explicitly route to alternatives such as stack_get_control_policy for a single policy, so usage is clear but not exhaustively differentiated.

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.