Skip to main content
Glama

delete_session

Delete a saved video analysis session by passing a YouTube video ID or URL. Use it to remove stored sessions you no longer need from the server.

Instructions

Delete a saved video analysis session.

Args: video_id: YouTube video ID or a video URL

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

Input Schema

NameRequiredDescriptionDefault
video_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, yet it only says "delete" without disclosing whether the deletion is permanent or reversible, what data is destroyed, or whether ownership/permission checks apply. The Args block merely restates the parameter and adds no behavioral context.

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 description is front-loaded and short, with the core action in the first sentence and the parameter note in a compact Args block. No padding, though the Args formatting is redundant for a single required parameter.

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

Completeness2/5

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

For a destructive single-parameter tool with no annotations, the definition omits the essentials an agent needs before calling it: irreversibility, what exactly gets removed, and any prerequisite conditions. An output schema exists, so return values do not need explaining, but the safety profile is entirely absent.

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 coverage is 0%, so the description must compensate, and it does by clarifying that video_id accepts either a bare YouTube video ID or a full video URL — meaning beyond the schema's plain "string". It still says nothing about format edge cases such as malformed IDs or unseen URL shapes.

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?

"Delete a saved video analysis session" gives a specific verb and resource, making the operation immediately identifiable against siblings like get_session or save_session. It stops short of explicitly stating how it differs from those siblings, so it is clear but not fully differentiated.

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 guidance on when to use this versus alternatives, nor any caution about when not to call it. Nothing warns that the session is permanently removed or whether it must first be retrieved or saved elsewhere.

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