Skip to main content
Glama

Unblock agent

stack_unblock_agent

Clear an agent's passport_blocked state so Passports can be issued to it again. STACK blocks an agent automatically when a critical security event fires while its on_critical policy is 'block'. A blocked agent cannot unblock itself. Calls from MCP and API-key sessions require human approval, and an agent that is not blocked is answered at once with was_blocked false and no approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "stack_unblock_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesThe agent id (agt_*) to unblock
governance_approval_idNoApproval id (gvr_*) from the earlier GOVERNANCE_APPROVAL_REQUIRED answer, once the person has approved it at its approval_url. Omit on the first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / governance_approval_id / description
      Previous value: -"Approval id (gvr_*) from a prior 403, after human approval in the dashboard"New value: +"Approval id (gvr_*) from the earlier GOVERNANCE_APPROVAL_REQUIRED answer, once the person has approved it at its approval_url. Omit on the first call."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description goes much further by documenting the human-approval requirement for MCP and API-key sessions, the elicitation path, and the GOVERNANCE_APPROVAL_REQUIRED fallback with approval_id/approval_url. It also discloses that approval is single-use, payload-bound, and expires in 24 hours, and that a non-blocked agent is answered immediately with was_blocked false.

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 purpose and the block trigger are front-loaded, and every sentence carries operational content about the approval flow. The mid-section sentence covering elicitation, the error payload, and the retry call is dense and would read better split, but nothing is filler.

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?

There is no output schema, and the description compensates by describing both return shapes: the immediate was_blocked false answer and the GOVERNANCE_APPROVAL_REQUIRED response with approval_id and approval_url. For a two-parameter governance mutation, an agent has everything needed to call it and handle the response.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: governance_approval_id must carry the same payload that was approved, is bound to that exact payload, is single-use, and expires. Those semantics are not spelled out in the schema's parameter text.

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?

The opening sentence gives a specific verb and resource ('Clear an agent's passport_blocked state') plus the downstream effect ('so Passports can be issued to it again'). That is far more precise than the sibling names like stack_update_agent or stack_dismiss_agent_warnings, which could plausibly be mistaken for it.

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?

It explains the trigger condition (a critical security event firing while on_critical policy is 'block') and the constraint that a blocked agent cannot unblock itself, which tells an agent when this tool is the right call. It does not name an alternative tool or explicitly exclude one, so it stops short of full routing 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.