Skip to main content
Glama

Change password

change_password
Destructive

Set a new password. Accounts that already have one must also pass currentPassword.

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": {
      "newPassword": "<newPassword>"
    },
    "name": "change_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
newPasswordYesAt least 8 characters
currentPasswordNoRequired if a password is already set

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the agent knows this is a mutating, non-repeatable operation. The description adds the authentication precondition for existing accounts, which is real behavioral context beyond the annotations, but it never says whether the old password stops working immediately or whether active sessions are invalidated.

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?

Two short sentences with the core action front-loaded and the conditional requirement second. The second sentence largely duplicates the schema's currentPassword description, which is a minor redundancy rather than wasted space.

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?

For a two-parameter mutation with no output schema, the description covers the action and the conditional auth requirement. It omits what a failure looks like (wrong current password) and any side effects such as session invalidation, which matter for a destructive credential change.

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%: the schema already states the 8-character minimum and that currentPassword is required if a password is set. The description restates the currentPassword condition without adding format, validation, or error behavior beyond the schema, so the baseline 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?

"Set a new password" gives a specific verb and resource, which is unambiguous about the operation. It does not need sibling differentiation since no sibling tool in the catalog touches credentials, but it also names no alternative path.

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 description states the conditional precondition for currentPassword ("Accounts that already have one must also pass currentPassword"), which is genuine when-to-use guidance. It does not cover what to do if the current password is unknown, nor mention any recovery or reset alternative.

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.