Skip to main content
Glama
Wot-Design-Uni MCP

Wot-Design-Uni MCP

list-component-examples

Fetches Vue 3/UniApp code examples for a specific Wot-Design-Uni component by name, enabling quick reference and implementation of UI elements.

Instructions

获取 Wot-Design-Uni 特定组件的代码示例

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": {
      "componentName": "<componentName>"
    },
    "name": "list-component-examples"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentNameYes组件名称(如:Button、Table、Form)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and discloses almost nothing beyond an implied read: it does not say whether multiple examples are returned, what format the snippets take, whether the component must exist, or what happens for unknown component names. Only the verb 获取 hints at a non-mutating fetch.

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 short sentence with the resource and scope front-loaded and no wasted wording. Its brevity reflects under-specification elsewhere rather than verbosity, so it scores well on conciseness itself.

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 one-parameter read tool with a fully documented schema, the basics are covered. However, with no output schema, the description should have said what comes back (e.g., one or many snippets, language format) to make the definition complete.

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 coverage is 100% and the single componentName parameter is documented with an example value in the schema, so the schema does the heavy lifting. The description's phrase 特定组件 adds no syntax, casing, or matching rules beyond what the schema already states.

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 names a specific verb (获取) and resource (代码示例) scoped to a particular component of Wot-Design-Uni, so the agent knows exactly what the tool returns. It does not explicitly contrast itself with the sibling get-component-docs, but the resource type (code examples vs. docs) is stated concretely enough to differentiate.

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 when-to-use or when-not-to-use guidance; the description only restates what the tool fetches. The agent must infer from the sibling names whether examples or documentation are wanted, with no explicit routing from the definition.

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