Skip to main content
Glama

Algizian

Unlink identity

unlink_identity
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Remove one linked sign-in identity (see get_user for the identity ids) from a user. Refused with a conflict when it is the last one.

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": {
      "tenant": "<tenant>",
      "id": "<id>",
      "identityId": "<identityId>"
    },
    "name": "unlink_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesuser id
tenantYestenant slug
identityIdYesid of the linked sign-in identity, from get_user

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuine value beyond them by disclosing the required auth scope and the last-identity conflict refusal, but omits what the removal means for the user's access and whether it can be undone.

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?

Three short, front-loaded clauses — auth requirement, action, refusal condition — with no filler. The only mild inefficiency is splitting the auth prerequisite into its own parenthetical rather than folding it into the action sentence.

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?

An output schema exists so return values need no explanation, and the description covers the destructive nature, the auth scope, and the key failure mode. What remains thin is the consequence of unlinking (session/access impact) for a three-required-parameter mutation.

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 description coverage is 100%, so tenant, id and identityId are already documented, including that identityId comes from get_user. The description restates that provenance without adding format, constraint, or edge-case detail beyond the schema, making the baseline 3 appropriate.

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?

Uses a specific verb and resource ("Remove one linked sign-in identity ... from a user") with explicit scope of one identity per call, and points at get_user as the source of ids. It stops short of naming a contrasting tool (e.g. a link/add counterpart) but an agent can still tell exactly what is unlinked and from whom.

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

Usage Guidelines3/5

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

Gives the precondition ("Requires sign-in (scope orgs:manage)") and an operational guardrail (refused with conflict when it is the last identity), which is real guidance. However, it never frames when to use this versus alternatives or what to do instead when the last-identity conflict fires, so usage is only implied from the wording.

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