Skip to main content
Glama
idea-base-mcp-server

idea-base-mcp-server

Official

remove_agent

Revoke an agent user's API keys and remove it from the workspace while preserving its past task, time, and audit history.

Instructions

Remove an agent user from the workspace. Every one of its API keys is revoked and it can no longer act, but its past work stays attributed to it — the identity is not deleted, so task history, time entries and audit rows keep their actor. You may remove an agent you own; an account owner or admin may remove any in the workspace.

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_user_id": "<agent_user_id>"
    },
    "name": "remove_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_user_idYesThe agent's user id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.13.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that all API keys are revoked, the agent can no longer act, the identity is not deleted, and past task history, time entries and audit rows retain their actor. It leaves a real gap on reversibility (can the agent be recreated/re-added, is removal permanent?) and on the response shape, which keeps it from a 5.

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?

Three sentences, front-loaded with the action, then the side effects, then the authorization rule. Every clause carries information an agent would otherwise have to guess, and there is no filler or repetition.

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 single-parameter tool with no annotations and no output schema, the description covers the identity-vs-keys semantics, data retention, and permission requirements well. The remaining omissions are behavioral edge cases: idempotency on an already-removed agent, error conditions, and what the call returns.

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 description coverage is 100% and the single parameter's meaning is fully documented in the schema, so the description need not restate it. The description adds no format, sourcing hint (where to obtain the agent's user id), or validation detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 ("Remove an agent user from the workspace") and immediately clarifies what removal means at the identity level versus the key level, which is exactly the distinction an agent needs against siblings like revoke_agent_key or create_agent. The scope is unambiguous without opening any schema.

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 a clear permission-based when-to-use rule: "You may remove an agent you own; an account owner or admin may remove any in the workspace." It also clarifies that key revocation happens as a side effect, which implicitly routes partial-revocation intent elsewhere. It stops short of naming an explicit alternative or stating when removal is the wrong choice, so it is not a full 5.

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