Skip to main content
Glama

get_component_info

Get exact props (with types and defaults), code examples, composition patterns, and common mistakes for a single @marmoui/ui component. REQUIRED before using any component for the first time in a session — prevents hallucinated props (e.g. variant="danger" on Badge, size="lg" on Text) that fail at build time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
componentNameYesName of the component to get information about (e.g. "Button", "Card", "Input")

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses what the tool returns (props, types, defaults, examples, composition patterns, mistakes) and frames it as a read/preflight action to prevent build failures. While it doesn't explicitly state 'no side effects', the verb 'Get' strongly implies a read-only operation, and the description provides meaningful context beyond the schema.

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 sentences with no filler. The first sentence front-loads the primary purpose and lists the exact content categories. The second establishes a mandatory usage instruction and provides concrete failure examples. Every part earns its place.

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

Completeness5/5

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

For a one-parameter retrieval tool with no output schema, the description thoroughly explains what the agent will receive (props, types, defaults, examples, patterns, mistakes) and when to invoke it. The sibling tool context makes its role clear, and the description covers all necessary information for correct use.

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 already fully documents the single parameter componentName with an explanatory example, so schema coverage is 100%. The description reinforces that this applies to a single component and explains why the name matters (to avoid wrong props), but it doesn't add new syntactic or format details beyond what the schema provides. Baseline 3 is appropriate.

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 uses a specific verb ('Get') and clearly defines the resource: exact props with types and defaults, code examples, composition patterns, and common mistakes for a single @marmoui/ui component. It distinguishes itself from sibling tools like list_components or search_components by focusing on a single component and prescribing the exact detail level.

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool: REQUIRED before using any component for the first time in a session. It also provides a compelling rationale (prevents hallucinated props that fail at build time). It doesn't enumerate alternatives or when-not-to-use cases, but the mandatory-before-use instruction gives clear context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools have distinct purposes, but there is some overlap between review_generated_code and validate_component_usage, and between list_components and search_components. However, descriptions clearly differentiate their intended use cases, reducing ambiguity.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (e.g., get_component_info, generate_component, review_generated_code). The naming is predictable and clearly indicates the action.

Tool Count5/5

14 tools is well-scoped for a UI design system assistant. It covers component discovery, detailed info, design guidelines, theme, code generation and validation, and prototype management without being overwhelming.

Completeness5/5

The tool set covers the full workflow: discover components, get patterns, get design guidelines, generate and validate code, get tenant theme, deploy prototypes and collect feedback. No obvious gaps for the intended usage scenario.

Resources