Skip to main content
Glama

工程列表

cocos_projects
Read-only

Lists connected Cocos Creator projects for unified clients and startup-registered projects for single-project services.

Instructions

统一客户端列出当前已连接工程;单工程服务列出启动时注册的工程

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cocos_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already mark this as readOnly, non-destructive, and closed-world, so the safety profile is covered. The description adds useful semantics: the result set depends on server mode, and it reflects currently connected or startup-registered projects rather than an arbitrary enumeration. However, it says nothing about the shape of the result (for example, names, ids, or count) and nothing about ordering, and since there is no output schema, an agent still has to discover the return format by calling the tool.

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 description is a single, compact, front-loaded sentence that contrasts two execution contexts without filler. It is terse to the point of terseness—the two clauses are joined by a semicolon and lack framing, such as an explicit "list" label at the start—but no sentence wastes space.

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 zero-parameter, read-only enumeration tool, the definition is adequate but not complete. The annotations cover safety, and the description covers scope, but there is no output schema and the description does not say what fields each project entry contains or whether results are ordered or limited. An agent can select the tool but must probe the result format blindly.

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?

The tool takes zero parameters, so the baseline is 4. There is no parameter meaning to explain, and the description correctly does not invent or discuss any.

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?

The description pairs the verb "列出" (list) with a concrete resource, 工程 (projects), and clarifies that what the tool returns depends on the deployment mode: in a unified client it returns currently connected projects, and in a single-project service it returns projects registered at startup. This is specific enough for an agent to act on. The main weakness is that it does not explicitly distinguish this tool from sibling tools such as cocos_instances or cocos_connection_status.

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?

There is no explicit "use this when…" guidance, and no alternatives are named, even though several sibling tools (cocos_instances, cocos_connection_status, cocos_project_connect, cocos_project_disconnect) cover adjacent project and connection concepts. The description only implies usage through its distinction between deployment modes. As a result, an agent can only infer when to choose this tool over its siblings.

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