Skip to main content
Glama

delete_role

Permanently removes a CloudStack role by its ID to revoke access permissions and clean up user management.

Instructions

Delete a role

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": {
      "id": "<id>"
    },
    "name": "delete_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRole ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.8/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 entire burden for describing behavior on a destructive operation. It never says whether deletion is irreversible, what happens to permissions and users bound to the role, whether elevated privileges are needed, or what a successful or failed call returns.

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?

Three words contain no filler, and the key action is front-loaded, but the description is too short rather than too long. It is minimally readable, not helpful, and it omits every sentence that would make the definition useful.

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?

This is a destructive, irreversible operation with no annotations and no output schema, and the description should therefore say what is destroyed and what constraints apply. It says none of that, so the definition is materially incomplete for the risk involved.

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?

The parameter coverage is 100% ('id': 'Role ID'), and the single required parameter is fully documented in the schema. The description adds nothing beyond that, nor does it need to, since the schema already defines the only input.

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?

The description states a specific verb and resource ('Delete a role'), which is enough to tell it apart from create_role and update_role by the action alone. It does not, however, distinguish it from delete_role_permission, which sits right next to it in the sibling list.

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 at all about when to use this tool, what preconditions must hold (e.g., a role can only be deleted when it has no assigned permissions or users), or what to do instead when deletion is refused. The agent has to infer all of this from the name.

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