Skip to main content
Glama

delete_agent

DestructiveIdempotent

Permanently delete an agent. Remaining balance is returned to operator. REQUIRES OPERATOR KEY.

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>",
      "confirm": "<confirm>"
    },
    "name": "delete_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true to confirm deletion
agent_idYesAgent ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description adds real value beyond them: the balance refund behavior and the operator-key authorization requirement. It leaves unclear whether the refund is immediate or whether deletion fails on any condition (e.g., active agents).

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, front-loaded with the action and its permanence, followed by side effect and authorization. Nothing is wasted, though the sentence fragments read telegraphically rather than as flowing guidance.

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 two-parameter destructive operation with full annotation coverage and no output schema, the description supplies the essential facts: irreversibility, balance handling, and auth. Only edge-case failure conditions and the post-deletion response shape are absent.

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% and both parameters are self-describing ('Agent ID to delete', 'Must be true to confirm deletion'). The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 and resource ('Permanently delete an agent') and the word 'Permanently' implicitly separates it from soft-lifecycle siblings like deactivate_agent. It stops short of naming an alternative outright, so the differentiation is inferred rather than explicit.

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?

The 'Permanently' wording hints that this is the irreversible path versus deactivation, and 'REQUIRES OPERATOR KEY' flags a precondition. However, it never states when to prefer this over deactivate_agent or what the consequences of choosing wrong are.

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.