Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

reset_user_password

Destructive

Set a new password for a user account through the ChemInventory API, for accounts not using single sign-on (SSO).

Instructions

Set a new password for a user (not for SSO accounts).

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": {
      "user_id": "<user_id>",
      "password": "<password>"
    },
    "name": "reset_user_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
passwordYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is conveyed structurally. The description adds the SSO exclusion but says nothing about the consequences of a destructive credential reset: whether the old password is invalidated immediately, whether active sessions are revoked, or what permissions are required. For a destructive mutation that overwrites credentials, that gap matters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

A single short sentence with the scope qualifier placed immediately after the core action. There is no filler, and the most important constraint is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the parameter set is small. Still, for a destructive credential operation the definition leaves out permission requirements, session/old-password consequences, and password policy that an agent should surface before invoking it.

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 must carry the burden for user_id and password, and it does not. It never explains what user_id identifies (local account id vs. external identifier) nor the password policy beyond the schema's bare minLength of 8, such as whether a forced change on next login 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+resource pair, 'Set a new password for a user', which unambiguously identifies the operation. However, it does not name or contrast with any sibling tool such as update_user, so an agent must infer that this is the credential-specific path rather than the general update path.

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

Usage Guidelines4/5

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

It supplies a clear when-not condition: '(not for SSO accounts)', which routes the agent away from this tool for federated identities. It stops short of naming an alternative tool or stating prerequisites, so it is strong context but not full when/when-not/alternatives coverage.

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