Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Add User to Groups

add_user_to_groups
Idempotent

Add a Secret Server user to one or more groups by providing a user ID and group IDs through the DelineaMCP server.

Instructions

Add a Secret Server user to groups.

Calls POST /api/v1/users/{id}/groups with {"groupIds": [...]}. 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": {
      "user_id": "<user_id>",
      "group_ids": "<group_ids>"
    },
    "name": "add_user_to_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes
group_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

B3.2/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, so the safety profile is covered. The description adds value by exposing the underlying endpoint and payload, which hints that group IDs are appended rather than replacing all memberships. It says nothing about permission requirements or failure behavior when a group ID is invalid.

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?

Two short sentences with the operation front-loaded and the endpoint/payload detail second. The API reference URL is mostly filler but does not obscure the core statement.

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 simple two-parameter mutation with no output schema and full annotation coverage, the description plus annotations are nearly sufficient to call it correctly. The remaining gap is the ambiguity over whether existing group memberships are preserved, which the description never states outright.

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 coverage is 0%, so the description must carry parameter meaning. It does partially: the endpoint template maps user_id to the {id} path segment and the payload {"groupIds": [...]} maps group_ids to the array body. However, it gives no detail on whether group IDs must pre-exist or what happens to duplicate memberships beyond the idempotent hint.

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 states a specific verb and resource ("Add a Secret Server user to groups") and the verb alone distinguishes it from the sibling remove_user_from_groups. It does not explicitly name or contrast any sibling, so it falls short of 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 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 prerequisites (required permissions, whether the user and groups must already exist), and no reference to the removal counterpart for reversing the action. Usage is only implied by the verb.

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