Skip to main content
Glama

bridge_get_session

Read-onlyIdempotent

Use a session ID to retrieve tracking details, output, diff, and token usage for an active or past session.

Instructions

Retrieve tracking details, output, diff, and token usage for an active or past session.

Args: session_id: Session ID to inspect.

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

Input Schema

NameRequiredDescriptionDefault
session_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already fully declare this as a read-only, idempotent, non-destructive, closed-world operation, and an output schema exists so return structure need not be described. What the description does add is the scope of the payload (tracking, output, diff, token usage), which is helpful but thin. It says nothing about behavior for invalid or expired session ids, partial results, or cost of retrieval.

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?

One front-loaded sentence states the purpose and enumerates the payload; the args block is a minor duplication of the schema but is short. Nothing is padded or buried.

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 single-parameter, read-only tool with full annotations and an output schema, the definition covers the essential question of what is fetched and from where. The only real gap is that it never tells an agent how to source a valid session_id or what happens on an unknown id.

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

Parameters2/5

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

There is a single parameter with 0% schema description coverage beyond the title 'Session Id'. The description's args block only restates 'Session ID to inspect' and adds no format, source, or example for obtaining a valid id. With a non-zero parameter count and no schema coverage, the description should compensate but does not.

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?

'Retrieve tracking details, output, diff, and token usage for an active or past session' gives a specific verb (retrieve) and resource (session) plus an enumeration of exactly what comes back, which is far more informative than a tautology. It stops short of naming how it differs from bridge_apply_diff or bridge_close_session, so sibling differentiation is left to the reader.

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?

'for an active or past session' signals that the tool works on sessions in any lifecycle state, which is loosely useful context. There is no explicit when-to-use rule, no prerequisite (e.g., that a session id must first be obtained from a listing tool), and no statement of when another sibling should be used instead.

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