Skip to main content
Glama

Revoke fleet policy

stack_revoke_fleet
Destructive

Revoke a fleet policy. Its agents lose permission to continue work through STACK. 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

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "policy_id": "<policy_id>"
    },
    "name": "stack_revoke_fleet"
  }
}

Input Schema

NameRequiredDescriptionDefault
policy_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real context beyond them: the concrete consequence (agents lose permission to work through STACK) and the controls gating behavior with the exact 402 CONTROLS_REQUIRED error and where the owner resolves it. It stops short of saying whether revocation is reversible or how in-flight work is handled.

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?

The core action and its effect are front-loaded, and each following sentence carries a distinct operational fact (controls gating, the 402 remedy, self-managed installs). Phrasing is terse and note-like ('A controls feature') but nothing is redundant.

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 single-parameter destructive mutation with full annotation coverage and no output schema, the behavioral and gating context is solid. It is still missing how to source the policy_id and whether the revocation can be undone, which matter for a destructive call.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one parameter, policy_id, with 0% schema description coverage and no enum or constraint help. The description never explains what identifies a policy or where to obtain the ID, so it does not compensate for the schema gap.

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 a specific verb and resource ('Revoke a fleet policy') and states the effect on the object's agents. It is distinguishable from fleet-member revocation without opening the schema, though it never explicitly contrasts itself with siblings like stack_revoke_fleet_member or stack_delete_control_policy.

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?

It gives a strong prerequisite and remedy: controls must be enabled, otherwise the API returns 402 CONTROLS_REQUIRED and the owner enables controls in the Console at Billing. It does not say when to choose this over deleting or revising the policy instead, so selection guidance against alternatives is implied at best.

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.