Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_user_save

DestructiveIdempotent

Add or update an organization user by email login, replacing roles, teams, and document-type permissions when provided.

Instructions

Add a user to the organization or update an existing one, matched by login (e-mail). roles, teams and documentTypes replace the user's current assignments when given.

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": {
      "login": "<login>"
    },
    "name": "wf_user_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
loginYesUser login (e-mail address)
rolesNoRole IDs to assign (replaces current roles)
teamsNoTeam IDs to assign (replaces current teams)
organizationNoOrganization workspace name (uses default if omitted)
documentTypesNoDocument type permissions (replaces current ones)
hasFullAccessNoGrant full access

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description earns credit for explaining why it is destructive by spelling out that roles, teams and documentTypes overwrite existing assignments rather than appending. It stops short of covering permissions required, what happens on brand-new users, or how an agent can tell a create from an update.

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 compact clauses with zero filler: the identity-matching rule comes first and the overwrite semantics second. Nothing is repeated and nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter upsert with full schema coverage and no output schema, the description supplies the one thing the schema cannot: that supplied collections are destructive replacements. The remaining gap is the return behavior, since there is no output schema and the description does not say whether a created or updated user is echoed back.

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 every parameter including the documentTypes permission enum is already documented, giving a baseline of 3. The description's replacement semantics largely restate the per-parameter 'replaces current roles/teams' notes, so it adds little meaning beyond the schema.

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 clear verb-plus-resource ('Add a user ... or update an existing one') and pins down matching by login/e-mail, which separates an upsert from the adjacent wf_user_delete and wf_user_info tools without naming them. It is specific enough that no schema read is required to know what the tool does, though it never explicitly contrasts itself with siblings.

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?

The 'matched by login' clause implies when the tool creates versus updates, and 'replace ... when given' implies that omitted fields are left untouched, which is real usage context. There is, however, no explicit when-to-use/when-not guidance, no prerequisite or permission information, and no pointer to alternatives such as wf_user_info for reading state first.

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