Skip to main content
Glama

add_frame

Add a new frame to an animation. Optionally duplicate content from an existing frame or leave it empty.

Instructions

Append a new frame to the animation.

Args:
    duration_ms: Frame duration in milliseconds (default 100).
    copy_from: If given (1-based), duplicate the content of that frame;
        otherwise the new frame is empty.

Returns the new frame number and updated frame count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
copy_fromNo
duration_msNo
Behavior4/5

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

The description explains that appending is additive and describes the effect of the 'copy_from' parameter. It also states what is returned (new frame number and updated frame count). However, it does not mention persistence or side effects, but given no annotations, this is adequate.

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 concise, using a short paragraph with clear Arggs and Returns sections. Every sentence is informative and there is no redundancy.

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?

All necessary information is covered: purpose, parameters, return values, and parameter behavior. No missing details given the tool's simplicity and lack of output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by explaining each parameter: 'duration_ms' default, 'copy_from' as 1-based index or null with behavior, and 'filename' required. It adds meaning beyond the schema definition.

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 explicitly states 'Append a new frame to the animation' with a clear verb (append), resource (frame), and context (animation). This distinguishes it from sibling tools like 'remove_frame' and 'duplicate_frame'.

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?

No explicit guidance on when to use this tool versus alternatives such as 'duplicate_frame' or 'insert_frame'. Usage is implied by the purpose, but no exclusions or preferences are provided.

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/MalloyTheDev/aseprite-mcp'

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