Skip to main content
Glama

unimatrix_session_status

Get stats for an active MCP session: message count, memories stored/recalled, how long the session has been active, and a compact context hint.

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": {
      "session_id": "<session_id>"
    },
    "name": "unimatrix_session_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesThe session id returned by unimatrix_begin_session.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the metric fields returned and implies a read-only inspection of an active session, but does not say what happens when the session_id is unknown or expired, nor whether any auth or permission constraints apply.

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 that enumerates the returned metrics without filler. Every clause contributes information.

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 one-parameter read tool with no annotations and no output schema, the description compensates well by listing what the stats contain. The only gap is the absence of edge-case behavior for inactive or invalid sessions.

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 100% and the schema already documents session_id as 'the session id returned by unimatrix_begin_session.' The description adds no further meaning about the parameter, so the baseline of 3 for fully covered parameters 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 ('Get stats for an active MCP session') and enumerates the metrics returned: message count, memories stored/recalled, active duration, and a context hint. This clearly distinguishes it from lifecycle siblings like begin_session and end_session, 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?

The phrase 'active MCP session' implies the tool only applies to a session that is currently running, which is a mild usage constraint. However, there is no explicit when-to-use guidance, no statement of what to do for ended sessions, and no pointer to an alternative tool.

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