Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_links

DestructiveIdempotent

List, add, or remove linked documents for a wflow document using its ID, with optional workspace selection.

Instructions

Get, add, or remove linked documents

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_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoAction to performlist
documentIdYesDocument ID
organizationNoOrganization workspace name (uses default if omitted)
linkedDocumentIdNoLinked document ID (required for add/remove)

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 the safety profile is known without the description. The description adds no context beyond that: it does not say whether 'remove' only unlinks the document or deletes it, whether removal is reversible, or whether linking requires rights on the target document. For a destructive multi-action tool this is a meaningful gap.

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?

A single short sentence with no filler, and the operations are front-loaded. The only blemish is the 'get'/'list' terminology mismatch with the schema, which slightly undercuts the tightness.

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 four-parameter tool with three distinct modes, one of which is destructive, and there is no output schema to explain results. The description says nothing about what a list returns, what happens on add (duplicate handling, given idempotentHint), or the consequences of remove, leaving the agent under-informed for two of the three modes.

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%, including the action enum default and a note that linkedDocumentId is required for add/remove, so the schema carries the semantic load. The description adds nothing beyond echoing the three operations, so 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 (linked documents) and three concrete operations (get, add, remove), which maps onto the action enum. It is clear what the tool does, but it never contrasts itself with adjacent siblings such as wf_document_files or wf_document_with_files, so the agent must infer the boundary. Minor friction: the description says 'get' while the schema enum uses 'list'.

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 guidance on when to choose this tool versus the many other document-related siblings, and no stated prerequisites such as needing an existing document or permission to link. The only routing information is implicit in the verb list.

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