Skip to main content
Glama
agent-action-gate

agent-action-gate

by dwadlane

Kill switch: pause everything

pause_all
Idempotent

Stops all execute and undo actions immediately until someone calls resume, while proposals and approvals keep queuing. Use it to halt agent writes during incidents.

Instructions

Stops every execute and undo straight away until someone calls resume. Proposals and approvals still queue up.

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": {
      "by": "<by>"
    },
    "name": "pause_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYes
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and the description adds real behavior on top: the halt is immediate, it covers both execute and undo paths, and it persists until resume. Remaining gaps are what happens to already-running executions and whether any auth/role is needed to trip the switch, which matters for a global kill switch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the primary effect front-loaded and the exception (proposals/approvals) placed second. Nothing is repeated from the title or annotations.

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 global, non-destructive kill switch with no output schema, the description covers the core effect and its duration, but omits the fate of in-flight executions, the meaning of the required `by` parameter, and what the call returns. Adequate to invoke, incomplete for an agent that needs to reason about side effects.

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?

Schema description coverage is 0% for two parameters, and the description never mentions either. The required `by` field (presumably the operator identity recorded with the pause) and the optional `reason` are left entirely to inference, so the description 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.

Purpose5/5

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

"Stops every execute and undo straight away" gives a specific verb plus an explicit scope (execute_action and undo_action), and names the counterpart tool (resume) so the agent can pair the two without opening either schema. The second sentence further sharpens the boundary by excluding proposals and approvals from what gets stopped.

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?

The pairing "until someone calls resume" plus the note that proposals and approvals still queue tells an agent both when this tool is appropriate and when it is unnecessary (proposal/approval workflows keep working). It stops short of explicitly stating a when-not or naming resume as the required follow-up action, so it is clear context rather than full routing guidance.

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