Skip to main content
Glama

Read AI session status

get_ai_session_status
Read-onlyIdempotent

Reads the independent state for one chat/tab, including heartbeat/activity ages, pending and failed command counts, target computer, and idle-monitoring state.

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": {
      "ai_session_id": "<ai_session_id>"
    },
    "name": "get_ai_session_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
ai_session_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds that the state is 'independent' per chat/tab and that it exposes staleness signals (heartbeat/activity ages), which is useful context, but says nothing about behavior for an unknown or ended session id.

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?

A single front-loaded sentence with no filler, and the scope constraint ('one chat/tab') comes before the field list. The trailing enumeration is slightly dense but each item names distinct state an agent would look for.

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?

With an output schema present, the description need not explain return values, and annotations cover the safety profile for this single-parameter read. Scope and contents are covered; the only meaningful gap is guidance on selecting this tool versus its status-related siblings.

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 single 'ai_session_id' parameter is undocumented in the schema itself. The description partially compensates by clarifying that the id identifies 'one chat/tab', but it never states the expected format or where to obtain a valid id (e.g., from start_ai_session or agent_list).

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 ('Reads') and resource ('independent state for one chat/tab'), and enumerates the state contents (heartbeat/activity ages, pending and failed command counts, target computer, idle-monitoring state). That enumeration separates it from siblings like get_ai_session_recent_actions and agent_status, though no sibling is named explicitly.

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?

Usage is only implied: an agent can infer this is the tool for inspecting a session's current condition versus its history or its agent task status. It never says when to prefer this over get_ai_session_recent_actions, agent_status, or ai_session_heartbeat, and gives no prerequisites or exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources