Skip to main content
Glama

write_reference_result

Writes analyzed video reference data to the editor after frame analysis, automatically populating detected slots and handling persistent text overlays across multiple scenes.

Instructions

Write your analysis of the reference video frames back to the editor. The editor modal will automatically populate with the detected slots.

Call this after get_reference_frames. For text that appears across MULTIPLE consecutive slots (e.g. hook text while background clips change, or "Students who follow me and use:" over all technique slots), put it in spanning_texts — NOT in each slot's detectedText. Each slot's detectedText should only contain the unique text for that slot (e.g. "GAMIFICATION", "PAST PAPERS").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slotsYesAnalyzed slots, one per scene. Leave detectedText empty for slots covered by a spanning_text.
spanning_textsNoText overlays that persist across multiple consecutive slots (e.g. hook text shown while background clips change).
hookTextYNoY position for hook text overlay. Range: 1=top, 0=center, -1=bottom. Measure from reference frames: y = 1 - 2*(pixels_from_top / frame_height).
spanningTextYNoY position for the spanning/persistent text (e.g. "Students who follow me and use:"). Must be ABOVE slotTextY (higher value). Measure from reference frames.
slotTextYNoY position for per-slot technique text (e.g. "GAMIFICATION"). Must be BELOW spanningTextY (lower value). Measure from reference frames.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: the tool writes analysis results to an editor modal that auto-populates, and it enforces specific text structuring rules (e.g., separating spanning vs. slot-specific text). However, it lacks details on error handling, permissions, or response format, leaving some gaps for a write operation.

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 front-loaded with the core purpose in the first sentence, followed by essential usage guidelines and text structuring rules. Each sentence adds critical value without redundancy, making it highly efficient and well-structured for quick comprehension by an agent.

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

Completeness4/5

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

Given the complexity of a write operation with 5 parameters and no annotations or output schema, the description does a strong job by covering purpose, sequencing, and text handling rules. However, it doesn't fully address potential behavioral aspects like error conditions or what happens on success, leaving minor gaps in completeness for a tool with no structured safety or output information.

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 the schema already documents all parameters thoroughly. The description adds some semantic context by explaining the purpose of 'slots' and 'spanning_texts' in the analysis workflow, but it doesn't provide additional syntax or format details beyond what the schema specifies. This meets the baseline for high schema coverage.

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 clearly states the specific action ('Write your analysis of the reference video frames back to the editor') and resource ('reference video frames'), distinguishing it from siblings like 'get_reference_frames' (which retrieves frames) and 'write_statonic_project' (which writes a different type of project). The purpose is precise and actionable.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool ('Call this after get_reference_frames'), providing clear sequencing guidance. It also distinguishes usage from alternatives by specifying text placement rules (e.g., use 'spanning_texts' for multi-slot text vs. 'detectedText' for unique slot text), helping the agent choose correctly among related tools.

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/dnldsz/StatonicMCP'

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