Skip to main content
Glama

update_user

Idempotent

Change an existing camera user's password or enable/disable their account; the operation removes and re-adds the user internally.

Instructions

Update an existing user's password or enabled status. Internally removes and re-adds the user.

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

Input Schema

NameRequiredDescriptionDefault
enabledNoEnable or disable the account
passwordNoNew password
usernameYesUsername to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly=false, idempotent=true, destructive=false, so the description doesn't need to restate safety. It adds genuinely non-obvious behavior with 'Internally removes and re-adds the user,' which is the kind of implementation detail an agent should know. It stops short of saying what that re-add costs, such as lost group memberships, permissions, or active sessions, which is the remaining transparency gap.

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?

Two sentences, zero filler, and the scope statement comes first with the internal-behavior caveat immediately after. Every sentence earns its place.

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

Completeness4/5

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

For a three-parameter tool with full schema coverage and complete annotations but no output schema, this is nearly complete. The one omission is the practical consequence of the remove-and-re-add step, which the agent can't infer from any structured field, but it isn't enough to make the definition unusable.

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%, so the schema already documents username, password, and enabled. The description's phrase 'password or enabled status' adds a hint that the updates are alternative rather than required together, but nothing about value constraints or password policy. Baseline 3 applies when the schema does the heavy lifting.

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 ('Update an existing user') and narrows the scope to two fields, password and enabled status. An agent can distinguish this from create_user and remove_user without opening the schema, though no sibling is named explicitly.

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?

'Update an existing user' implies the precondition that the user must already exist, which is useful, but there is no explicit when-to-use vs. when-not guidance and no mention that create_user is the alternative for new accounts. Usage is left to inference.

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