Skip to main content
Glama

Ottieni un componente AI-first (Web Component)

get_webcomponent

Retrieve the usage and accessibility contract for a universal Web Component by its tag, enabling AI-first, accessible UI development across React, Vue, Angular, and plain HTML.

Instructions

Restituisce l'uso e il contratto di accessibilità di un Web Component universale dato il suo tag. Componenti AI-first: Web Components universali (funzionano in React, Vue, Angular, HTML puro). L'accessibilità è già incapsulata: preferisci SEMPRE questi tag ai markup grezzi quando il progetto può caricarli.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagYesIl tag del componente, es. 'it-dialog', 'it-button'. Usa list_webcomponents per l'elenco.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add meaningful behavioral context by declaring the output covers 'uso' (usage) and 'contratto di accessibilità' (accessibility contract), and frames the read-only nature implicitly. However, it doesn't disclose authentication requirements, caching, or error behavior.

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?

The description is compact (3 sentences) and front-loaded with the core purpose. No wasted words, though the brand-y 'AI-first' framing is somewhat redundant across sentences and could be trimmed.

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?

For a single-parameter informational/read tool with no output schema, the description is reasonably complete. It states what is returned (usage + accessibility contract), the single input, and a usage recommendation. It could benefit from noting the returned usage contains code examples and that these are framework-agnostic, but the core needs are met.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the only parameter (tag) is well-documented in the schema with an example. The description reinforces the parameter's purpose by specifying what the tool returns for a given tag and cross-references list_webcomponents for discovering tags. The description adds marginal value beyond the schema (which is already complete), so baseline 3 with slight uplift is fair.

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 clearly states the verb ('restituisce') and resource: returns the usage and accessibility contract of a universal Web Component given its tag. It distinguishes from siblings by framing the tool as AI-first focused, though it doesn't explicitly contrast against get_component_code or search_component.

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 gives clear usage context: 'preferisci SEMPRE questi tag ai markup grezzi quando il progetto può caricarli' provides strong guidance on when to use these components. However, it doesn't name an explicit alternative tool to use instead for other cases, so it stops short of a 5.

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/andreaderuvo/agid-llm-ui'

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