Skip to main content
Glama

Plan Reference Replica

plan_reference_replica

Plans a competitor-image replication by saving the agent's analysis, category adaptations, and per-frame target specs in one revisioned brief ready for review and export.

Instructions

免费保存Agent完成的竞品拆解、跨类目适配与目标frames;不代替Agent识图,不出图。

新方案优先build_reference_replica_prompts,以共享风格保持同款图组统一;本工具兼容旧replica。

先inspect_design_images查看参考和商品;分析风格/构图/光色/细节/互动/文案/信息顺序, 给出源/目标类目及保留/适配/替换/舍弃理由。frames是Agent写出的完整目标控制结构, 不自动复制源文案。open_questions使方案needs_input,阻止确认/出图。 每项图1仅风格,图2+为商品;商品事实只能引用brief.facts,SKU须明确绑定本版本。 frames决定图片数,支持单张详情图。brief.replica可省略,由独立replica参数给出。 修改传当前expected_revision、完整brief/replica;旧确认失效。 下一步export_reference_replica展示完整提示→confirm_ecommerce_design→授权后submit_ecommerce_design。 Resource nanobanana://reference-replication 和Prompt reference_replication_brief说明完整循环。

Input Schema

NameRequiredDescriptionDefault
briefYes
replicaYes
design_idYes
expected_revisionNo

Output Schema

NameRequiredDescriptionDefault
briefYes
notesYes
assetsYes
digestYes
panelsYes
statusYes
revisionYes
design_idYes
questionsYes
approved_digestNo
confirmation_noteNo
reference_hash_bindingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations say readOnlyHint=false, destructiveHint=false, openWorldHint=true, and the description adds non-obvious state behavior: open_questions forces the plan to needs_input and blocks confirmation/generation, and edits invalidate prior confirmations. It also clarifies that frames are Agent-authored and that source copy is not auto-replicated. No contradiction with annotations.

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

Conciseness4/5

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

Purpose and the 'does not do' clause are front-loaded, then workflow, then state rules. It is dense and semicolon-packed, which suits a complex tool, but the volume is near the limit of comfortable scanning and could be split more cleanly across paragraphs.

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?

An output schema exists, so return values need not be described, yet the description still supplies the full lifecycle context: prerequisite inspection, analysis dimensions, source/target categories, state effects of open_questions, revision handling, and the export/confirm/submit handoff. Nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is reported as 0%, so the description must carry the load, and it does explain key semantics: brief.replica may be omitted in favour of the independent replica param, expected_revision controls edits, frames determine image count, facts must come from brief.facts, and SKU must bind to this version. It stops short of explaining design_id or every nested field, so not a full 5.

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?

States a specific verb and resource: it saves the Agent's competitor decomposition, cross-category adaptation, and target frames, while explicitly stating what it does NOT do (recognize images, generate images). It names the sibling it defers to for new plans (build_reference_replica_prompts) and the export/confirm/submit chain, so an agent can tell it apart from neighbours without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit ordering and alternatives: prefer build_reference_replica_prompts for new plans, this tool is for legacy replica compatibility; first call inspect_design_images; for edits pass current expected_revision plus complete brief/replica. It even states the downstream sequence export_reference_replica → confirm_ecommerce_design → submit_ecommerce_design, leaving nothing to inference.

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