Skip to main content
Glama

media_overlay

Draw tracked points and positions onto media frames, then tile them into a single image so you can visually verify placements and tracks.

Instructions

Draw positions on the frames from media_frames and tile them into one image to check by eye.

index_path: the index.json from media_frames. Tracks come from track_paths (JSON files with a "track" list, e.g. from media_track) and/or points: each entry is one track, either a list of points or Gemini's answer as is ({"track": [...]}). A point is {"frame": "f_001.png", "x": .., "y": ..} or {"t": seconds, "x": .., "y": ..}. Each track gets its own colour. space: "video" (source pixels) or "image" (cropped-frame pixels). zoom: "X:Y:W:H" region of each frame to keep. Read the returned image to judge the positions.

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": {
      "index_path": "<index_path>"
    },
    "name": "media_overlay"
  }
}

Input Schema

NameRequiredDescriptionDefault
colsNo
zoomNo
spaceNovideo
widthNo
pointsNo
out_pathNo
index_pathYes
session_idNo
track_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It does reveal meaningful behavior: frames are tiled into a single image, each track gets its own colour, and the caller should read the returned image. It omits whether a file is written to disk by default, what happens when out_path is null, and whether session_id scopes or persists anything — notable gaps for a tool that produces artifacts.

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?

Purpose is front-loaded in one sentence, followed by compact per-parameter notes tied to parameter names. Dense but nearly every sentence carries needed format information (point shapes, zoom syntax, colour-per-track). Minor structural looseness from prose-form parameter docs rather than a clean list, but no filler.

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 9-parameter tool with no annotations and no output schema, the definition covers the core mechanics and the tricky input formats well, and it tells the agent what to do with the result. It is still incomplete on layout controls (cols, width), output destination (out_path), and session_id semantics, which an agent would need to call it with confidence.

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 and it does so for the highest-value parameters: index_path, track_paths/points (including the exact point shape {frame,x,y} or {t,x,y} and the Gemini answer form), space ('video' vs 'image' pixel spaces), and zoom ('X:Y:W:H'). However, four parameters — cols, width, out_path, and session_id — receive no explanation at all, leaving half the surface undocumented in both schema and prose.

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 concrete verb and resource: draw positions on frames from media_frames and tile them into one image, with the stated goal of visual verification ('check by eye'). It names the upstream sibling (media_frames) and the track producers (media_track, track_paths), which lets an agent place it in the pipeline. It does not explicitly contrast with analysis-oriented siblings like gemini_analyze_media, so it falls just short of full differentiation.

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 implied rather than stated: 'to check by eye' and 'Read the returned image to judge the positions' signal a visual QA step. There is no explicit when-to-use clause (e.g., after media_track produces tracks) and no when-not-to-use or named alternative for programmatic position checks. An agent can infer the workflow but must guess at prerequisites.

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