Skip to main content
Glama

effect_check

Runs a Douyin cloud check for an effect package, waits for pass, fail, or optimization results, returns package-size and Android/iOS frame-rate details with advice, then closes the check window.

Instructions

特效检测,和在编辑器工具栏点「特效检测」一样:打开「特效检测」窗口,由窗口把特效包上传到抖音做云端检测(不是发布),等待结果 passed / not_passed / needs_optimization / failed。出结果后读出检测页的详情一起返回:verdict(页面结论,如「检测通过」「特效不通过」)、checks(每项检测的结论;包体积、帧率给出 figures:数值、上限、是否达标,帧率分 android / ios;没通过的项带页面给的改进建议 advice,读不到时写 advice_unavailable),然后关掉这个窗口(window_closed=true);详情读不出来时窗口留着,返回 details_error。超过 timeout_ms 还没出结果时返回 timeout,窗口留着继续检测;之前调用留下的检测窗口会先关掉再开新的(closed_previous 是关掉的个数),所以窗口不会越叠越多。

Input Schema

NameRequiredDescriptionDefault
timeout_msNo最长等待时间,默认 300000(5 分钟)。
instance_idNo官方 list_instances 返回的 instance_id,与 project_path 二选一。
project_pathNo目标工程的绝对路径。与 instance_id 二选一;只开了一个工程窗口时都可省略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations at all, the description carries the full burden and does so: it discloses the side effect of closing previous detection windows (with closed_previous count), that the window is closed only on a successful detail read (window_closed=true), that the window is left open on details_error or timeout, that timed-out checks keep running, and it enumerates the four possible verdicts.

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?

The purpose is front-loaded in the first clause and every subsequent clause earns its place by describing a distinct return state (verdict, checks, figures, advice, details_error, timeout, closed_previous). It is a single dense run-on sentence joined by semicolons, which makes the branching logic harder to scan than it needs to be.

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?

There is no output schema and no annotations, yet the description fully specifies the return shape (verdict, checks with figures for size and android/ios frame rate, advice or advice_unavailable, window_closed, closed_previous, details_error, timeout) and the window lifecycle in every branch. An agent has everything needed to call it and interpret results.

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 description coverage is 100%, so baseline is 3, but the description adds real meaning for timeout_ms beyond the schema's value bound: what happens on expiry (returns timeout, window stays open, detection continues). instance_id / project_path are left entirely to the schema, which already documents their mutual exclusivity and the single-window default.

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 names a specific verb+resource (特效检测 / effect check) and immediately disambiguates scope: it uploads the effect package for cloud checking, explicitly 'not publishing' (不是发布). An agent can distinguish this from my_effect_reviews or submit_prepare without opening the schema.

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 anchors usage to a concrete UI action ('same as clicking 特效检测 in the editor toolbar'), which tells the agent when this is the right call, and rules out publishing as an alternative intent. It does not name a sibling tool to use instead in any scenario, so it stops short of explicit alternative routing.

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