Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_approval_clear

DestructiveIdempotent

Removes all approvals from a specified wflow document using its document ID, optionally within an organization workspace. Use with caution because it clears existing approval records.

Instructions

Remove approvals 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": {
      "documentId": "<documentId>"
    },
    "name": "wf_document_approval_clear"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesDocument ID
organizationNoOrganization workspace name (uses default if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/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 '(careful!)' merely restates structured data. The description does not disclose the scope of removal (all approvals versus a subset), required permissions, or whether the action is reversible.

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?

The definition is a single front-loaded sentence with no filler text. The parenthetical warning is better placed after the action, so the structure works, but it conveys editorial alarm rather than actionable 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?

This is a destructive mutation with no output schema, and the description does not say what state results, whether all approval records are deleted, or what errors to expect. For a destructive tool whose annotations are the only safety signal, the description leaves too much unstated.

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 coverage is 100%, so both parameters (documentId, organization) are already documented in the schema. The description adds only the implication that approvals plural are removed wholesale from one document, which is marginal added meaning.

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 states a specific verb and resource: 'Remove approvals from a document.' An agent can distinguish this from the sibling wf_document_approval_set, which implies setting approvals, without opening either schema. It falls short of 5 because it doesn't explicitly name or contrast the alternative.

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 named alternative. The parenthetical '(careful!)' signals caution but doesn't tell the agent which situations call for clearing approvals versus setting them.

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