Skip to main content
Glama

Update user

update_user
Idempotent

Update a user's display name, email, password, or role.

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": {
      "target_user_id": "<target_user_id>"
    },
    "name": "update_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo
emailNo
display_nameNo
new_passwordNoMin 6 chars.
target_user_idYes
tenant_role_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-destructive, idempotent, closed-world mutation, so the safety profile is covered. The description adds nothing beyond that: no permission/authorization requirements for changing another user's role or credentials, no note on whether password changes invalidate sessions, and no indication of which fields are cleared when omitted.

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 no filler. However, its brevity comes at the cost of substance rather than through efficient density, and the 'or role' enumeration sits alongside an undocumented tenant_role_id that could have been clarified in the same sentence.

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?

For a 6-parameter mutation tool with 17% schema description coverage and no output schema, the definition is too thin: the required identifier parameter and tenant_role_id are undocumented, and there is no mention of authorization scope, side effects, or response behavior. An agent could call it but would be guessing on two parameters and on whether role changes require elevated permissions.

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 coverage is 17%, so the description must carry parameter meaning, and it only partially does: it names display_name, email, new_password, and role, but omits the required target_user_id and the tenant_role_id parameter entirely. The relationship between 'role' and 'tenant_role_id' — a likely source of confusion given the enum on role — is left unexplained.

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 concrete verb + resource ('Update a user') and enumerates the mutatable fields (display name, email, password, role), so an agent knows exactly what the tool changes. It does not distinguish itself from near-siblings like set_user_password or update_my_profile, despite overlapping with the password field it advertises.

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 statement of when to use this tool versus alternatives such as set_user_password or update_my_profile, and no preconditions (e.g., admin privileges required to change another user's email or role). The only implied usage is 'you want to modify a user', which the name already conveys.

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.

Resources