Skip to main content
Glama

openwisp_delete_template

Delete an OpenWISP template by UUID via the REST API, removing it from the controller when it is no longer needed.

Instructions

[Category: Templates] Delete a template. (HTTP DELETE /api/v1/controller/template/{id}/)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTemplate UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden for a destructive operation and discloses nothing: not irreversibility, not required permissions, not what happens to templates still bound to devices, not the response shape. The endpoint string is the only added context.

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?

One short sentence, front-loaded with the action and resource, with the endpoint appended. Nothing is wasted, though the endpoint restates what the name already implies.

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 one-parameter destructive tool with no annotations and no output schema, the description should at minimum flag irreversibility and any safety constraints. Those are entirely absent, leaving the agent only the bare verb.

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% — the single 'id' parameter is documented in the schema as 'Template UUID'. The description adds no syntax, format, or lookup guidance beyond that, so the baseline 3 applies.

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 template') plus a category tag and the exact HTTP endpoint, so an agent can tell it apart from create/update/patch_template siblings. It is clear but does not explicitly name or contrast with those siblings.

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?

There is no guidance on when to use deletion versus deprecation or update, no prerequisites, and no mention that the operation is irreversible. The agent gets a verb but no condition for selecting it.

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

Deploy Server

Other Tools