Skip to main content
Glama

delete_template

Removes one named user-library template while leaving shipped templates, reports, and models untouched.

Instructions

Delete one named user-library template only. Shipped templates, reports and models are never 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": {
      "name": "<name>"
    },
    "name": "delete_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.2

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a destructive mutation. It does disclose the blast radius (only user-library templates; shipped templates, reports and models are never deleted), which is genuinely useful. However, it says nothing about irreversibility, whether confirmation is required, permission or authorization requirements, or 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.

Conciseness5/5

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

Two short sentences, front-loaded with the scope constraint followed by the safety exclusion. Every clause carries information; nothing is padding.

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

Completeness3/5

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

For a single-parameter deletion tool with no output schema and no annotations, the essentials of what is deleted and what is protected are covered. Missing are irreversibility, failure behavior for unknown names, and any name-format guidance, which matter materially for a destructive operation.

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 coverage is 0% and the schema merely declares a required string 'name'. The description adds only that exactly one template is targeted and that its name must belong to the user library; it gives no format, case-sensitivity, or qualified-name conventions. This only partially compensates for an entirely undocumented parameter.

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?

Specific verb plus resource: 'Delete one named user-library template'. It also bounds scope by excluding shipped templates, reports, and models, so an agent can tell it is not a general deletion tool. It does not name a sibling alternative (e.g. save_template, list_templates), but the resource is unambiguous.

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 implies when this tool applies (user-library templates) and states what it will not touch (shipped templates, reports, models), which functions as an implicit when-not rule. It gives no explicit precondition, no guidance on finding a valid template name first (e.g. via list_templates), and no alternative tool for other deletion needs.

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