Skip to main content
Glama

Delete page template

delete_page_template
DestructiveIdempotent

Deletes one of the account’s OWN saved page templates (mine:…) and its pictures for good — never a system template; pages made from it keep theirs.

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": {
      "templateId": "<templateId>"
    },
    "name": "delete_page_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateIdYes"mine:ptpl-…" (list_page_templates)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real context beyond them: the deletion is permanent ('for good'), it also removes the template's pictures, and pages previously created from the template retain their own images. It does not mention permission requirements or error behavior for an already-deleted or invalid id, keeping it below a 5.

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?

A single front-loaded sentence carries the scope, irreversibility, cascade effect, and the key exclusion; no filler or repetition of 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 delete with rich annotations and no output schema, the description covers what is destroyed, what survives, and what is off-limits. Only permission/prerequisite context is absent, which is a minor gap given annotation coverage.

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

Parameters4/5

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

Schema coverage is 100% and the schema already documents the 'mine:ptpl-…' format, so the baseline is 3. The description adds meaning beyond the schema by tying the identifier to account ownership ('one of the account's OWN') and excluding system templates, which clarifies which ids are valid.

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?

States a specific verb (deletes) and a precisely scoped resource: one of the account's OWN saved page templates, identified by the 'mine:…' prefix, explicitly not a system template. The wording also distinguishes it from sibling delete_page by making clear the object is a template, not a page.

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

Usage Guidelines4/5

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

The description gives a clear selection condition — only own saved templates ('mine:…'), never system templates — and points to list_page_templates via the schema for discovery. It does not name a sibling alternative or state what to use when the target is a system template, so it stops short of full when/when-not guidance.

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