Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Get Platform Roles

get_platform_roles
Read-only

List Delinea Platform roles or retrieve a single role and its permissions by name to review access assignments and role details.

Instructions

List Delinea Platform roles, or get one role (with its permissions) by name.

Calls GET /permission/api/roles (roles whose name contains query; all roles when empty), one page at a time: page starts at 1 and page_size is capped at 500, and pager.total in the response is the number of matching roles. With role_name, calls GET /permission/api/roles/{name} instead. Platform Permission API reference: https://github.com/DelineaXPM/delinea-mcp/blob/main/docs/delinea-platform-permission-openapi-spec.json

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": "get_platform_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
queryNo
page_sizeNo
role_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description goes well beyond that: it discloses the underlying endpoints (GET /permission/api/roles vs /roles/{name}), substring matching on the query, 1-based paging, a 500 page_size cap, and that pager.total reports matching-role count. What it does not cover is the shape of a returned role entry in list mode or what happens if role_name does not exist.

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?

Front-loaded with the core action and mode split, then pagination facts, then a reference link. Every sentence carries information, but the inline rST-style double backticks and the wrapped endpoint paths make it visually noisier than necessary.

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

Completeness4/5

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

For a read-only, four-parameter, no-output-schema tool, this covers pagination, filtering semantics, and the two invocation modes, which is enough to call it correctly. The remaining gap is a brief note on the returned role object (fields, ordering) or behavior when role_name is not found.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden and does so for all four parameters: page starts at 1, page_size is capped at 500, query matches roles whose name contains it (empty returns all), and role_name switches to the single-role endpoint. Each parameter's meaning is unambiguous beyond the bare type/default in the schema.

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

Purpose5/5

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

States a specific verb and resource ('List Delinea Platform roles') plus a second, clearly delineated mode ('get one role (with its permissions) by name'). The 'Delinea Platform' scoping distinguishes it from the Secret Server-flavored siblings such as get_roles, get_group_roles and get_user_roles without the agent needing to open another schema.

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

Usage Guidelines4/5

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

The description makes the mode selection explicit: omit role_name to page through a filtered list, supply role_name to fetch a single role with permissions. It does not name a sibling as an alternative or state when to prefer get_platform_role_members or get_roles instead, so it stops short of full routing guidance.

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