Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Get Roles

get_roles
Read-only

Lists Secret Server roles with optional paging or retrieves a single role by ID, so agents can inspect role assignments and access control.

Instructions

List Secret Server roles, or get one role by ID.

Calls GET /api/v1/roles, which has no name filter, paged by take (default 50, capped at 500) and skip; total and hasNext show whether more remain. With role_id, calls GET /api/v1/roles/{id}. Secret Server REST API reference: https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm

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

Input Schema

NameRequiredDescriptionDefault
skipNo
takeNo
role_idNo
include_inactiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries real weight here and delivers: it names the underlying REST endpoints, discloses the take cap of 500 with a default of 50, and explains that total and hasNext indicate whether more results remain. What it omits is how inactive roles are treated and any auth/scope requirements.

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?

The primary list/get distinction is front-loaded in the first sentence, with endpoint and pagination mechanics following. The long documentation URL adds little for an agent but is a single trailing line, so the text stays disciplined overall.

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?

With no output schema, it is useful that the description names the total and hasNext response fields so the agent can detect remaining pages. The missing include_inactive explanation is the one meaningful gap for a four-parameter read tool.

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 0%, so the description must supply parameter meaning and it only partly does: take (default 50, capped 500), skip, and role_id are all given context. include_inactive is never mentioned, leaving one of four parameters with no semantic guidance 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?

States a specific verb and resource ('List Secret Server roles, or get one role by ID') and names both REST endpoints, so the dual list/get mode is unambiguous. The 'Secret Server' qualifier implicitly distinguishes it from get_platform_roles and get_group_roles siblings, but it never explicitly says so, keeping it from 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?

The description makes the internal mode switch clear (list when role_id is omitted, single fetch when role_id is supplied) and outlines pagination mechanics. It gives no guidance on when to prefer this tool over sibling role tools like get_platform_roles or get_group_roles, so the alternative-selection picture is only implied.

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