Skip to main content
Glama

list_roles

Retrieve and filter CloudStack roles by ID, name, type, or keyword to inspect role assignments and access configuration.

Instructions

List roles

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRole ID
nameNoRole name
typeNoRole type
keywordNoSearch keyword

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure and delivers almost nothing. "List" weakly implies a read-only, non-mutating call, but nothing is said about pagination, result limits, ordering, or permission requirements.

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

Conciseness2/5

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

The text is short but that brevity comes from under-specification rather than deliberate concision. There is no structure or front-loaded scope to speak of since only two words are present.

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 tool with four optional filter parameters, no annotations, and no output schema, the description leaves everything about filtering behavior and returned fields unexplained. Only the schema descriptions prevent this from being unusable.

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 all four optional filters (id, name, type, keyword) documented in the schema, so the baseline of 3 applies. The description adds no filtering semantics such as whether filters are conjunctive or whether keyword is a substring search.

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

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List roles" merely restates the tool name in prose and adds no scope, no verb nuance, and no distinguishing detail from the many other list_* siblings. An agent learns only that some role objects are returned.

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 mention of alternatives, and no exclusions or prerequisites. The agent must infer usage solely 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