Skip to main content
Glama

Oxyforge WordPress

Delete a file

delete_file
Destructive

Delete a file or folder under wp-content/themes, plugins or uploads.

Input Schema

NameRequiredDescriptionDefault
pathYes
siteYesthe site name, from create_site or list_sites
tokenNothe token create_site returned (oxa_...); leave out when Oxyforge is connected with an account agent key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

destructiveHint=true already flags the safety profile, so the bar is lower. The description does add a useful constraint beyond annotations — the operation is limited to three wp-content subdirectories — but it omits whether deleting a folder is recursive, whether deletion is reversible/backed up, and whether permissions are required.

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 front-loaded sentence with no filler; the scope restriction is stated immediately. It is arguably too terse for a destructive tool rather than too long, but structurally sound.

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 destructive, no-output-schema tool with an undocumented path parameter, the description leaves out recursion behavior, irreversibility, error cases, and format of path. What exists is accurate but insufficient to safely invoke the tool on the first try.

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 67%: site and token are documented in the schema, but the critical 'path' parameter has no description anywhere. The description mentions directory scope but does not say whether path is relative to the site root, absolute, or what format it takes, so it fails to fill the gap.

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 (delete) and resource (file or folder) plus the allowed scope under wp-content/themes, plugins or uploads. That scope sentence separates it from write_file/read_files siblings, though it never names those alternatives explicitly.

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?

No guidance on when to delete vs. overwrite with write_file, no mention of prerequisites, confirmation steps, or what to do if the path is a theme/plugin root. The agent must infer all usage context from the one scope sentence.

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