Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

apply_panel_template

Switch one screen to a template scene, remembering its edits per project, language, device size and scene. Returning restores saved objects, styles and text. Null templateId follows the project template. Read get_project for expectedRevision. Returns saved project and restored. Requires projects:read and projects:write.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "position": "<position>",
      "expectedRevision": "<expectedRevision>",
      "family": "<family>",
      "locale": "<locale>",
      "templateId": "<templateId>",
      "sceneIndex": "<sceneIndex>"
    },
    "name": "apply_panel_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
familyYes
localeYes
positionYes
projectIdYes
sceneIndexYes
templateIdYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / position / maximum
      Previous value: -40New value: +190
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=false and destructive=false, so the description's job is to add context — and it does: it names required scopes (projects:read, projects:write), discloses that prior edits are remembered per project/language/device/scene, and notes the call both saves and restores. It never explains what happens on a revision mismatch or whether the previous panel content is lost.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and reasonably compact, but phrasing is awkward in places — "remembering its edits per project, language, device size and scene" and "Returns saved project and restored" are vague and cost the reader a re-read. A small amount of the text does not earn its place.

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?

For a seven-parameter mutation with no output schema and zero schema coverage, the description should cover concurrency failure behavior and the effect on the screen's existing content. It covers the essentials (revision source, null template, scopes, remembered state) but leaves the agent guessing about conflict handling.

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 coverage is 0% across seven required parameters, so the description carries the burden. It explains the two least obvious ones (null templateId fallback and expectedRevision sourcing from get_project); family, locale, position and sceneIndex are only inferable from their names, and no format or constraint hints are given beyond the schema's ranges.

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?

"Switch one screen to a template scene" gives a specific verb and target object, and the extra clauses about remembered edits and restoration clarify what the operation does. It stops short of differentiating itself from sibling tools like apply_template or apply_candidate, so an agent still has to guess which apply_* variant to pick.

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?

Useful conditional guidance is present: null templateId follows the project template, and expectedRevision should be read via get_project. However, there is no statement of when to prefer this over apply_template or apply_candidate, nor any exclusion or failure guidance.

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.

Resources