Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_file_delete

DestructiveIdempotent

Delete a file from a document by file ID, optionally targeting an organization workspace.

Instructions

Delete a file from a document (careful!)

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": {
      "fileId": "<fileId>"
    },
    "name": "wf_document_file_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesFile ID to delete
organizationNoOrganization workspace name (uses default if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the description's only contribution, '(careful!)', repeats the warning rather than adding context. It notably omits the key behavioral question for this tool: whether the underlying file is deleted or only its association with the document is removed, and whether anything is recoverable.

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?

It is short and front-loaded with the verb, but a six-word description for a destructive operation is under-specified rather than genuinely concise. The '(careful!)' parenthetical consumes space without conveying information.

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, irreversible-sounding operation with no output schema, the description leaves the critical semantic ambiguity unresolved: file deletion versus detachment, and side effects on the document. Annotations cover the safety profile, but the agent still cannot predict the outcome of the call.

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 both fileId and organization documented inline, so the schema carries parameter meaning. The description adds nothing about parameters, which is acceptable at this coverage level but earns no extra credit.

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?

The description gives a specific verb+resource: deleting a file from a document, which is distinguishable from siblings like wf_document_delete (deletes the document itself) and wf_storage_file_delete (deletes a storage file). It does not, however, clarify whether the file record is removed or merely detached from the document.

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, no prerequisites, and no mention of alternatives such as wf_storage_file_delete or wf_document_file_stamp. The parenthetical '(careful!)' signals danger but gives no actionable condition for choosing this tool versus its siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools