Skip to main content
Glama

get_session

Retrieve a saved video analysis session by video ID or URL, including summary, sections, quiz data, chat history, and capped transcript text.

Instructions

Get a saved video analysis session by video ID.

Returns the session's summary, sections, characters, quiz data, chat history and transcript text. Timestamped transcript entries are left out and the transcript text is capped at max_transcript_chars.

Args: video_id: YouTube video ID or a video URL max_transcript_chars: Maximum transcript characters to include (default 80000; 0 = no limit)

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": {
      "video_id": "<video_id>"
    },
    "name": "get_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes
max_transcript_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it enumerates the payload (summary, sections, characters, quiz data, chat history, transcript text), discloses that timestamped transcript entries are deliberately excluded, and notes the transcript is truncated by max_transcript_chars. What it omits is the error path when no saved session exists and any auth or cost implications, which is why it falls short of a 5.

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?

The definition is front-loaded with the verb and resource, then the return payload, then a compact Args block. The only mild waste is restating the 80000 default that the schema already declares; otherwise every sentence earns its place.

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 two-parameter read tool with an output schema, the description covers the essentials: what is returned, what is intentionally dropped, and how the cap parameter behaves. It lacks only edge-case behavior (missing session, whether chat history is truncated) to be fully complete, and the output schema relieves it of return-shape detail.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: video_id is documented as accepting either a YouTube video ID or a full video URL, and max_transcript_chars explains both the default and the non-obvious sentinel value (0 = no limit). Neither piece of meaning is present in the schema itself.

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 opens with a specific verb+resource+key: "Get a saved video analysis session by video ID." An agent can immediately tell this is a retrieval tool keyed on video ID. It does not explicitly distinguish itself from sibling get_transcript or list_sessions, which keeps it short of 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 Guidelines2/5

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

There is no explicit guidance on when to use this versus alternatives such as get_transcript (which likely returns the transcript directly) or list_sessions. The word "saved" hints that a session must already exist, but prerequisites and failure behavior when no session exists are unstated. The agent must infer the selection criteria from the tool name alone.

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