Skip to main content
Glama

import_local_file

Ingest a local SRT, VTT, JSON, or TXT subtitle file for offline processing, enabling transcript search, export, and analysis without uploading media.

Instructions

Ingest a local SRT/VTT/JSON/TXT subtitle file for offline processing.

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

Input Schema

NameRequiredDescriptionDefault
pathYes
titleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says what formats are accepted but not what the import actually creates, whether it requires an existing video/library entry, whether it is idempotent, what errors occur on unsupported or malformed files, or how paths are resolved.

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?

A single front-loaded sentence with no filler, listing the accepted formats efficiently. It is appropriately sized, though the brevity leaves the gaps noted in other dimensions unaddressed.

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 file-import tool with no annotations, no output schema, and zero parameter documentation, the description is too thin. An agent cannot tell what the import returns, where the path is resolved, or how this differs operationally from the video-import siblings.

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

Parameters2/5

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

Schema description coverage is 0% for both parameters, and the description adds no meaning: it does not clarify whether 'path' is server-side absolute, relative, or client-side, nor whether 'title' defaults to the filename. With no compensating text, an agent must guess at invocation details.

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 ('Ingest') and resource ('local SRT/VTT/JSON/TXT subtitle file'), including the accepted formats, which lets an agent distinguish it from video-import siblings. It does not explicitly contrast itself with import_video or start_import_video, but 'local' and 'offline' make the scope reasonably clear.

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: 'local ... for offline processing' suggests this is the path for on-disk subtitle files rather than remote or video sources. There is no explicit when-to-use statement, no exclusion of alternatives, and no prerequisites such as whether the file must already exist on the server.

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