Skip to main content
Glama

Delete a template

delete_template
DestructiveIdempotent

Deletes a saved template file by name so you can remove unused templates from your YouTube channel workflow.

Instructions

Delete a saved template file.

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.6/5.0
Behavior2/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 safety profile is covered structurally. The description adds nothing beyond that: it doesn't say whether the file is removed from disk permanently or moved to trash, nor what happens when the name does not exist.

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?

A single sentence with no filler and the verb front-loaded, so it is structurally clean. However it is terse to the point of under-specification rather than genuinely efficient, since one more clause on irreversibility or name format would have earned its place.

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

Completeness2/5

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

For a destructive, single-parameter operation with no output schema and zero parameter documentation, the description should tell the agent how to obtain a valid name and what the effect of deletion is. Neither is present, leaving the agent reliant on annotations alone to understand the consequences.

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

Parameters2/5

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

Schema description coverage is 0% and the single 'name' parameter is typed only as a bare string. The description offers no clarification on whether this is a template name, an ID, whether it is case-sensitive, and whether the file extension must be included — a real gap for a destructive call where a wrong value causes collateral damage.

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 a specific verb ('Delete') and resource ('saved template file'), which distinguishes it from the other delete_* siblings that target playlists, videos, captions, and comments. It does not explicitly reference a sibling, but the noun is unambiguous enough for correct selection.

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

Usage Guidelines2/5

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

No when-to-use guidance, no mention of irreversibility, and no pointer to list_templates for discovering valid names before deleting. The agent must infer that this is a permanent removal rather than an un-save or archive.

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