Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_save

Creates or updates a document in the wflow accounting platform, including partner, amount, date, and identifier details.

Instructions

Create or update a document

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wf_document_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoDocument ID (for update)
typeNoDocument type
numberNoDocument number
dueDateNoDue date (YYYY-MM-DD)
vatDateNoVAT date (YYYY-MM-DD)
currencyNoCurrency code (CZK, EUR, …)
issueDateNoIssue date (YYYY-MM-DD)
partnerICNoPartner IČ
externalIdNoExternal system ID (query param)
ignoreLockNoIgnore document lock
partnerVATNoPartner DIČ
descriptionNoDescription / note
partnerNameNoPartner name
setAsFilledNoMark as filled after save
totalAmountNoTotal amount
internalCodeNoInternal code
organizationNoOrganization workspace name (uses default if omitted)
constantSymbolNoConstant symbol
partnerAddressNoPartner address
specificSymbolNoSpecific symbol
variableSymbolNoVariable symbol

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the description needs to add the mutation-specific context — which it does not. Nothing is said about what happens on update without an id, what `ignoreLock` overrides, or whether `setAsFilled` changes document state; the description contributes zero behavior beyond the structured fields.

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?

Five words, front-loaded, with no filler — but the brevity is under-specification rather than economy for a 21-parameter mutation tool. There is no structure at all beyond the single clause.

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 tool with 21 parameters, a nested `type` object, create/update branching, lock-override and fill flags, and no output schema, a five-word description is far too thin. The rich schema rescues basic invocation, but nothing tells the agent about the create-vs-update decision or side effects on save.

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% with 21 documented properties, so the schema already carries full parameter meaning and the description adds nothing on top. Baseline 3 applies; a mention of how `id` and `externalId` drive create-vs-update would have raised it.

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?

"Create or update a document" gives a specific verb pair and resource, and the create/update duality is accurate for an upsert-style tool. It does not differentiate itself from siblings such as wf_document (read) or wf_document_delete, so an agent must infer the boundary from names alone.

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 or the type/register save tools, and no explanation that supplying `id` switches the call to update mode while omitting it creates a new document. Prerequisites (organization workspace, document type, locking) are left entirely to the schema.

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