Skip to main content
Glama
MarzLars

Unity UIToolkit MCP Server

by MarzLars

get_uitoolkit_code_example

Retrieve actual implementation samples from Unity's UI Toolkit manual code examples repository, showing real syntax and usage patterns.

Instructions

Fetches actual code examples from Unity's official UI Toolkit manual code examples repository (https://github.com/Unity-Technologies/ui-toolkit-manual-code-examples). Use this to retrieve real implementation samples showing UIToolkit syntax and usage patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
example_nameYesName or path of the example to retrieve (e.g., 'simple-list-view', 'custom-control', 'data-binding', or a file path like 'ListView/SimpleListView.cs')
Behavior3/5

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

No annotations are provided, so the description must disclose behaviors. It implies a read-only fetch operation but does not explicitly state that it is non-destructive or lacks side effects. The description is adequate but not rich.

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 two concise sentences that immediately convey the tool's purpose and usage. There is no unnecessary information.

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?

The description explains what the tool does and where it fetches examples from. However, it does not describe the format of the returned code examples or the response structure. Given the lack of an output schema, this is a minor gap.

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?

The schema description coverage is 100% for the single parameter, so the baseline is 3. The description adds no additional meaning beyond what the schema already provides for 'example_name'.

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 clearly states that the tool fetches actual code examples from a specific repository (Unity's UI Toolkit manual code examples repo), making its purpose unambiguous. It differentiates from sibling tools by specifying the exact source.

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?

The description provides a clear usage scenario ('retrieve real implementation samples showing UIToolkit syntax and usage patterns') but does not explicitly state when not to use it or mention alternatives among the sibling tools.

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

Install Server

Other Tools

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/MarzLars/UIToolkitMCP'

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