Skip to main content
Glama
sakethramanujam

video-harness

markers_from_metadata

Convert metadata events into typed markers at timecodes or frames, and optionally stamp clip metadata fields as clip-scope markers.

Instructions

Map metadata events onto typed markers.

Event: {type, at (timecode or frame), id?, duration_frames?, note?, scope?, media_id? or clip: {media_id, name, path}, attrs?, source?}. from_clips=true also stamps clip metadata fields (Keywords, Shot, …) as clip-scope markers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventsNo
field_mapNo
from_clipsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses the event structure and the from_clips side effect of stamping clip metadata as clip-scope markers, but it does not state whether existing markers are replaced, cleared, or merged, nor whether the operation requires existing marker types or has destructive effects.

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?

The description is compact and front-loaded with the core purpose, followed by a dense but justified event schema and the from_clips behavior. There is no filler; every sentence contributes to understanding the tool.

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?

Despite the useful event schema, the description is incomplete for a mutation-like tool: field_map semantics are absent, side effects are unclear, and no guidance connects this tool to the sibling marker tools. An agent could not confidently predict whether the call adds, replaces, or clears markers.

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 0%, so the description must compensate. It substantially documents the events parameter and explains from_clips, but field_map is entirely unexplained, leaving one of three parameters ambiguous for an agent trying to construct a correct call.

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 opening sentence 'Map metadata events onto typed markers' states a specific action and resource, and the inlined event shape clarifies the input format. It does not explicitly contrast with sibling marker tools like marker_upsert or markers_query, so differentiation relies mostly on the tool name and the metadata-focused wording.

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 explicit statement of when to use this tool versus alternatives such as marker_upsert, markers_query, or markers_clear. The from_clips note gives a conditional behavior, but the description does not provide overall when-to-use/when-not-to-use guidance or name sibling alternatives.

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