Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_role_delete

DestructiveIdempotent

Delete a wflow role by its role ID to remove access permissions from a workspace. Use it when a role is no longer needed, optionally specifying the organization workspace.

Instructions

Delete a role (careful!)

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": {
      "roleId": "<roleId>"
    },
    "name": "wf_role_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleIdYesRole ID to delete
organizationNoOrganization workspace name (uses default if omitted)

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 destructiveHint=true, idempotentHint=true and readOnlyHint=false, so '(careful!)' merely restates the structured warning. The description adds nothing about side effects such as what happens to users or documents assigned to the role, whether deletion is reversible, or required permission level.

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?

The definition is extremely short and front-loaded, which is good, but the lone parenthetical '(careful!)' is filler that conveys no actionable information while the rest is under-specified. Brevity here borders on insufficient rather than efficient.

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 destructive mutation with no output schema and only two parameters, so the description could realistically cover the key risk facts. Instead it omits cascade effects, permission requirements, and irreversibility, leaving the agent to guess at the consequences of a destructive call.

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%: roleId is documented as 'Role ID to delete' with a UUID format and pattern, and organization notes the default behavior when omitted. The description adds no meaning beyond the schema, so the high-coverage 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?

The description uses a specific verb plus resource ('Delete a role'), so an agent can immediately tell what the tool acts on. It does not distinguish this from sibling deletion tools (e.g. wf_team_delete, wf_user_delete) or from wf_role_create/wf_role_update, but the resource noun is unambiguous.

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 about when to use this versus wf_role_update or other delete tools, no prerequisites (does the role need to be empty? does it need admin rights?). The parenthetical '(careful!)' signals caution but does not tell the agent under what conditions deletion is appropriate.

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