Skip to main content
Glama

Get Session Status

srift_session_status
Read-onlyIdempotent

Retrieve current session details, including session ID, host/guest role, connection state, your user ID, pending join requests, and member user IDs, to manage access and membership.

Instructions

Get current session details: session { id, role (host/guest), connection state, your userId }, pending join requests (approve with srift_approve_join), and members with their userIds (remove one with srift_kick_user).

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": "srift_session_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
sessionNoThe active session (id is null when there is none)
peerCountNoNumber of connected sockets in the room (hosted endpoint)
participantsNoSession members: pass userId to srift_kick_user to remove one
pendingJoinsNoList of pending guest join requests waiting for host approval

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and non-openWorld, so the safety profile is covered. The description adds useful substance beyond that by naming the role values (host/guest), the connection-state field, and the fact that pending requests and member userIds are returned together in one payload.

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?

A single front-loaded sentence with the verb first, followed by a structured enumeration of the returned groups. No filler, no restatement of the title, and every clause conveys distinct content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no input parameters, a rich annotation set, and an output schema that carries the actual return shape, the description supplies everything the agent still needs: what the payload groups are and which sibling tools act on them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate; per the baseline, a 4 is appropriate. No parameter-related claims are made or needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Get') and resource ('current session details') and then enumerates the exact payload: session id, role, connection state, userId, pending join requests, and members. It also names the sibling tools that act on those sub-resources, so an agent can separate this read-only snapshot from srift_approve_join or srift_kick_user.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clarifies the agent's context for using it ('current session details') and routes follow-up work explicitly, e.g. approve pending join requests with srift_approve_join and remove a member with srift_kick_user. It gives no explicit when-not-to-use or exclusion, so it stops short of a 5.

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