Skip to main content
Glama

get_session

Read-only

Retrieves a session's script, takes, assets, folder warnings, and edit readiness so you can review recordings, fix misplaced files, and prepare cuts.

Instructions

Get a session: its id, title, full script, and every take with file path, duration, keeper flag, name and start time (camera and screen files of one take share a number), plus every asset file (edits/, thumbnails/, stills/, assets/), the folder rules ('folders') and 'warnings' about files in the wrong place: fix those. Each take shows edit_ready (word times are ready). A screen take recorded since 2026-10-30 has events: its cursor log (pointer moves, clicks, app in front, in .mov pixels and seconds). Cut takes with cut_take and rough_cut by default: they fix the audio offset and frame rate. checks: the check_edit state of each newest edit. rules: the rules for the session's next step that this chat has not seen yet; follow them.

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

Input Schema

NameRequiredDescriptionDefault
sessionYesSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.11.11
    • changedInput schema / properties / session / description
      Previous value: -"Session as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move."New value: +"Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds substantial semantic context beyond that: camera and screen files of one take share a number, edit_ready means word times are ready, screen takes since 2026-10-30 carry cursor events in .mov pixels and seconds, and 'rules' covers steps this chat has not seen. These are real interpretation cues an agent could not derive from the schema or annotations. It is silent on payload size or performance, which keeps it from 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded correctly with 'Get a session:' and every clause carries information, so there is little filler. But the prose is a dense run-on with stacked parentheticals ('.mov pixels and seconds', '(camera and screen files of one take share a number)') that make it hard to scan, and the directive sentences ('fix those', 'follow them') are interleaved with field documentation rather than separated.

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?

With no output schema, the description carries the burden of describing return values and does so thoroughly, covering takes, assets, folders, warnings, checks and rules. Combined with the 100%-covered input schema and read-only annotations, an agent has what it needs to call this correctly. Only the volume/shape of a large session response is unaddressed.

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 description coverage is 100% and the single 'session' parameter is fully documented in the schema, including the 'Project/folder', absolute path and id forms and the note that old paths still work. The description adds no parameter-level meaning of its own. Baseline 3 applies when the schema is doing all the work.

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 ('Get a session') and then enumerates the returned payload in detail: id, title, script, takes with file path/duration/keeper flag, assets, folder rules, warnings. An agent knows exactly what this returns. It does not explicitly distinguish itself from siblings like get_script_version or get_rules, 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?

Guidance is present but oriented to follow-up actions rather than tool selection: 'warnings ... fix those', 'rules ... follow them', and 'Cut takes with cut_take and rough_cut by default'. That usefully routes the agent to cut_take, rough_cut and check_edit after reading. However, nothing states when to call get_session instead of get_rules, get_library or get_script_version, so usage context is implied rather than spelled out.

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