Skip to main content
Glama

Yuppsy

template_builder_delete_item

Destructive

Delete an editable template item. Paths with a dot in the last segment are treated as files; others as directories.

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": {
      "headId": "<headId>",
      "path": "<path>"
    },
    "name": "template_builder_delete_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesItem path relative to the template.
headIdYesTemplate head ID.

Output Schema

NameRequiredDescriptionDefault
dataNoOperation-specific data, including any result returned on failure.
errorNo
statusNoManager outcome when returned by the operation.
successNo
statusCodeNo
errorDetailsNo

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?

Annotations already flag destructiveHint=true and readOnlyHint=false, so safety is covered structurally. The description adds real value beyond that: the 'editable' qualifier signals a precondition (non-editable/published templates are out of scope) and the dot-in-last-segment rule tells the agent how files and directories are distinguished. It still omits what happens to directory contents or failure modes.

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 no filler; the action is front-loaded and the path-classification rule follows immediately as the one non-obvious detail an agent needs.

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?

An output schema exists, both parameters are documented with full coverage, and annotations carry the destructive profile. The main residual gap is the consequence of deleting a directory (recursive vs. error when non-empty), which is material for a destructive operation.

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%, so the baseline is 3, but the description genuinely adds interpretation for the 'path' parameter by explaining that a dot in the final segment means file and otherwise directory — information not present in the schema. headId is left to the schema, which is acceptable.

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 an editable template item'), which separates it from siblings that delete a template head or version. It does not name those siblings explicitly, so the differentiation comes from the noun 'item' rather than from routing guidance.

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?

There is no explicit when-to-use or when-not-to-use guidance relative to template_builder_delete_template_head, _version, or the view/get item tools. Usage must be inferred, though the 'editable' qualifier implies it only applies to mutable templates.

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