Skip to main content
Glama

Deregister Agent

deregister_agent

Remove an agent from a project's active roster and mark it inactive, preserving its message history for audit while blocking new messages.

Instructions

Remove an agent from a project. Marks the agent as inactive and removes it from the active roster. Messages from/to the agent are preserved for audit but the agent can no longer send or receive new messages.

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": {
      "project_key": "<project_key>",
      "agent_name": "<agent_name>"
    },
    "name": "deregister_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_nameYes
project_keyYes
registration_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.5
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.3.4

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden and it does state two non-obvious effects: existing messages are preserved for audit, and the agent can no longer send or receive new messages. It omits reversibility (sibling 'unretire_agent' suggests it may be undoable), permission/auth requirements, and whether the identity is permanently consumed.

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?

Three short sentences with the action front-loaded and no filler; the consequences follow in a logical order. Minor wording tension between 'Remove' and 'marks the agent as inactive', which describe different degrees of removal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A mutation tool with no annotations and 0% schema coverage needs more than this. The unexplained 'registration_token' parameter and the unidentified reversibility/permission model leave an agent unable to call it correctly in ambiguous cases, even though the presence of an output schema relieves the description of explaining return values.

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% across three parameters, so the description is the only source of parameter meaning and it explains none of them. 'project_key' and 'agent_name' are inferable from the sentence about removing an agent from a project, but 'registration_token' is never mentioned anywhere and its role is completely opaque.

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?

States a specific verb ('Remove') and resource ('an agent from a project') and explains what removal means concretely: marked inactive, dropped from the active roster. However, it never distinguishes itself from the near-identical siblings 'retire_agent' and 'hard_delete_agent', so an agent cannot tell from this text which of the three it should call.

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?

No explicit when-to-use or when-not-to-use guidance, and no named alternative. The clause about preserving messages for audit implies this is the soft-removal path (versus a hard delete), so usage is inferable, but the agent must guess at the tradeoff against 'retire_agent'.

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