Skip to main content
Glama

Delete template

delete_template
Destructive

Delete a template with its images. Renders that name it answer not_found at once. This cannot be undone.

Input Schema

NameRequiredDescriptionDefault
templateYesThe template's id or its name, as list_templates gives them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely new behavioral context: the delete cascades to associated images, renders referencing the template fail immediately with not_found, and the action is irreversible.

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 short sentences, front-loaded with the action and its cascade scope, then the downstream consequence, then the irreversibility warning. The phrasing 'Renders that name it answer not_found at once' is terse and slightly awkward, but nothing is wasted.

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 single-parameter destructive tool with full schema coverage and annotations, the description covers the key risks: cascading image deletion and irreversible outcome. It does not say what happens if the template does not exist or what a successful response looks like, though these gaps are minor given the tool's simplicity.

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 coverage is 100%, and the single parameter is fully documented in the schema as an id or a name in the format list_templates returns. The description adds no additional detail about the parameter, which is the expected baseline when the schema does the work.

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 description states a specific verb (delete) and resource (template) and adds a scope qualifier, 'with its images', that tells the agent this is a cascading delete rather than a metadata-only removal. This separates it cleanly from create_template, update_template, and get_template.

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?

The description does not explicitly state when to choose this over alternatives such as update_template or preview_template; there is no direct sibling delete tool, so the choice is implicitly clear. The warning that renders naming the template immediately return not_found acts as a de facto 'when not to use' caution, but the guidance is implied rather than stated.

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