Skip to main content
Glama

Delete theme file

delete_theme_file
Destructive

Delete a custom theme file from a blog. Requires a Pro subscription. Cannot delete built-in-only files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blogIdYesBlog ID. Use list_blogs to discover available blog IDs.
file_pathYesTheme file path relative to the theme root.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already carry destructiveHint=true and readOnlyHint=false, so the destructive nature is known. The description adds genuinely useful context beyond annotations: the Pro subscription requirement and the built-in file limitation. This helps the agent anticipate access and applicability constraints.

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?

The description is only three short sentences, with the core action first and supporting constraints following. There is no redundant wording or repetition of schema or annotation details.

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

Completeness5/5

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

For a low-complexity tool with two well-documented parameters, a destructive annotation, an output schema, and two meaningful usage constraints in the description, nothing essential is missing. An agent has enough information to select and invoke the tool correctly.

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%, and both parameters already have clear descriptions: blogId points to list_blogs and file_path is described as relative to theme root. The tool description adds no further parameter-level meaning, so the baseline 3 is appropriate.

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?

The description uses a specific verb and resource: 'Delete a custom theme file from a blog.' It also distinguishes the tool's scope by noting it cannot delete built-in-only files, which separates it clearly from generic delete operations and from theme-management siblings.

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 provides clear applicability context: it applies to custom theme files, requires a Pro subscription, and excludes built-in-only files. It does not explicitly name an alternative tool such as update_theme_file or list_theme_files, so it falls just short of full routing 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