Skip to main content
Glama
arusheng

douyin-ide-control

by arusheng

用小游戏协议打开抖音小游戏工程

douyin_tmg_open

Opens whitelisted mini game projects in full mode via the official tmg CLI, treating them as mini games. Returns both CLI output and IDE window status.

Instructions

通过官方小游戏 CLI tmg open 以完整模式打开白名单内工程(IDE 按小游戏类型处理,区别于 tma 的小程序协议)。返回 CLI 输出与 IDE 窗口状态。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
timeoutMsNo
projectPathNo
expectedAppidNo
expectedProjectTypeNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the whitelist requirement, the protocol difference from `tma`, the full-mode behavior, and the returned CLI output and IDE window status. It does not cover side effects or prerequisites such as login/auth, but the core behavioral traits are transparent.

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 a single dense sentence that front-loads the core operation and then adds the differentiating protocol detail and return value. Every clause adds value, with no redundancy.

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?

The description captures the operation, output, and an important constraint, but it lacks parameter semantics and explicit usage routing. Given that all 5 parameters are optional and there is no output schema, an agent would benefit from more detail about what each parameter means and when to supply it.

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

Parameters2/5

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

There are 5 parameters with 0% schema description coverage, so the description must compensate, but it does not. It only hints at the `mode` parameter by mentioning 'full mode' and does not explain `projectPath`, `timeoutMs`, `expectedAppid`, or `expectedProjectType`. Parameter names are somewhat self-explanatory, but the agent is left without concrete guidance.

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 states a specific verb and resource: it invokes the official minigame CLI `tmg open` to open whitelisted projects in full mode. It also explicitly differentiates this from the `tma` miniapp protocol, making the tool's purpose and scope unmistakable.

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?

The description gives clear context: the IDE should handle the project as a minigame rather than a miniapp, which implies the intended use case. It does not explicitly list when not to use it or name sibling tools like douyin_open_project as alternatives, but the protocol distinction provides meaningful guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arusheng/douyin-ide-control'

If you have feedback or need assistance with the MCP directory API, please join our Discord server