Skip to main content
Glama

provider_get_current_sessions

Read-onlyIdempotent

Lists all sessions for the current user with pagination so you can review active VCF Automation access.

Instructions

List all sessions for current user GET /cloudapi/1.0.0/sessions

Input Schema

NameRequiredDescriptionDefault
pageYesPage to fetch, zero offset.
pageSizeYesResults per page to fetch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered structurally. The description adds only the 'current user' scoping constraint; it says nothing about whether results are paginated (implied by the params), sorted, or what a session record contains. With annotations doing the heavy lifting, this is adequate but thin.

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 lines, front-loaded with the purpose, zero boilerplate. The REST path on the second line is redundant with the annotation title but is short and does reinforce the underlying endpoint.

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?

A simple read-only, paginated list tool with fully documented parameters and explicit annotations; the description covers purpose and scope sufficiently for correct invocation. No output schema exists, but the description needn't describe return shape for a GET list of a well-known resource.

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 100% — both 'page' (zero offset) and 'pageSize' are documented in the schema with defaults. The description adds nothing about pagination behavior or total-count handling, so baseline 3 applies.

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 all sessions for current user' — with a clear scope restriction (current user only), which is more than the name alone conveys. It doesn't explicitly distinguish itself from the very similarly named sibling provider_get_current_session (singular) or provider_post_1_0_0_sessions, so an agent must infer the difference from the name.

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 phrase 'for current user' implies this is the tool for enumerating one's own sessions, but there is no explicit guidance on when to prefer it over provider_get_current_session or provider_get_current_session_rights. Usage is inferable from the name and description rather than stated.

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

Deploy Server

Other Tools