Skip to main content
Glama

Delete an agent

agent_delete
Destructive

Delete one agent. It moves to the trash and can be restored in the dashboard until the trash empties (after 3, 7 or 30 days).

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe agent name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the safety profile is known; the description nonetheless adds substantive behavior beyond them — this is a soft delete into a trash with dashboard-based restore and a 3/7/30-day retention window. It stops short of saying whether related connections, skills, or memories are affected, and whether auth/permission scopes are required.

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?

Two short sentences, zero filler, with the core action front-loaded and the recovery caveat immediately after. Every clause earns its place by changing how an agent evaluates the risk.

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 one-parameter destructive tool with annotations covering safety and no output schema, the recoverability window is the key missing piece of context and it is supplied. The only residual gap is whether deletion cascades to dependent resources and what a successful response looks like.

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?

There is a single required 'name' parameter with 100% schema description coverage, so the schema already carries the semantics. The description only reinforces that exactly one agent is targeted and adds no format, naming-convention, or ID-vs-name detail beyond the schema.

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 ('Delete one agent'), making the operation unmistakable against siblings like agent_write, get_agent_definition, and list_agents. It does not explicitly name a sibling it should be preferred over, but the singular scope ('one agent') separates it cleanly from list/read tools.

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?

Usage is only implied: the description conveys that this acts on a single named agent and that recovery is possible, which helps an agent weigh the action, but it never states prerequisites (permissions, whether the agent must be stopped or unreferenced) or points to alternatives such as agent_write for reversible edits.

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