Skip to main content
Glama

Save Layout

save_layout
Destructive

Replaces complete saved screenshot layouts for the specified device sizes and language. Omitted formatLayouts preserves independent formats; an empty map resets them. Main layouts do not overwrite independent phone-format layouts.

Input Schema

NameRequiredDescriptionDefault
languageYes
projectIdNoAlias of generationId (the project id).
variantIdNo
generationIdNoProject id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead.
mobileLayoutYesComplete Layout object for the phone canvas. Shape documented in applaunchflow://schema/layout.
tabletLayoutYesComplete Layout object for the tablet canvas. Same shape as mobileLayout, different canvasWidth/canvasHeight.
desktopLayoutNoOptional complete Layout object for the desktop canvas. Same shape as mobileLayout.
formatLayoutsNoComplete phone-format override map. Keys include ios-duo-inner and ios-duo-outer. Omit to preserve; {} resets all formats to follow main.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
messageNo
successYes
widgetDataJsonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds useful overwrite semantics: omitted formatLayouts preserves independent formats, an empty map resets them, and main layouts do not overwrite independent phone-format layouts.

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 three tight sentences with no waste. The primary replace behavior is front-loaded, followed by the key formatLayouts and layout interaction caveats.

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 complex nested schema, destructive annotation, and presence of an output schema, the description covers the essential replace semantics and key edge cases. It could be more complete by naming sibling alternatives or permission requirements, but the core behavioral context is present.

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 75%, so the schema already documents most parameters and nested objects. The description adds some meaning around formatLayouts behavior and layout interaction, but most parameter details remain delegated to the schema.

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?

The description states a specific verb and resource: it replaces complete saved screenshot layouts for specified device sizes and language. The scope is clear, but it does not explicitly distinguish this tool from related siblings such as sync_layout, transform_layout, or get_layout.

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 by the replace/save semantics, and the description gives important edge-case behavior for formatLayouts. However, it does not explicitly say when to use this tool versus get_layout, sync_layout, transform_layout, or translate_layouts.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.