Skip to main content
Glama

submit_prepare

Validates an effect submission for package size, login, icon, and template reuse, then fills the review form and stops before the user clicks Submit.

Instructions

填好提交窗口,停在最后一步等用户点「提交审核」:先在本地检查提交流程会拒收的情况(包体上限、是否原样套用模板、登录、图标),全部通过后先关掉还开着的提交窗口(之前调用留下的,closed_previous 是关掉的个数,关不掉报 WINDOW_NOT_CLOSED),再走和工具栏「提交特效」按钮相同的入口打开一个新的,然后逐页填写:「特效基础信息」页填名称、触发提示、默认摄像头方向(图标来自工程,可先用 icon_image 设好),「特效发布设置」页选灵感和任务,再翻到「提交审核」页,等页面上的检测(包体积、性能、相似度等,一般一分钟内)跑完,返回页面摘要、各检测结果、是否已同意创作者协议、「提交审核」按钮是否可点,以及 next(用户还要做什么)。本工具不会勾选协议,也不会点「提交审核」,发布只在用户点了之后发生。每一项都从页面读回核对:页面截断、报错、没选上、或翻页被拦住时直接报错(SUBMIT_*,原样带上页面提示),窗口保持打开。页面上本工具没填的其它设置(如活动、创新声明)列在 other_sections 里,保持页面原样。本地检查未通过时不打开窗口,返回 issues。

Input Schema

NameRequiredDescriptionDefault
nameYes特效名称(必填):最多 10 个字,两个英文字母或数字算一个字,不能有表情和特殊符号;页面截断或报错时整次调用失败。
taskNo「任务绑定」要选的任务标题(已领取的任务,同 tasks_list 的 title);传「暂不参与」解绑;省略时保留页面带出的(task_bind 绑定过的会自动带出)。
cameraNo默认摄像头方向:front 前置、back 后置;省略时保留页面的默认(一般是前置)。
icon_imageNo先用这张图设图标(同 icon_set 的默认:女性、男性两个位,并上传),再打开提交窗口;省略时用工程现有的图标。
task_trackNo任务下的赛道名称,任务分赛道时必填,否则报 SUBMIT_TASK_NEEDS_TRACK 并列出赛道。
inspirationNo「灵感绑定」要选的灵感或热点,取它在列表里显示的名称(当前账号收藏的灵感或热点,名称同 inspiration_list 的标题);传「暂不绑定」解绑;省略时保留页面带出的(inspiration_bind 绑定过的会自动带出)。
instance_idNo官方 list_instances 返回的 instance_id,与 project_path 二选一。
project_pathNo目标工程的绝对路径。与 instance_id 二选一;只开了一个工程窗口时都可省略。
trigger_hintNo特效触发提示,开拍时显示,如「张嘴试试」:最多 10 个字;省略时保留页面带出的内容,传空串清空。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it discloses that a leftover submission window may be closed (closed_previous count, WINDOW_NOT_CLOSED failure), that the window stays open on mid-flow errors, that page prompts are surfaced verbatim, that page detection takes about a minute, and that publishing only occurs after a user click. Unfilled page settings are preserved and reported in other_sections, so the agent knows the tool does not silently overwrite the form.

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 is front-loaded in the first clause, and nearly every sentence conveys operational detail (check order, page-by-page fill, error behavior). It is nonetheless a single dense block of roughly 400 characters, and the return-value enumeration at the end could be split or tightened for scannability.

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?

For a 9-parameter mutation tool with no annotations and no output schema, the description supplies the missing return contract (page summary, per-check results, agreement state, submit-button clickability, next step, other_sections, issues) plus failure semantics. Nothing an agent needs to invoke it safely appears to be absent.

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 100%, so the schema already explains name length rules, camera enum, task_track requirements, and the instance_id/project_path mutual exclusion. The description adds only ordering context — e.g. icon_image is applied before the window opens — rather than new meaning about the parameters themselves. Baseline 3 applies.

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 opens with a precise verb+resource+end-state: fill the submission window and stop before the user clicks 「提交审核」. It explicitly delineates what the tool will NOT do (no agreement checkbox, no submit click) and contrasts its own entry path with the toolbar 「提交特效」 button, so an agent can distinguish it from adjacent tools like effect_check or my_effect_reviews.

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?

It specifies the precondition sequence (local checks must pass first, otherwise no window opens and issues are returned) and names concrete error exits (SUBMIT_*, SUBMIT_TASK_NEEDS_TRACK). It also implicitly routes icon work to icon_image and mentions the task/inspiration binding tools. What is missing is an explicit statement of when a caller should use this versus doing a manual staged submission through icon_set / task_bind / inspiration_bind separately.

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