Skip to main content
Glama

能力详情

cocos_capability_describe
Read-only

Retrieve exact parameter schemas, version ranges, side effects, source verification status, and historical evidence for a Cocos Creator capability before using or validating it.

Instructions

获取精确参数 Schema、版本范围、副作用、当前源码验证状态及历史证据

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "capabilityId": "<capabilityId>"
    },
    "name": "cocos_capability_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdNo
capabilityIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / projectId
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description adds useful context about what the response reveals (side effects, source verification status, historical evidence), but since no output schema exists, it should describe the return shape more concretely than a field list.

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?

A single dense sentence that front-loads the verb and enumerates return content with no filler. It is efficient, though the enumeration substitutes for structure rather than organizing the information for an agent.

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 read-only lookup with no output schema, the description helpfully pre-announces the categories of information returned, which is the most important gap-filler. However, it leaves both input parameters completely unexplained, which is the main incompleteness for a two-parameter tool.

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?

Schema description coverage is 0% for two parameters, so the description carries the full burden of explaining them. It says nothing about what capabilityId refers to (format, where to obtain it, e.g. from cocos_capability_search) or whether projectId is optional and how it scopes the result.

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 uses a clear verb (获取) and enumerates what a capability detail record contains: precise parameter schema, version range, side effects, source-verification status, and historical evidence. Combined with the title 能力详情 this distinguishes it from cocos_capability_execute and cocos_capability_search, though neither sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use instruction, no mention of calling this before cocos_capability_execute to inspect side effects, and no statement about how it differs from cocos_capability_search. The intended usage (inspect before executing) can only be inferred from the listed return fields.

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