Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_delete

DestructiveIdempotent

Deletes a document from the wflow accounting platform by document ID; use with care and optionally specify the organization workspace.

Instructions

Delete 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": {
      "documentId": "<documentId>"
    },
    "name": "wf_document_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesDocument 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.5/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 safety profile is known without the description. The description adds nothing beyond that — it does not say whether deletion is permanent or recoverable, whether files/comments/approvals attached to the document are cascaded, or what authorization is required; "(careful!)" merely restates the destructive hint in vaguer terms.

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?

The single sentence is front-loaded and trivially short, so there is no bloat to trim. But the parenthetical is filler that consumes a meaningful share of an already under-specified definition, and the whole thing is too thin for a destructive operation.

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?

This is an irreversible-sounding mutation with no output schema and no return-value documentation in the description. Given the tool's complexity, the agent still lacks the essentials: permanence, cascade effects on linked files and approvals, and required permissions.

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% and both parameters (documentId, organization) carry their own descriptions, so the schema already does the work. The description adds no meaning about the UUID format, the default-organization fallback behavior, or what happens when an ID does not resolve, so the baseline 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 a document" states a concrete verb and resource, which is more than a tautology. However, the sibling set contains wf_document_file_delete, wf_document_property_delete, and wf_document_type_delete, and the description does nothing to establish that this targets the document entity itself rather than one of its sub-resources.

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 or when-not-to-use guidance, no prerequisites (permissions, ownership, lock state), and no pointer to alternatives. The parenthetical "(careful!)" signals caution without telling the agent what condition should trigger caution or which sibling tool to reach for instead.

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