Skip to main content
Glama

Agents: revoke

manage_agents_revoke
Destructive

Revoke an agent: it is disconnected and its token stops working. Removes or switches off something in Junction's own settings as the person asking, only as far as their role allows in the Junction portal. Tell the user exactly what will be removed and what that affects first. It answers with a preview first; show it, and only call again with confirm set to true after the user agrees. Company administrators only. Never pass a password, key or token; anything that needs one is done in the portal.

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": {
      "id": "<id>"
    },
    "name": "manage_agents_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesagent id
confirmNoset true only after the user has seen the preview this action answers with first and agreed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/readOnlyHint annotations: it discloses the two-phase preview-then-confirm protocol, that the agent is disconnected and its token invalidated, that effects are scoped to the caller's role, and that credentials must never be passed. These are exactly the behavioral traits an agent needs before invoking a destructive operation. The annotation profile and description are consistent.

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

Conciseness3/5

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

The key effect is front-loaded in the first clause, and the confirm workflow is stated compactly. However, the sentence 'Removes or switches off something in Junction's own settings as the person asking, only as far as their role allows in the Junction portal' is vague and repetitive, spending words without adding precise meaning.

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?

For a destructive two-parameter tool with no output schema, the description covers authorization, the preview response, the confirmation loop, and the security constraint. It leaves the preview's contents unspecified, but nothing essential to correct invocation is missing.

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

Parameters3/5

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

Schema coverage is 100%, so 'id' and 'confirm' are already documented in the schema. The description restates the confirm=true gate after preview but adds no new syntax or format detail beyond the schema. Baseline 3 applies when the schema carries the parameter burden.

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?

Names a specific verb and resource plus the concrete effect: 'Revoke an agent: it is disconnected and its token stops working.' An agent can tell this is a revocation that invalidates credentials rather than a full removal. It does not explicitly distinguish itself from nearby siblings like manage_agents_delete or manage_agents_restart, so it falls short of a 5.

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?

Gives clear operating conditions: company administrators only, tell the user what will be removed and what it affects first, show the preview, and only re-call with confirm=true after agreement. It also excludes secret-passing workflows by pointing such cases to the portal. It never says when to choose revoke over delete, but the when/when-not guidance within the tool is strong.

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.

Resources