Skip to main content
Glama

Update current user

update_current_user
Idempotent

Update the acting user's own name, metadata or settings; it never touches anyone else's account. Omitted fields are kept, but a provided metadata or settings object replaces the stored one whole. The email address cannot be changed here. Returns the updated account, shaped like get_current_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_current_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew display name. Omit to keep the current one.
metadataNoFree-form JSON object stored on the account. Replaces the whole stored object, so send every key to keep (read it with get_current_user first). Omit to leave it unchanged.
settingsNoThe user's own preferences as a JSON object. Replaces the whole stored object, so send every key to keep (read it with get_current_user first). Omit to leave it unchanged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (which only declare non-read-only, idempotent, non-destructive), it discloses the crucial non-obvious trait: metadata and settings are whole-object replacements, so partial sends silently drop keys, and it points to get_current_user as the read-before-write step. It also states the return shape, which is absent from any output schema.

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?

Three short clauses, front-loaded with the scope constraint, then the replacement caveat, then the return shape. Every sentence carries distinct information and nothing is redundant filler.

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

Completeness5/5

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

For a three-optional-parameter mutation with no output schema, the definition covers scope, omission semantics, the destructive-ish replace behavior, the excluded field, and the response shape by reference to get_current_user. An agent has everything needed to call it safely.

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 coverage is 100% and the per-parameter descriptions already explain omission and whole-object replacement, so the description largely restates what the schema provides. The one added fact is the excluded email field, which is not a parameter at all; baseline 3 applies.

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

Purpose5/5

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

"Update the acting user's own name, metadata or settings" names a specific verb, resource and the exact mutable fields, and immediately scopes it ("never touches anyone else's account"). That scope statement separates it from get_current_user and from the many update_* siblings that mutate other entities.

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 gives clear conditions: use it for the acting user only, omit fields to keep them, and email cannot be changed here. The only gap is that the email exclusion doesn't name the alternative tool, leaving the agent to infer where email updates belong.

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.

Resources