Skip to main content
Glama

能力详情

cocos_capability_describe
Read-only

Retrieve a CocosMCP capability's parameter schemas, version ranges, side effects, and validation status. Use this to assess compatibility and risks before invoking the operation.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capabilityIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false. The description adds value by disclosing the categories of information returned (version range, side effects, source validation status, historical evidence), which enriches the agent's understanding of what the tool reports without contradicting the read-only annotation.

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?

A single dense sentence that front-loads the action verb and enumerates exactly what is retrieved. Every clause earns its place with no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one simple parameter, no output schema, and read-only annotations, the description compensates by enumerating the return categories (schema, version range, side effects, validation status, evidence). It is complete enough for a describe tool; a minor gap is not mentioning that capabilityId typically comes from a prior cocos_capability_search.

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 0%, so the description bears responsibility for the parameter. However, there is only one parameter, capabilityId, whose semantics are self-evident from its name and the tool title. The description adds no explicit detail about the parameter but none is critically needed for a single string ID.

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 states a specific verb ('获取' - retrieve) and a well-defined resource: precise parameter schema, version range, side effects, validation status, and historical evidence for a given capability. This implicitly differentiates it from cocos_capability_search (which finds capabilities) and cocos_capability_execute (which runs them), though it never names those siblings explicitly.

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?

Usage is implied by the need for a capabilityId and the describe-vs-search contrast with cocos_capability_search, but there is no explicit statement of when to prefer this tool over alternatives or when not to use it. An agent must infer that this is the follow-up to a search.

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