Skip to main content
Glama

Compare LIVE sessions

live_sessions_compare
Read-only

Compare 2–4 live sessions side by side, aligning totals and minutes by offsetMinutes to spot performance differences quickly.

Instructions

Two to four sessions side by side, each with totals and minutes aligned on offsetMinutes. Needs API key scope live:read. Costs credits from the workspace wallet (billed as a cached read). Returns the API answer as JSON, with provenance (freshness, coverage, source).

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": {
      "ids": "<ids>"
    },
    "name": "live_sessions_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes2 to 4 session ids from `live_sessions`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the required API key scope, that the call consumes workspace credits and is billed as a cached read, and what the payload contains (`provenance` with freshness, coverage, source). Those are exactly the operational facts an agent cannot get from structured fields.

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 short sentences, front-loaded with what the tool produces, then prerequisites, then cost, then return shape. No filler or restatement of the title.

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 output schema and only one parameter, the description carries the remaining burden well: it covers the output shape (JSON plus `provenance`), auth scope, and billing impact. Nothing material for a correct invocation is missing.

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 single `ids` parameter is already documented as '2 to 4 session ids from `live_sessions`', so the baseline is 3. The description adds the `offsetMinutes` alignment concept, but that is a result field rather than an input, so it does not deepen parameter meaning.

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 states a specific operation on a specific resource: two to four sessions shown 'side by side' with totals and minutes aligned on `offsetMinutes`. That distinguishes it from the plain `live_sessions` listing without naming a sibling as an explicit alternative. A clearer contrast sentence would have earned a 5.

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?

It conveys the operating constraints (2-4 ids, scope `live:read`, credit cost), which is real usage context. However, it never says when to reach for this versus `live_sessions` or `live_session_timeline`, so the agent must infer the comparison use case.

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