Skip to main content
Glama

ohmyho.st

Suspend Native Auth user

native_auth_user_suspend
DestructiveIdempotent

Suspend the selected user and revoke sessions.

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": {
      "project_id": "<project_id>",
      "environment_id": "<environment_id>",
      "user_id": "<user_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "native_auth_user_suspend"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
project_idYes
environment_idYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 covered. The description adds one valuable behavioral fact beyond annotations: sessions are revoked as part of the suspension. It does not say whether suspension is reversible, whether data is retained, or whether revoking sessions is immediate/all-or-nothing.

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?

A single front-loaded sentence with the destructive effect stated plainly and no filler. Its brevity is efficient, though it edges into under-specification rather than crispness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, irreversible-looking mutation with four required parameters and no output schema, the description is too thin. An agent learns nothing about the idempotency_key contract, the project/environment scoping, error behavior, or what state the user ends up in after suspension.

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

Parameters2/5

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

Schema description coverage is 0% across four required parameters, so the description carries the full burden and largely fails. 'The selected user' only loosely points at user_id; project_id, environment_id and especially the required idempotency_key (with its maxLength 128 constraint) get no explanation of meaning or expected format.

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: 'Suspend the selected user' plus the side effect of revoking sessions. It is distinguishable from native_auth_user_reactivate and native_auth_user_delete by name and wording, though it never explicitly acknowledges the overlap with native_auth_user_revoke_sessions.

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?

'Suspend' implies a temporary disable versus delete, which gives implied usage context against the sibling reactivate/delete tools. However, there is no explicit when-to-use guidance, no mention of how this differs from native_auth_user_revoke_sessions (which the description partially duplicates), and no prerequisites such as required permissions.

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.