Skip to main content
Glama

delete_template

DestructiveIdempotent

Deletes a custom saved template by ID; built-in templates cannot be removed.

Instructions

Delete a custom saved template. Built-in templates cannot be deleted.

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": {
      "id": "<id>"
    },
    "name": "delete_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe template ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/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 one genuinely new behavioral fact — built-in templates cannot be deleted — but says nothing about reversibility, failure behavior, or whether deleting an in-use template has side effects.

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?

Two short sentences with zero waste; the core action is front-loaded and the constraint follows immediately. Nothing is padded or restated from the title.

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 one-parameter destructive tool whose annotations already declare destructiveness and idempotency, the definition covers the essentials plus the built-in restriction. A note on what happens when a built-in ID is passed, or whether deletion is recoverable, would make it fully complete.

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?

The single parameter has 100% schema description coverage ("The template ID to delete"), so the schema carries the full burden. The description adds no format, sourcing, or lookup guidance for obtaining a valid ID beyond what the schema states.

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 and resource ("Delete a custom saved template") and immediately narrows the scope to custom templates, excluding built-ins. This distinguishes it from the retrieval/save siblings (get_template, save_template) without needing to name them, though no sibling is called out explicitly.

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 built-in exclusion acts as an implicit when-not-to-use rule, and the destructive verb implies the intent. However, there is no explicit guidance on when to prefer this over related operations or on prerequisites such as ownership or permissions.

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