Skip to main content
Glama

delete_file

Detach + soft-archive a file from a card. Fires a card.updated webhook for the attachment removal. Mirrors DELETE /v1/files/{id}.

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": {
      "file_id": "<file_id>"
    },
    "name": "delete_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it reveals the operation is recoverable ('soft-archive'), that it fires a card.updated webhook as a side effect, and that it maps to DELETE /v1/files/{id}. It omits permission requirements and whether the archived file can be restored or where it goes.

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?

Three short sentences, each front-loaded with a distinct fact (action semantics, side effect, API mapping) and no filler. Nothing could be cut without losing information.

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?

For a one-parameter mutation, the key risks are covered: soft vs. permanent deletion and the webhook side effect. An output schema exists so return values needn't be explained; only authorization/restore details are absent.

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?

The single file_id parameter has 0% schema coverage, and the description never names or explains it beyond the implicit '{id}' in the mirrored endpoint. The agent can infer the UUID is the file to detach, but no format, scope, or source guidance is added.

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?

States a specific verb pair and resource: 'Detach + soft-archive a file from a card.' The 'soft-archive' phrasing distinguishes it from a hard delete and from siblings like get_file or commit_file, so an agent knows exactly what operation it is.

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?

Usage is only implied by the word 'Detach' and the DELETE endpoint reference; there is no explicit when-to-use statement, no when-not guidance (e.g., hard vs. permanent removal), and no named alternative or prerequisite. Adequate but leaves routing to inference.

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