Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

update_project_user_role

Change a user's role within a project by specifying the project ID, user ID, and new role; use it to adjust access permissions.

Instructions

Update a user's role within a project.

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": {
      "projectId": "<projectId>",
      "userId": "<userId>",
      "role": "<role>"
    },
    "name": "update_project_user_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesNew role (e.g. 'project:admin', 'project:editor', 'project:viewer')
userIdYesUser ID
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and does not meet it. It omits whether elevated permissions are required to change roles, whether the target user must already be a member, whether the change takes effect immediately, and whether it can be reverted. For a privilege-affecting 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. It is arguably too terse for a permission-sensitive mutation, but under-specification is captured elsewhere rather than penalized here.

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?

The tool is a three-required-parameter write operation with no annotations and no output schema, meaning the description must convey the full contract. It does not cover permission requirements, membership preconditions, valid role values beyond schema examples, or error behavior, so it is not complete enough given the tool's complexity.

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 role, userId, and projectId all documented and role's examples given in the schema itself. The description adds no meaning beyond that, 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 and resource: updates a user's role scoped to a project. An agent can grasp the operation immediately, but the description does not distinguish it from closely named siblings such as add_project_users or remove_project_user, which also manipulate project membership.

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 appears beyond the implied 'change an existing member's role'. It does not say whether the user must already be a project member (versus using add_project_users for new members), nor when to prefer remove_project_user instead of downgrading a role.

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