Skip to main content
Glama

match-reference

Compare a composition to a reference image by rendering the current frame and returning a side-by-side view with a difference map to pinpoint deviations.

Instructions

Compare a composition against a reference image: renders the current frame, then returns a side-by-side (reference vs current) AND a difference map (bright where they differ) so you can see exactly WHERE the render deviates and converge on a match. Provide the reference as an on-disk image path. Select the comp by name or 1-based index, or leave empty for the active comp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compNoComposition name or 1-based index. Omit to use the active comp.
timeNoTime in seconds to render (default comp midpoint).
timeoutMsNoWait time in ms (default 90000).
referencePathYesAbsolute path to the reference image on disk (PNG/JPG).
Behavior3/5

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

No annotations are provided, so the description alone must convey behavioral traits. It mentions rendering the current frame and returning outputs, but does not disclose whether rendering has side effects (e.g., cache, project modification), auth needs, or rate limits. The description is moderately transparent but lacks full disclosure.

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 two sentences, front-loaded with the primary action and output, followed by concise parameter guidance. Every sentence earns its place with no superfluous words.

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?

For a tool with 4 parameters and no output schema, the description covers the main workflow and parameter usage. It lacks details on error handling (invalid path, missing comp) but is sufficient for typical use.

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%, baseline is 3. The main description adds context for the 'referencePath' (on-disk image path) and 'comp' (omit for active comp), but the schema already provides clear parameter descriptions. The description does not significantly enhance understanding beyond what the schema provides.

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 tool compares a composition against a reference image, rendering the current frame and returning a side-by-side comparison and a difference map. This specific verb-resource mapping distinguishes it from sibling tools like 'see-frame' or 'inspect-comp'.

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?

The description explains when to use the tool (to see deviations from a reference) and how to specify the reference path and composition. However, it does not explicitly mention when not to use it or suggest alternatives, which would merit a 5.

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/a-y-ibrahim/after-effects-mcp'

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