Skip to main content
Glama

UICapsule

Get component

get_component
Read-only

Get one component by slug: its install command, npm dependencies, and the full source of every file it ships.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesSlug from search_components

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine context by disclosing what the read returns — install command, npm dependencies, and the full source of every bundled file — which signals a potentially large payload and helps an agent anticipate the response shape.

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?

A single well-formed sentence that front-loads the identifier (by slug) and follows with the return contents. No filler, no redundancy with the title.

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?

With no output schema, the description correctly shouldered the burden of describing return values, and it does so concretely (install command, deps, full file sources). It stops short of covering edge behavior such as an unknown slug or whether the payload is truncated, leaving a small gap for a tool whose output is the main deliverable.

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?

There is a single parameter with 100% schema description coverage ('Slug from search_components'), so the schema does the heavy lifting. The description only restates that lookup is by slug and adds no format or sourcing detail beyond what the schema provides, which is the correct baseline of 3.

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?

States a specific verb (Get) and resource (one component by slug), and even enumerates the payload contents: install command, npm dependencies, and full source of every file. The phrase 'one component by slug' implicitly contrasts with the bulk/query nature of search_components, so an agent can distinguish the two without opening a schema.

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?

Usage is only implied: retrieving a single component by its slug naturally follows a search, and the schema field notes 'Slug from search_components'. However, the description itself names no alternative, no when-not condition, and no prerequisite for obtaining a valid slug.

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.