Skip to main content
Glama

Delete file

delete_page
Destructive

Delete a file from the draft.

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": {
      "site": "<site>",
      "path": "<path>"
    },
    "name": "delete_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
siteYesSite slug (e.g. "kopitiam-muar") or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is largely covered. The description adds useful scope by saying the deletion applies to the draft, but it does not state whether the deletion is reversible, what happens to published versions, or what 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?

It is a single short sentence with no unnecessary wording and the action is front-loaded. The brevity contributes to ambiguity, but the sentence itself is structurally efficient.

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 operation with a partially undocumented schema and no output schema, the description is too thin. It leaves an agent unsure whether it deletes pages or files, how path identifies the target, and what happens outside the draft.

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 description coverage is only 50%, with site documented but path left unspecified. The description does not explain what path refers to or how it relates to the "file" being deleted, so it fails to compensate for the undocumented parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and rough resource: "Delete a file from the draft." However, the tool name is delete_page while the title and description say "file," leaving ambiguity about whether it deletes pages, files, or draft assets and making it harder to distinguish from siblings like delete_site, delete_collection, or edit_files.

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?

It implies draft scope but gives no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives such as edit_files, write_file, or unpublish_site, nor does it state what to do for published content.

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