Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Add Roles to Group

add_group_roles
Idempotent

Assign role IDs to a Secret Server group by group ID, updating its permissions so members receive the intended access.

Instructions

Assign roles to a Secret Server group.

Calls POST /api/v1/groups/{id}/roles with {"roleIds": [...]}. 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

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": {
      "group_id": "<group_id>",
      "role_ids": "<role_ids>"
    },
    "name": "add_group_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes
role_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false; the description adds the concrete endpoint and request body, which is useful corroboration. However, it never says whether existing roles are preserved or replaced by the POST, nor what permissions the caller needs or what happens with invalid role IDs — the key behavioral question for this mutation.

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?

The core sentence is front-loaded and tight, but the trailing documentation URL and blank-line formatting add bulk without helping an agent decide or invoke correctly.

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?

For a two-parameter mutation with annotations and no output schema, the definition covers the call mechanics but omits the add-vs-replace semantics and error/permission behavior. It is adequate to invoke, not fully complete.

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 compensate. The endpoint template and payload snippet do clarify that group_id goes in the path and role_ids is sent as "roleIds", which is real added value, but it gives no hint about accepted ID ranges or where valid role IDs are discovered.

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 gives a specific verb+resource: "Assign roles to a Secret Server group," which cleanly separates it from add_user_roles and remove_group_roles. It stops short of explicitly naming alternatives, so it lands at 4 rather than 5.

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 or when-not-to-use guidance, no prerequisites (e.g., group must exist, role IDs must come from get_roles), and no mention of how this differs from add_user_roles or remove_group_roles. Only the surface intent is implied.

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