Skip to main content
Glama

Link a person to an existing workspace member

dm.link_identity_user
DestructiveIdempotent

Link a PERSON identity to an EXISTING ACTIVE member of this workspace by user_id, or unlink it. Requires confirm=true after the user agrees, the delegated human's OAuth grant and a workspace role that may manage members. It never creates a user, invitation, membership, role or grant, and an email match is never a link.

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>",
      "action": "<action>"
    },
    "name": "dm.link_identity_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
confirmNoMust be true after the user agrees; linking never grants a role or access.
user_idNolink only: the user id of an existing active member of THIS workspace.
identity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds material context they cannot express: the confirmation handshake, the delegated OAuth grant requirement, the required workspace role, and the explicit set of side effects it does NOT perform. It stops short of describing what unlinking revokes, leaving that to the destructive annotation.

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?

Two dense sentences, front-loaded with the core action and followed by prerequisites and exclusions; no filler. The all-caps emphasis on PERSON and EXISTING ACTIVE is slightly heavy-handed but serves disambiguation.

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 destructive, confirm-gated mutation with no output schema, the description covers purpose, preconditions, authorization needs, and non-effects. Minor gaps remain around return behavior and what unlinking removes from the member, but nothing an agent needs to decide to call it is missing.

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 50% (confirm and user_id documented, action and identity_id not), so the description must compensate and largely does: user_id is link-only and must reference an existing active member of THIS workspace, confirm must be true only after user agreement, and identity_id is scoped to PERSON identities.

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?

States a specific verb and resource (link/unlink a PERSON identity to an existing active workspace member) and scopes it by user_id. The negative clause 'never creates a user, invitation, membership, role or grant' implicitly separates it from identity-creation siblings such as dm.ensure_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?

Gives clear preconditions for use: confirm=true after the human agrees, a delegated OAuth grant, and a member-managing workspace role. It also rules out the tempting wrong path ('an email match is never a link'), though it does not name an alternative tool for the create-a-user case.

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