Skip to main content
Glama

delegaize_user_roles_set

DestructiveIdempotent

Change a member's roles in THIS tenant WITHOUT sending any email (admins only; ticket 86a7b144). Identify the person by user_id or email. role = DelegAIze role (admin|planner|viewer|caller); product_roles = object product → admin|planner|viewer (e.g. {"nodem": "admin", "tenderaize": "admin"}), null or {} = every product with the DelegAIze role. Pass either or both. Products: nodem, tenderaize, bookaize, supportaize, ernteapp, verain, complaiance, coachaize, excelaize, taufnaus, dealeraize. The products pick up the new role at next sign-in or via the sync. Refuses to remove your own admin role or the last admin of the tenant. To send the invitation email use delegaize_user_invite.

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": "delegaize_user_roles_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoNew DelegAIze role: admin, planner, viewer or caller
emailNoEmail address
user_idNoID of the user
product_rolesNoRole per product (admin, planner, viewer); null or {} = DelegAIze role everywhere

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / email / description
      Added value: +"Email address"
    • addedInput schema / properties / product_roles / description
      Added value: +"Role per product (admin, planner, viewer); null or {} = DelegAIze role everywhere"
    • addedInput schema / properties / role / description
      Added value: +"New DelegAIze role: admin, planner, viewer or caller"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare mutation with destructiveHint=true, idempotentHint=true; the description goes well beyond them by disclosing that no email is sent, that product roles only take effect at next sign-in or via sync, and that removing one's own admin role or the last tenant admin is rejected. These are exactly the side-effect and safeguard facts an agent cannot get from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and the no-email constraint, and dense with useful detail. It is slightly run-on with stacked parentheticals and an internal ticket reference ('ticket 86a7b144') that adds no value for an agent.

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?

Covers scope, prerequisites, parameter formats, propagation timing, and refusal conditions, which is substantial for a destructive mutation tool with no output schema. It does not say what the call returns on success, though with no output schema that gap is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above that by giving a concrete product_roles object example, clarifying that null or {} applies the DelegAIze role to every product, and enumerating the valid product keys. It also states 'pass either or both' for role vs product_roles, which the schema does not express.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('change a member's roles') scoped to 'THIS tenant' and to admin actors, then explicitly contrasts with delegaize_user_invite for the email path. An agent can pick this over the invite sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use this (role changes without email) and routes the email case to delegaize_user_invite. It also states the prerequisite ('admins only') and two exclusion cases it will refuse, so the agent knows when not to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.