Skip to main content
Glama

Delete Automation

delete_automation
DestructiveIdempotent

Destructive and idempotent soft-delete. Only call after preview_automation_deletion was shown and the user explicitly confirmed in a new turn. Requires the current confirmation_token; stale tokens are rejected.

Input Schema

NameRequiredDescriptionDefault
uidNoOptional Firebase uid. Must match the URL uid unless local fallback is enabled.
bearer_tokenNoOptional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead.
automation_idNo
conversation_idNoCreator-list key for durable state. Reuse a returned list_id for follow-ups; when omitted, MCP uses the active generated list for this tool chain.
preferences_modeNoHow to apply preferences for this call: 'stored' uses users/{uid}.agentPreferences, 'override' uses agent_preferences only, and 'none' disables stored filtering for this run.
agent_preferencesNoOptional per-call filtering preferences. Use with preferences_mode='override'. For backwards compatibility, passing this without preferences_mode implies override.
confirmation_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the description earns credit for going further: it discloses that deletion is a *soft* delete (data not hard-removed), that a token gates the call, and that stale tokens are rejected. It stops short of saying whether the soft-delete can be restored or what happens to the automation's run history.

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 short sentences, zero filler, and the most decision-critical fact (destructive soft-delete) is front-loaded before the preconditions. Every clause carries operational weight.

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 destructive mutation with no output schema, the description covers the safety contract (preview → confirm → token) that an agent most needs. It is slightly incomplete on post-conditions — no statement of what the caller sees on success or what happens to dependent runs — and notably the schema marks zero parameters required despite the description saying the token is required.

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 71%, so the schema carries most parameter meaning, but the description adds real semantics for confirmation_token — that it must be current and that stale values are rejected — which the schema's bare type declaration does not convey. automation_id remains undescribed in both places.

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 the operation type precisely ("Destructive and idempotent soft-delete") and names the sibling tool it pairs with (preview_automation_deletion), which separates it from update_automation and pause_automation. The resource (an automation) is only implied via the tool name rather than stated in the description text, which keeps it just short of a 5.

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?

Explicit gating: only call after preview_automation_deletion was shown AND the user explicitly confirmed in a new turn. It also names the precondition artifact (current confirmation_token) and the failure mode (stale tokens rejected), leaving nothing about when-to-call to inference.

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