Skip to main content
Glama

Get a component

get_component

Classes, accessibility notes and example HTML for one component.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose the return payload (classes, accessibility notes, example HTML), which is genuinely useful read-side context. However it says nothing about permissions, caching, pagination, or failure 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?

One short, front-loaded sentence with no filler — efficient. It is arguably too terse, omitting a verb and any routing hint, but nothing in it is wasted.

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 simple read-only fetch with well-populated enum and no output schema, the description covers the essentials of what comes back. It falls short on disambiguating from the many sibling tools and on any usage conditions.

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%, but the single 'id' parameter has a large self-documenting enum of component slugs, and 'one component' implies the id selects a single item. The description adds no syntax, format, or default detail beyond what the enum already conveys, so this is baseline-adequate rather than compensating.

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 the resource ('one component') and enumerates the payload it returns: classes, accessibility notes, and example HTML. That is a clear, specific purpose, though it is a noun phrase with no verb and does not explicitly contrast with overlapping siblings like get_component_source or get_example.

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 guidance on when to use this tool versus the several closely related siblings (get_component_source, get_accessibility_notes, get_example). An agent must infer that this is the bundled 'everything about one component' call rather than the narrower ones.

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.

Resources