Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_doc_property_definition_save

Create or update document property definitions to manage custom fields, including type, visibility, editability, and display order.

Instructions

Create or update a document property definition

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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "wf_doc_property_definition_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoDefinition ID (for update; omit to create)
nameYesProperty name
showNoWhether to show the property
typeYesProperty type (e.g. text, number, date, select)
orderNoDisplay order
editableNoWhether the property is editable
organizationNoOrganization workspace name (uses default if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/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 mutation profile is covered structurally. The description adds no behavioral context beyond that—nothing about the create-vs-update branching effect, whether an existing definition's fields are overwritten, or any permission/scope requirements. It does not contradict the annotations, but it contributes little.

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 phrase with zero filler—appropriately sized for what it actually says. It is terse to the point of under-specification rather than padded, so it loses points only on completeness, not on wording.

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 7-parameter mutation tool with no output schema, the description leaves critical gaps: it does not explain the create/update branch semantics, what is returned or how the new definition's ID is surfaced, or how it relates to the delete/list siblings. The full-parameter schema carries most of the burden, but the description should do more for a write operation.

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 all seven parameters individually documented, including that 'id' is for update and omitted to create and that 'organization' falls back to a default workspace. The description adds no parameter meaning beyond the schema, so the baseline of 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 pair and resource: 'Create or update a document property definition.' An agent can tell this is an upsert-style mutation on doc property definitions, and 'document' implicitly distinguishes it from the file-property sibling, though the description never names that sibling for contrast.

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 when-to-use guidance at all: nothing says when to create versus update, what prerequisite permissions or workspace context apply, or why an agent would pick this over wf_file_property_definition_save or wf_doc_property_definition_delete. The read/list sibling wf_doc_property_definitions is also never referenced.

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