Skip to main content
Glama

Remove chat identity

stack_remove_chat_identity
Destructive

End a bound chat identity at once: it can no longer approve anything, and its open prompts stop working. Only narrows who can approve. Operator only (owner or admin).

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": "stack_remove_chat_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
identity_idYesThe chat identity id (cid_*), from stack_get_chat_channels

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes further: it discloses the exact blast radius (approval rights revoked, in-flight prompts invalidated), that the change is strictly narrowing, and that operator-level auth is required. It stops short of stating whether the identity record is deleted versus merely unbound and whether the action is reversible.

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 sentences, front-loaded with the action and its effect, with no padding. The clause 'Only narrows who can approve' is slightly cryptic and would read better as a plain guarantee of no privilege escalation.

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 one-parameter destructive tool with no output schema and annotations covering the safety profile, the description supplies what an agent needs: scope of effect, auth requirement, and the note that the change only removes capability. Reversibility and what happens to the underlying identity record are the only meaningful gaps.

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 single parameter already documents the cid_* pattern and its source ('from stack_get_chat_channels'). The description adds no additional meaning about the identifier, so the baseline 3 applies.

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?

States a specific verb and resource ('End a bound chat identity') plus the immediate consequence ('it can no longer approve anything, and its open prompts stop working'). 'Bound chat identity' is a precise scoped object that separates it from generic identity-removal siblings such as stack_remove_workload_identity, though no sibling is named.

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?

Provides a precondition ('Operator only (owner or admin)') and the intent ('Only narrows who can approve'), which tells an agent this is a permission-reducing action. It gives no explicit when-to-use versus alternatives such as stack_revoke_identity_claim or stack_remove_workload_identity, and no when-not-to-use guidance.

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.