Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_approval_template_save

Create or update an approval template by defining its name and team-based approval steps, so documents follow the correct approval sequence.

Instructions

Create or update an approval template

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>"
    },
    "name": "wf_approval_template_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoTemplate ID (for update; omit to create)
nameYesTemplate name
teamsNoApproval steps as a JSON array of {"teamId": "<team UUID>", "level": <step number, 1-based>}
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=false, idempotentHint=false and destructiveHint=false, so the description's job is to add upsert-specific context, and it adds none. It does not say whether supplying an id overwrites the existing template wholesale, whether the 'teams' steps are replaced or merged, or whether creating with a duplicate name fails. For a non-idempotent create-or-update mutation these are material gaps.

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 zero filler, so nothing is wasted. The terseness is efficient but leaves no room for the semantics that would actually help an agent, which keeps it from a 5.

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?

This is a four-parameter mutation tool with no output schema and no annotations describing update semantics, so the description should explain what an update replaces and what comes back (e.g. the created template id). It supplies none of that, leaving an agent to guess how to safely perform an upsert.

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 key id-vs-create distinction and the JSON shape of 'teams', so the schema carries the parameter burden. The description adds no meaning beyond that, which is the baseline-3 case.

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 pair (create or update) and a specific resource (approval template), which already separates it from the sibling list/info/delete tools. It stops short of naming a sibling or spelling out the upsert condition, so it is clear but not maximally differentiated.

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 tool versus wf_approval_template_info or wf_approval_templates, and no mention of prerequisites such as needing to look up an existing template id first. The only usage signal — 'omit id to create' — lives in the schema, not the description.

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