Skip to main content
Glama

save_session

Save a video analysis session to retrieve it later. Re-saving the same video updates the existing session with summaries, transcripts, highlights, or character data.

Instructions

Save a video analysis session for later retrieval.

Saving again for the same video updates the existing session.

Args: video_id: YouTube video ID (11 characters) or a video URL video_url: Full YouTube video URL summary_data: AI-generated summary text transcript_data: Transcript object, e.g. {"text": "..."} sections_data: Best sections/highlights data (the get_best_sections result) characters_data: Detected characters data (the detect_characters result)

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>",
      "video_url": "<video_url>"
    },
    "name": "save_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes
video_urlYes
summary_dataNo
sections_dataNo
characters_dataNo
transcript_dataNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose one important behavior: re-saving the same video updates the existing session (upsert/idempotency). However, it never says whether re-saving with omitted optional fields wipes previously stored data, whether saving is required before chat_with_video, or whether credits are consumed, which are the key risks for a write tool here.

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 purpose statement is front-loaded in the first line, the upsert caveat follows, and the parameter notes come last — a sensible ordering. The Args block is verbose relative to the terse schema, but that verbosity is warranted given zero schema descriptions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the parameter documentation is reasonably complete. What is missing for a write tool of this complexity is the overwrite/merge semantics on re-save, required video_url alongside video_id, and any statement about persistence scope or cost.

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

Parameters4/5

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

Schema description coverage is 0%, so the Args block is doing all the work, and it does it well: it declares video_id's accepted formats (11-char ID or URL), the expected shape of transcript_data, and the provenance of sections_data and characters_data. It does not explain why both video_id and video_url are required or how they interact, which keeps it from a 5.

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: 'Save a video analysis session for later retrieval.' The Args block further clarifies that the session is composed of summary/transcript/sections/characters artifacts. It does not differentiate itself from siblings like list_sessions or get_session, so it stops 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 Guidelines3/5

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

Usage is only implied: 'for later retrieval' suggests saving before fetching, and the parameter notes ('the get_best_sections result', 'the detect_characters result') hint at the upstream workflow. There is no explicit statement of when to call this versus alternatives, nor any prerequisite or when-not guidance.

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