Skip to main content
Glama

index_explainer_sources

Index a local folder of screen recordings or OBS videos for semantic search, with caching that skips already-indexed files. Returns an index_id to use in video assembly.

Instructions

Index a local folder of screen recordings and OBS videos with Twelve Labs so they can be searched semantically inside create_video_assembly. Call this once per folder — indexing is cached, so re-running skips already-indexed files. Returns an index_id to pass as explainer_index_id in create_video_assembly. Requires TWELVE_LABS_API_KEY in the MCP environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
index_nameNoOptional name for the Twelve Labs index (defaults to the folder's base name).
sources_folderYesLocal folder containing your screen recordings / OBS videos (e.g. C:/obs-recordings).
Behavior4/5

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

With no annotations, the description discloses important behaviors: caching and idempotency ('re-running skips already-indexed files'), return type (index_id), and environment requirement (TWELVE_LABS_API_KEY). This goes beyond the schema and helps the agent understand side effects and prerequisites. It does not mention external side effects (creating an index in Twelve Labs) but is adequately transparent.

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?

Three sentences each earn their place: purpose, usage/caching behavior, and return value/prerequisite. No fluff, front-loaded with the core action. Ideal conciseness.

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

Completeness5/5

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

Given the tool's simplicity (2 params, no output schema), the description fully covers the essential context: what it does, when to call, what it returns, how to use the result, and the required environment variable. It is complete for the agent to invoke correctly.

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 coverage is 100% for both parameters, so the schema already documents their meanings. The description adds contextual value by explaining the purpose of the folder and the returned index_id, but does not add new parameter-specific semantics beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Index a local folder of screen recordings and OBS videos with Twelve Labs') and its purpose ('so they can be searched semantically inside create_video_assembly'). This clearly distinguishes it from sibling tools like suggest_clips or create_video_assembly, which consume the index rather than create it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Provides explicit usage guidance: 'Call this once per folder' and explains re-run behavior ('indexing is cached, so re-running skips already-indexed files'). It also tells the user what to do with the return value (pass as explainer_index_id in create_video_assembly) and mentions the API key prerequisite. It slightly lacks explicit exclusions or alternative tools, but the guidance is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AI-Product-Allen-Yu/viralspin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server