Skip to main content
Glama
OnlyDNS MCP Server

OnlyDNS MCP Server

Official
by Onlydns

deactivate_user

Deactivate a portal user by ID to revoke access and prevent further account use. Provide the user ID to disable the account.

Instructions

Deactivate a portal user.

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": {
      "userId": "<userId>"
    },
    "name": "deactivate_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesUser ID to deactivate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.7

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and delivers almost none: it does not say whether deactivation is reversible, what happens to the user's sessions, records, or tokens, or what permissions are required. For a state-changing administrative operation this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence is well front-loaded with zero padding, but it is under-specified rather than tight — the brevity comes at the cost of information the agent needs for a destructive-style operation.

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?

A mutation tool with no annotations, no output schema, and no disclosure of side effects or reversibility leaves the agent guessing about consequences. Given the low complexity, a sentence on effects and required permissions would have made it adequate.

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% and the single required userId is documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond it, such as accepted ID formats (numeric vs. UUID) or whether it accepts a username.

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?

"Deactivate a portal user" gives a specific verb and resource, and the verb distinguishes it from the read/invite siblings (get_user, invite_user, list_users). It stops short of contrasting with a hard-delete path or stating what deactivation entails, so it is clear but not fully differentiating.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as removing vs. merely deactivating a user. The agent must infer the appropriate context entirely from the tool name.

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