Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document

Read-only

Retrieve a document's full details by UUID, optionally scoped to an organization workspace, to support accounting and approval workflows.

Instructions

Get detailed document by ID

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

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 readOnlyHint=true, so the safety profile is covered, but the description adds no behavior of its own. It does not say what 'detailed' includes, whether drafts or archived documents are returned, whether permissions are required, or whether a missing ID errors or returns null. For a read tool with no output schema, that leaves the return shape opaque.

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 clause with zero filler, which is appropriately terse for a simple read. It is arguably too terse, but no wording is wasted.

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?

The tool is simple, params are fully documented, and annotations carry the safety profile, so the description is close to sufficient. However, with no output schema, the word 'detailed' is the only hint about the response payload and it is not elaborated, leaving the agent's expectations about the returned document partially unspecified.

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 both documentId and organization are already documented in the schema, and 'by ID' merely echoes the required parameter. The description adds no guidance on the organization workspace fallback or on acceptable ID formats, 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?

States a specific verb ('Get') and resource ('document') with a scoping qualifier ('by ID'), so the agent knows this is a single-item retrieval. It does not distinguish itself from near-siblings like wf_document_with_files or wf_document_metadata, which retrieve adjacent detail for the same resource.

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 use this versus wf_document_with_files, wf_document_metadata, or wf_document_properties, and no stated prerequisites. A one-word retrieval phrase leaves the agent to infer selection criteria entirely from the name.

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