Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_with_files

Create a wflow document from uploaded PDFs, ISDOC files, or images by sending each file base64-encoded; wflow extracts the data for you.

Instructions

Create a document from uploaded files (PDF, ISDOC, images); wflow extracts the data. Pass each file's content base64-encoded.

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": {
      "files": "<files>"
    },
    "name": "wf_document_with_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles to upload as the document's attachments
typeIdNoDocument type ID
invoiceTypeNoInvoice type
organizationNoOrganization workspace name (uses default if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the mutation profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), and the description adds real context beyond them: accepted file formats and the important non-obvious behavior that wflow itself extracts the data from the files server-side. It stops short of mentioning size limits, auth requirements, or failure handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two sentences, no filler, with the core action and accepted formats front-loaded and the encoding requirement stated last as an imperative instruction.

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?

For a create operation with no output schema, the description never indicates what the caller receives back (e.g., a document ID or extraction result), which matters for chaining follow-up calls. The rich input schema and annotations compensate for most other gaps, leaving this as the main omission.

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 the schema already documents files, fileName, contentType, contentBase64, typeId, invoiceType, and organization. The description only restates the base64 requirement for file content and says nothing about how typeId, invoiceType, or organization affect the created document.

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 gives a specific verb and resource ('Create a document from uploaded files') and enumerates accepted formats (PDF, ISDOC, images). It is clearly distinguishable from list-oriented siblings like wf_document_files, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'from uploaded files' plus the base64 instruction, so an agent can infer this is the entry point for turning file content into a document. However, there is no explicit when-to-use/when-not guidance and no mention of related tools such as wf_document_files or wf_storage_files.

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