Skip to main content
Glama

Update user resource.

update_user

Updates a user's profile details such as name, email, phone and status. Use it when the signed-in user needs to change their own account information.

Instructions

This can only be done by the logged in 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
bodyNo
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only one trait: caller-scoped authorization. It is silent on whether the update is partial or a full replacement of the User object, what happens to omitted fields (e.g., password), whether username itself can be changed, and whether the operation is reversible.

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?

A single short sentence with no filler, but it is under-specified rather than concise — the one sentence spends its words on an auth note while omitting core semantics. Structure is fine; content density is low for a mutation tool.

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 write operation with no annotations, no output schema, and zero schema description coverage, one sentence about login state is far short of what an agent needs. Missing are update semantics (partial vs full), the meaning of the username parameter, and any notion of the response.

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% for two parameters, so the description must compensate, and it does not — neither the required 'username' path parameter nor the User body object is mentioned. An agent cannot tell from the description whether 'username' identifies the target user or conflicts with the body's username field.

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 name and title ('Update user resource') supply the verb and resource, but the description sentence itself never says what the tool does — it only states an authorization precondition. Nothing distinguishes it from siblings like create_user or delete_user beyond the name.

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?

'This can only be done by the logged in user' is a prerequisite, not usage guidance: it does not say when to choose this tool over create_user or get_user_by_name, nor whether it targets the caller's own record or an arbitrary user. The auth constraint is the only routing-relevant information given.

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