Skip to main content
Glama

delete_entity

Deletes one Albato Builder entity at a time after user confirmation, showing cascade effects and refusing webhook subscriptions or lists still referenced elsewhere.

Instructions

Delete an entity (one at a time: each deletion gets its own answer from the user). Deletion in the builder is hard for everything created in this version, and the backend deletes by cascade: for a list, its children and wizard steps; for a step, all following ones. Without confirmed the tool deletes nothing and shows what will be deleted along with the entity: show this to the user and call with confirmed: true only after they agree. A webhook subscription that has at least one trigger or action attached, and a list referenced by a connection field, the tool won't delete even with confirmation.

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": {
      "resource": "<resource>",
      "confirmed": "<confirmed>"
    },
    "name": "delete_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoEntity ID
appIdNoApp ID. Not needed only for resource: "apps"
resourceYesBuilder resource the operation is performed on
confirmedYesThe user confirmed the deletion in chat
parentIdsNo
versionIdNoVersion ID. Not needed for resource: "apps" and "versions". Only a private version is writable; ensure_editable_version tells you which one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses that deletion is hard/permanent in the builder, describes cascade semantics per resource type (list children and wizard steps, a step's following steps), and explains the confirmation gate's observable behavior (nothing deleted, preview returned). It also enumerates the two blocking conditions, which an agent could not infer from the schema.

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?

Purpose is front-loaded and every sentence carries operational information; nothing is filler. Some sentences are run-on and grammatically tangled ("Without confirmed the tool deletes nothing and shows what will be deleted along with the entity"), which costs a little readability.

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 6-parameter destructive tool with no annotations and no output schema, the definition covers safety, cascade behavior, refusal cases, and the confirmation protocol well. Remaining gaps are the undocumented `parentIds` object and the absent description of the preview payload's shape, though the latter is partially implied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 83%, so the baseline is 3; the description goes beyond it by defining the semantics of `confirmed` as a two-phase preview/commit flag rather than merely "the user confirmed". It adds resource-dependent meaning for `resource` (cascade scope varies by resource) but says nothing about `parentIds`, which has no schema description at all.

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?

Opens with a specific verb and resource ("Delete an entity") and adds a scope qualifier ("one at a time"), which is enough for an agent to know this is the generic entity deletion path versus the credential-specific sibling. It never names an alternative tool, so the differentiation is implicit rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes the two-step protocol: call without confirmed to preview, show the result to the user, then call with confirmed: true only after agreement. It also states concrete when-not conditions (webhook subscriptions with attached triggers/actions, lists referenced by a connection field) that the tool refuses even with confirmation.

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