Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

List Own Secret Server Sessions

list_secretserver_user_sessions
Read-only

Lists the signed-in account's own Secret Server sessions with skip/take paging so you can review active sessions without seeing other users' sessions.

Instructions

List the signed-in account's own Secret Server sessions.

The endpoint returns only the current user's sessions, not other users'.

Calls GET /api/v1/users/sessions paged by skip and take (capped at 500); total and hasNext in the response show whether more remain. 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": "list_secretserver_user_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
skipNo
takeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so safety is covered; the description goes beyond by disclosing the paging model ('paged by skip and take (capped at 500)') and how the response signals more data via 'total' and 'hasNext'. The one gap is that it doesn't say what a session object contains or whether sessions can be revoked from here.

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

Conciseness5/5

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

Three tight sentences: purpose and scope first, then the paging contract, then the reference link. Every sentence carries information an agent cannot get from the schema, and nothing is repeated from the title or annotations.

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 two-parameter read-only list tool with no output schema, the description covers scope, endpoint, paging, and response continuation signals. It stops short of five only because item-level return shape is undocumented, though with no output schema that omission is tolerable.

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%, and both parameters (skip, take) are bare integers with only defaults in the schema, so the description carries the burden. It does name both parameters and explain their paging role plus the 500 cap, which is meaningful, but it never clarifies units, whether take defaults to 50, or what happens when take exceeds 500 (clamped vs error).

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 opens with a specific verb and resource ('List the signed-in account's own Secret Server sessions') and pins the scope further with 'returns only the current user's sessions, not other users'. Nothing in the sibling list is a competing session-listing tool, so no explicit sibling contrast is needed, but it also stops short of naming the API resource shape an agent would compare against.

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 scope statement implicitly tells the agent this is not for enumerating other users' sessions, which is useful when-not guidance. However, it never states when an agent should call this (e.g., to audit the calling account's active logins) nor points to any alternative for administrative session listing, so usage is inferred rather than stated.

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