Skip to main content
Glama
severalnines

@severalnines/ccx-admin-mcp

Official
by severalnines

Suspend user

ccx_admin_suspend_user
DestructiveIdempotent

Suspend a CCX user account to block login and datastore access, recording a reason. Reversible with unsuspend; blocked while protection mode is active.

Instructions

Suspend a CCX user so they can no longer log in or use their datastores. Reversible with ccx_admin_unsuspend_user. Blocked while protection mode (CCX_PROTECT) is on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYesReason recorded with the suspension
user_idYesUser UUID (see ccx_admin_list_users)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint and destructiveHint, and the description adds valuable context: the effect on login/datastore access, reversibility, and the protection-mode failure condition. No contradictions with annotations.

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?

Two sentences with no filler. The core action and consequence come first, followed by reversibility and the protection-mode constraint, all front-loaded and necessary.

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 simple two-param admin action with full schema coverage and meaningful annotations, the description covers purpose, effect, reversibility, and a precondition. Nothing essential is missing for an agent to invoke it correctly.

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 both user_id and reason are already fully documented in the schema. The description adds no parameter-specific meaning beyond the schema, so the baseline of 3 is appropriate.

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?

The description states a specific verb and resource: 'Suspend a CCX user' with a concrete consequence ('no longer log in or use their datastores'). It also names the reversing sibling (ccx_admin_unsuspend_user), making the tool's role distinct from delete_user.

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?

The description gives clear context: it is reversible via ccx_admin_unsuspend_user and is blocked while CCX_PROTECT is active. It does not explicitly contrast with permanent deletion via ccx_admin_delete_user, but the reversibility note implies the appropriate use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.