Skip to main content
Glama

Set user password

set_user_password
DestructiveIdempotent

Set a user's password directly.

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>",
      "new_password": "<new_password>"
    },
    "name": "set_user_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_passwordYes
target_user_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/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 the safety profile is covered structurally. The description adds nothing on top: it does not say whether existing sessions are invalidated, whether admin rights are required, or whether password policy rules are enforced, all of which matter for a destructive credential mutation.

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 single sentence is front-loaded and free of padding, which is good. But its brevity reflects under-specification rather than economy, since a destructive credential tool needs more than seven words.

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 destructive, security-sensitive mutation with no output schema and zero parameter documentation, the description leaves out authorization requirements, session invalidation behavior, and password constraints. An agent has only the annotations to reason about consequences.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden and provides no parameter information at all. It does not clarify whether target_user_id is an internal ID or an email, nor whether new_password must satisfy complexity rules or is rejected when identical to the current one.

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

Purpose3/5

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

The description names a specific verb and resource ('Set a user's password'), so the core action is unambiguous. However, the qualifier 'directly' gestures at a contrast with the sibling request_password_reset without ever stating it, and it never clarifies whether this is an admin override or a self-service action.

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 word 'directly' weakly implies this bypasses the normal reset flow, which is the only usage signal present. There is no explicit when-to-use, no named alternative such as request_password_reset, and no statement of prerequisites or required privileges.

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