Skip to main content
Glama

lock_account

Locks a CloudStack account by account name and domain ID to prevent access and account use until unlocked.

Instructions

Lock an account

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": {
      "account": "<account>",
      "domainid": "<domainid>"
    },
    "name": "lock_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount name
domainidYesDomain ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about what 'lock' entails. It does not say whether the change is reversible, whether sessions or logins are terminated, whether the account's data is preserved, or what permissions are required for a mutation.

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?

The description is a single short phrase with no wasted words, but its brevity reflects under-specification rather than disciplined conciseness. It is front-loaded but contains no substantive information beyond the tool name.

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 an unannotated state-changing tool with no output schema, the description is far too thin to be complete. An agent cannot determine the semantics, side effects, or reversibility of locking an account from these three words.

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% with both parameters (account, domainid) documented in the schema, so the baseline of 3 applies. The description adds no additional meaning about formats, scoping, or whether domainid must match the account's owning domain.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/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 ('Lock an account'), so the basic action is identifiable. However, it is essentially a restatement of the tool name and offers nothing to distinguish it from siblings such as disable_account or delete_account, which plausibly overlap with locking.

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 guidance on when to lock versus disable, delete, or remove an account, and no stated preconditions. The agent is left to infer the distinction from sibling names alone, which the description does nothing to resolve.

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

Deploy Server

Other Tools