Skip to main content
Glama

ae_add_device_frame

Wrap a layer in a device mockup frame with options for card, browser, or phone styles, adjustable padding, corner radius, color, and drop shadow to present UI screenshots and precomps.

Instructions

Wrap a layer in a mockup frame — 'card' (rounded panel + shadow), 'browser' (panel + a top chrome bar with traffic-light dots), or 'phone' (tall rounded panel). The content layer is parented to the frame so they move together. Best on footage/precomp layers (a screenshot or UI scene).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compNo
layerYesThe content layer to frame (e.g. a screenshot).
styleNocard
contentSizeNo[w, h] of the content as displayed. Defaults to the layer's source size.
paddingNoExtra frame around the content (px).
cornerRadiusNo
frameColorNo
shadowNo
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that the content layer is parented to the frame, implying they move together. However, it does not mention any potential side effects, destructive actions, or authorization needs. The behavioral disclosure is adequate but not comprehensive.

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 very concise, consisting of two sentences that cover the main purpose and a usage tip. Every sentence adds value without redundancy.

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?

The tool has 8 parameters and no output schema. The description explains the core functionality and a best-use scenario, but omits details on several parameters and does not describe the return value or any limitations. For a moderate-complexity tool, this is adequate but not fully complete.

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

Parameters2/5

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

Schema description coverage is only 38% (3 of 8 parameters have descriptions). The description adds value by explaining the styles and parenting behavior, but it does not elaborate on parameters like comp, cornerRadius, frameColor, or shadow. Given the low coverage, the description should provide more parameter details to compensate.

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 wraps a layer in a mockup frame, listing three distinct styles (card, browser, phone). The verb 'wrap' and resource 'layer in a mockup frame' are specific, and the tool is well-differentiated from sibling tools like ae_add_effect or ae_add_layer_to_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 explicitly recommends using it on 'footage/precomp layers (a screenshot or UI scene)', providing clear context. While it does not explicitly state when not to use or name alternatives, the guidance is sufficient and distinguishes this tool from others.

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/Phanikondru/openshowreel'

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