Skip to main content
Glama

list_role_assignments

Retrieve role assignments, optionally filtered by user or project, to audit OpenStack Keystone identity permissions without changing state.

Instructions

List role assignments, optionally filtered by user or project.

Service: Keystone (identity). Read-only. Does not mutate state.

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_role_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
markerNo
role_idNo
user_idNo
project_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With zero annotations, the description carries the full burden, and it does supply the most important piece: the Keystone identity service ownership and an explicit 'Read-only. Does not mutate state.' safety profile. However, it says nothing about result volume or pagination behavior despite limit/marker parameters existing, which is a meaningful gap for a listing tool that could return large collections.

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

Conciseness4/5

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

It is short and front-loads the core action, with service and safety context trailing in a compact fragment style. 'Read-only' and 'Does not mutate state' are near-redundant, costing a small amount of space but not harming comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value documentation is unnecessary, but for a 5-parameter listing tool with no annotations and no schema descriptions, the definition should say more about pagination and about how the filter parameters combine. What is present is accurate but leaves real invocation decisions to guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 5 parameters, so the description must compensate and largely does not. It explains only that user and project filtering exist (without clarifying user_id vs project_id semantics or mutual exclusivity) and never mentions role_id, limit, or marker, leaving three parameters with no semantic explanation anywhere.

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 names a specific verb and resource ('List role assignments') and notes an optional filter dimension, which distinguishes it from the adjacent list_roles sibling well enough to select correctly. It stops short of explicitly contrasting itself with list_roles or list_users, which is why it is not a 5.

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

Usage Guidelines3/5

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

It states the primary use case (optionally filtered by user or project), which implies when to reach for it, but gives no explicit when-not conditions, no mention that unfiltered calls return all assignments, and no guidance on choosing between user_id and project_id scoping.

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