Skip to main content
Glama

popcorn_read

Reads .json or .txt files from an analysis bundle, with optional line slicing or transcript time filtering to inspect specific video analysis results.

Instructions

Read a .json or .txt file from an analysis bundle with optional line slicing or transcript time filtering.

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": {
      "path": "<path>"
    },
    "name": "popcorn_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file to read.
endSecNoEnd time in seconds (transcript JSON filtering).
endLineNo1-based line to stop reading.
maxCharsNoMaximum characters to return.
startSecNoStart time in seconds (transcript JSON filtering).
startLineNo1-based line to start reading.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does signal read-only semantics and a file-type restriction (.json/.txt). However, it omits what happens on a missing or out-of-bounds path, whether maxChars truncates silently or indicates truncation, and how startLine/endLine interact with startSec/endSec. Those are meaningful gaps for a tool with zero annotation coverage.

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?

A single sentence that front-loads the action and resource, then appends the optional capabilities. Nothing is redundant or padded.

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?

For a six-parameter tool with no annotations and no output schema, the description covers the essentials of what gets read and the two filtering modes. It leaves error handling, truncation behavior, and filter interaction undocumented, so an agent can call it but cannot fully predict edge-case responses.

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%, so all six parameters are already documented, establishing a baseline of 3. The description adds the useful framing that line slicing and time filtering are optional modes, but it does not mention maxChars or clarify whether the two filtering families are mutually exclusive.

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 (read) plus the resource (a .json or .txt file) and the scope restriction (from an analysis bundle), which is enough to distinguish it from siblings like popcorn_analyze or popcorn_backends. It stops short of explicitly contrasting itself with any named sibling, which keeps it at 4 rather than 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?

The phrase 'from an analysis bundle' implies the context in which to reach for this tool, and the two filtering modes hint at how to narrow large files. There is no explicit when-not guidance, no statement about which sibling to use for summarization or analysis instead of raw reading, and no note on whether line slicing and time filtering can be combined.

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