Skip to main content
Glama

Update or archive a person or group

dm.update_identity
DestructiveIdempotent

Update one identity by id: display_name, aliases, notes, email (admin humans only; explicit null clears email or notes) and archive/reactivate (status with confirm=true after the user agrees). All requested fields apply together or not at all. expected_display_name guards against overwriting a concurrent rename. Requires the delegated human's OAuth grant and a workspace role that permits the change.

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": {
      "identity_id": "<identity_id>"
    },
    "name": "dm.update_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoPerson only; needs a human who may manage members. Explicit null clears.
notesNoExplicit null clears.
statusNoarchived or active (reactivate). Requires confirm=true.
aliasesNo
confirmNoMust be true to archive or reactivate.
identity_idYes
display_nameNo
expected_display_nameNoOptimistic check: fail with expected_name_mismatch unless the current name matches.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses atomicity ('all requested fields apply together or not at all'), the explicit-null clearing semantics, the confirm gate on status changes, the optimistic-concurrency failure mode, and the authorization prerequisites (delegated OAuth grant plus a workspace role). These are exactly the behavioral facts an agent needs before invoking a destructive mutation.

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?

The mutation surface is front-loaded in the first clause and every subsequent sentence adds a non-obvious constraint; there is little filler. The opening sentence is dense enough that it takes a second pass to parse, but no content could be removed without losing agent-relevant information.

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 an 8-parameter destructive mutation with no output schema, the description covers atomicity, authorization, confirmation, and concurrency well enough to call it correctly. The only real omission is any hint about what the call returns or how partial-field conflicts are surfaced beyond the named expected_name_mismatch error.

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

Parameters4/5

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

Schema coverage is 63%, and the description meaningfully fills the gaps: it explains the interaction between status and confirm, the purpose of expected_display_name as a rename guard, and that null on email/notes clears rather than ignores a value. It does not cover aliases limits or the identity_id requirement, leaving slight room above the schema baseline.

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?

The description states a specific verb and resource ('Update one identity by id') and enumerates the mutable fields (display_name, aliases, notes, email, status/archive). It is clearly distinguishable from read-side siblings like dm.search_identities, though it does not name any sibling explicitly and the title's 'person or group' is not reflected in the body, which speaks only of 'identity'.

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 concrete conditions: email requires an admin human, archive/reactivate requires confirm=true 'after the user agrees', and expected_display_name is for guarding a concurrent rename. It never points to an alternative tool (e.g. for locating an identity_id or for group membership via dm.set_group_member), so the when-not guidance is incomplete.

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