Skip to main content
Glama
thenavidm
by thenavidm

Delete Template

delete_template
Destructive

Deletes a template by its ID from Shotstack, requiring explicit confirmation to prevent accidental removal.

Instructions

Delete a template by its template id.

Base URL: https://api.shotstack.io/edit/{version} Explicit confirmation is required for this exact action; provider charges, hosting, sharing or deletion may apply. Never automatically resubmit unknown outcomes.

Input Schema

NameRequiredDescriptionDefault
idYesExact resource ID from the selected account.
accountNoNamed private Shotstack account; selects private credentials and stage/v1 environment.
confirmNoSet true only when the user asked for exactly this action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for this exact requested render, generation, mutation, upload URL or deletion."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true. The description goes beyond them by warning that provider charges, hosting, sharing or deletion may apply and that unknown outcomes must never be automatically resubmitted — non-obvious consequences an agent could not infer from the hints alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence and confirmation constraint are front-loaded and useful, but the embedded 'Base URL:' fragment with a stray empty anchor tag is visual noise that does not help an agent decide or invoke the tool, slightly diluting an otherwise tight description.

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 single-id delete with full annotation coverage and a complete schema (no output schema needed), the description supplies the essential extra context: confirmation requirement and non-retry guidance. Only a brief note on irreversibility/scope of deletion is arguably 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%, so the schema already documents id, account and confirm, including the 'set true only when the user asked for exactly this action' semantics. The description reinforces the confirmation requirement but adds no new syntactic or formatting detail, so baseline 3 is appropriate.

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 and resource ('Delete a template by its template id'), which cleanly distinguishes it from sibling deletion tools such as delete_asset, delete_source and from update_template/create_template. An agent can identify the operation and its target without opening the 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?

It gives a real precondition ('Explicit confirmation is required for this exact action') and a retry caution, which is genuine when-to-use guidance. However, it never names alternatives (e.g., update_template when the user only wants changes) or states when deletion is inappropriate, so routing context is only partially covered.

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