Skip to main content
Glama

update_role_permission

Updates CloudStack role permissions by setting allow or deny rules and reordering rule IDs for a specified role.

Instructions

Update role permission order or permission

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": {
      "roleid": "<roleid>"
    },
    "name": "update_role_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleidYesRole ID
ruleidNoRule ID to update
ruleorderNoComma-separated ordered list of rule IDs
permissionNoPermission (allow, deny)

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?

With no annotations, the description carries the full behavioral burden and discloses almost nothing. It does not say whether the update replaces or merges existing ordering, whether changes are reversible, what privileges are needed, or which fields must be supplied together.

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?

It is a single short sentence with no padding, which is structurally sound, but the terseness comes at the cost of specification rather than being efficient compression. The 'order or permission' construction is ambiguous rather than dense with meaning.

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 four-parameter mutation tool with no annotations and no output schema, the description is far too thin. An agent cannot determine required field combinations, side effects, or return behavior from either the description or structured metadata, leaving real gaps before invocation.

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 all four parameters (roleid, ruleid, ruleorder, permission) are already documented in the schema, making 3 the baseline. The description adds only a weak hint that order and permission are the updatable aspects, without clarifying that ruleid identifies the target rule or that ruleorder accepts a comma-separated list.

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 verb 'Update' and resource 'role permission' are explicit, and 'order or permission' hints at the mutable fields, so an agent knows this mutates an existing role-permission link rather than creating or deleting one. However, the phrasing is clumsy and circular ('permission order or permission'), and it never distinguishes itself from the adjacent create_role_permission / delete_role_permission siblings.

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 at all: nothing says whether this applies only to existing rule assignments, whether it requires prior create_role_permission, or when to pick it over update_role. The word 'or' implies a choice between two modes but leaves the agent to infer the condition.

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