Skip to main content
Glama

Delete agent profile

profiles_delete
DestructiveIdempotent

Deletes the profile, all of its profile versions, and any cron triggers targeting the profile. Also deletes the profile's budgets, which requires an org admin; other callers get 409 while the profile has budgets. 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 changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Empty on success: the operation returns no data.",
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • 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.2/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, yet the description still adds substantial value: cascading deletion of versions and cron triggers, a 409 failure mode when the profile holds budgets unless the caller is an org admin, and the crucial fact that launched agents survive with immutable snapshots. It also discloses the downstream breakage of integration settings holding the public profile ID. This is exactly the behavioral context annotations cannot express.

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 sentences, front-loaded with the destructive scope before the side effects, and no filler. The final sentence about integration settings is the densest and slightly convoluted, but every clause conveys a consequence an agent would otherwise get wrong.

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?

Given a destructive three-parameter mutation with an output schema and full annotation coverage, the description supplies the remaining needed context: what is destroyed, what survives, the authorization requirement with its status code, and the lingering effect on integration settings. Nothing material is missing for a correct invocation decision.

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 every parameter carries its own pattern and description, so the schema does the heavy lifting. The description adds no per-parameter meaning such as which ID scopes the admin check or how projectID relates to cross-project deletion, so the baseline 3 applies.

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?

The first sentence names a specific verb (deletes) and resource (the profile) and enumerates the exact scope of the cascade: profile versions and cron triggers targeting the profile. An agent can immediately distinguish this from siblings like profiles_update or crons_delete without opening a schema.

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 by the destructive verb, but the description never states when to reach for this versus alternatives such as archiving agents or deleting triggers individually, nor does it warn about irreversible-loss scenarios. The org-admin prerequisite for budget removal is the closest thing to guidance and is framed as a runtime condition rather than a when-to-use rule.

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.