Skip to main content
Glama

delete-agent

Removes a draft agent by ID; deletion is allowed only while the agent remains in draft status.

Instructions

Delete a draft agent. Only agents in "draft" status can be deleted.

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": {
      "agentId": "<agentId>"
    },
    "name": "delete-agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesThe agent ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a meaningful constraint (status gating) that the schema cannot express, but it is silent on whether deletion is permanent, what happens to the agent's associated data/keys, and what errors result from deleting a non-draft agent.

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, front-loaded with the action and followed immediately by the constraint. No filler or redundant restatement of the tool name.

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

Completeness3/5

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

For a one-parameter mutating tool with no annotations and no output schema, the definition is adequate on scope but incomplete on consequences: irreversibility and post-delete effects go unstated. A sentence on permanence would close the remaining gap.

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?

The single agentId parameter is fully documented in the schema (100% coverage), so the description need not restate it. The description adds no format, sourcing, or lookup guidance beyond the schema, which is the expected baseline here.

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?

A specific verb plus resource ("Delete a draft agent") with a scoping constraint, immediately distinguishable from siblings like update-agent or toggle-agent. It does not explicitly name the sibling that handles non-draft agents, but the resource and operation are unambiguous.

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?

The description gives a clear precondition — only agents in "draft" status can be deleted — which tells the agent when this call is valid. It stops short of naming an alternative for non-draft agents (e.g. what to do instead for a live agent), leaving that inference to the caller.

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