Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_metadata

DestructiveIdempotent

Get or set metadata for a wflow document using its document ID, with optional organization workspace selection.

Instructions

Get or update document metadata

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

Input Schema

NameRequiredDescriptionDefault
actionNoGet or set metadataget
metadataNoMetadata text to store (for set action); sent as-is, typically a JSON document serialized to a string
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 declare destructiveHint=true and idempotentHint=true, but the description says only "update," which downplays that a set action replaces existing metadata wholesale rather than merging. It adds no context on the overwrite semantics, permissions, or what a get returns when no metadata exists.

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 front-loaded sentence with no wasted words, but the brevity comes at the cost of substance rather than being tightly informative. Structure is fine; there is simply very little to structure.

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 two-mode tool whose write path is flagged destructive with no output schema, the description should explain what set does to existing metadata and what get returns. None of that is present, so an agent cannot call the set action safely without guessing.

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 and the note that metadata is sent as-is as serialized text, so the schema carries the parameter burden. The description contributes nothing beyond the schema, which meets the baseline of 3.

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?

States a specific verb pair and resource ("Get or update document metadata"), so the agent knows it reads and writes document metadata. It does not distinguish this from closely named siblings such as wf_document_properties, leaving ambiguity about which resource holds what.

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?

No guidance on when to use this versus wf_document_properties or wf_document_type_save-type siblings, and no prerequisites or context about the get-vs-set choice beyond the schema enum. The agent must infer everything about fit from the name alone.

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