Skip to main content
Glama
APIBridge MCP Server
by chandru20

update_user

Modify an existing user's profile fields such as email, username, name, and password by ID, with optional context loading and response saving.

Instructions

Update a user

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe ID of the resource to modify
dataNoRaw data object to send in the request body (alternative to individual fields)
emailNo
lastNameNo
passwordNo
usernameNo
firstNameNo
fromContextNoLoad data from context using this key
queryParamsNoQuery parameters to include in the request
saveToContextNoSave the response to context with this key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden. It says nothing about mutation effects, partial-update semantics, permission requirements, password-change side effects, or reversibility, and the presence of a password field makes that silence notable.

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

Conciseness2/5

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

It is short, but that shortness is under-specification rather than economy. The single phrase adds no information over the title and wastes the one chance to state scope.

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

Completeness1/5

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

For a ten-parameter mutation tool with nested objects, no annotations, no output schema, and undocumented context-loading parameters, a three-word description leaves an agent unable to invoke it safely or correctly.

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

Parameters1/5

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

Ten parameters with only 50% schema description coverage would need the description to compensate, but it names none of them. Nothing is said about the id, the individual field overrides, the data/fromContext/queryParams/saveToContext control parameters, or how they interact.

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

Purpose2/5

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

"Update a user" restates the tool name with no added specificity: it doesn't say which user attributes can change, whether it's a full or partial update, or how it differs from siblings like create_user or delete_user. The verb+resource is discernible only because the name already gives it away.

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

Usage Guidelines1/5

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

There is no guidance at all about when to use this versus create_user, delete_user, or get_user, and no mention of prerequisites such as needing an existing id. An agent must infer everything from the name alone.

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