Skip to main content
Glama

Delete agent profile

profiles_delete
DestructiveIdempotent

Delete an agent profile, all its versions, and cron triggers targeting it. Running agents keep immutable snapshots; future launches fail until integrations use an available profile.

Instructions

Deletes the profile, all of its profile versions, and any cron triggers targeting the profile. Agents launched from the profile are retained and keep running: each agent holds an immutable snapshot of the configuration it was launched with, so its reference to the profile becomes historical provenance only. Integration settings may retain the public profile ID; future launches fail as unavailable until those settings reference an available profile.

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": {
      "agentProfileID": "<agentProfileID>",
      "orgID": "<orgID>",
      "projectID": "<projectID>"
    },
    "name": "profiles_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
projectIDYesProject ID (proj_...).
agentProfileIDYesAgent profile ID (aprf_...).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Empty on success: the operation returns no data.",
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / agentProfileID / description
      Added value: +"Agent profile ID (aprf_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it enumerates what gets destroyed (profile, all versions, cron triggers), what survives (running agents, via immutable snapshots), and a non-obvious downstream side effect (integration settings retaining the public profile ID cause future launches to fail as unavailable). That is precisely the behavioral context an agent needs before an irreversible call.

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 tightly packed sentences, front-loaded with the primary effect, then survivors, then residual side effects. No filler, and each clause carries a distinct operational consequence.

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

Completeness5/5

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

For a destructive mutation with an output schema already covering return values, the description supplies everything material: cascade scope, retained entities, idempotency context, and the follow-on failure mode. Nothing needed to call it correctly is missing.

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 all three parameters (orgID, projectID, agentProfileID) carry format patterns and descriptions, so the schema does the heavy lifting. The description adds no parameter-level meaning, which is acceptable at full coverage but warrants the baseline score.

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 (deletes) and resource (profile) plus the exact cascade scope — profile versions and cron triggers targeting the profile. The cascade detail distinguishes it unambiguously from crons_delete and from sibling profile tools such as profiles_update or profiles_rename.

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 implied rather than stated: the permanent, cascading nature of the operation is a strong signal for when to choose it, but there is no explicit when-to-use/when-not guidance, no mention of alternates such as profiles_update for reversible changes, and no prerequisites (permissions, confirmation) called out.

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