Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_task

Create a document task or mark an existing task as processed with a result message and success status, tracking document workflow completion in wflow.

Instructions

Create or mark document task as processed

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>",
      "taskType": "<taskType>"
    },
    "name": "wf_document_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoCreate task or mark as processedcreate
messageNoprocessed only: result message
successNoprocessed only: whether the task succeeded
taskTypeYesTask type identifier
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 readOnly=false, idempotent=false, and destructive=false, so the safety profile is covered. The description adds no behavior beyond that: it does not say whether repeated 'create' calls duplicate tasks, what state a created task enters, or whether marking processed 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.

Conciseness3/5

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

One short sentence is front-loaded and free of waste, but its brevity is under-specification rather than economy. The description never establishes the default action or that this is a state-changing operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, a dual-mode mutation, and no output schema, the definition needs to carry more than a seven-word sentence. The schema fills most of the gap, but the agent gets no explanation of how the two modes relate to the conditional message/success parameters.

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%, so every parameter including action, message, success, and organization is documented in the schema itself. The description merely restates the two action modes without adding format, default, or dependency details, so the baseline 3 applies.

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 names a specific resource (document task) and two concrete operations (create, mark as processed), so an agent can tell what the tool does. It stops short of differentiating this from siblings such as wf_document_events or wf_document, which also touch document state.

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 mention of prerequisites, and no reference to an alternative tool for querying or deleting tasks. The only selection hint is implicit in the word 'or', which the agent must reconstruct from the action enum.

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