Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Delete file

delete_file
Destructive

Delete one file from a bucket.

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": {
      "project": "<project>",
      "bucket": "<bucket>",
      "path": "<path>"
    },
    "name": "delete_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath in the bucket
bucketYesBucket name
projectYesProject slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

The destructiveHint=true annotation already marks this as a destructive operation, but the description adds nothing beyond that — no statement about irreversibility, whether the deletion is recoverable, what happens if the path does not exist, or whether extra permissions are required. For a destructive tool this is a notable gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no wasted words, but the brevity reflects under-specification rather than efficient front-loading. It is appropriately sized in form but does not earn its space with any actionable detail.

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, three-parameter operation with no output schema, the definition should at minimum note irreversibility and error behavior. The annotations cover the safety flag but the description leaves the agent without enough behavioral context to call this confidently.

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%, with project, bucket, and path all documented in the schema itself. The description adds no format hints (e.g., leading slash, folder semantics) beyond what the schema provides, so the baseline of 3 applies.

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?

"Delete one file from a bucket" states a verb and resource, but it largely restates the name and title. It adds only the cardinality (one file) and the containment scope (from a bucket), without distinguishing itself from siblings such as delete_bucket or the write/import file tools.

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?

There is no when-to-use guidance at all: no mention of when to choose delete_file over delete_bucket or when to overwrite with write_file instead. No prerequisites, permissions, or preconditions are stated.

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.