Skip to main content
Glama

Get the install command

get_install_command
Read-only

Generates a single npx shadcn add command to install multiple components at once. Handles duplicates and reports unknown component names.

Instructions

One npx shadcn@latest add command installing all the named components at once. Duplicates collapse; names with no such component come back under unknown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesYesComponent names to install.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
unknownYes
componentsYes
Behavior5/5

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

The description adds valuable behavior beyond the annotations: duplicates are collapsed and unknown names are returned under 'unknown'. Since readOnlyHint and openWorldHint are already provided, this disclosure of edge-case handling is strong and non-contradictory.

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?

Two sentences, front-loaded with the core action, and no filler. Every word contributes to understanding the tool's behavior.

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?

Given the tool's simplicity, the presence of an output schema, and read-only annotations, the description covers all essential aspects: purpose, bulk behavior, duplicate handling, and unknown-name handling. No significant gaps remain.

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?

The schema already has 100% coverage with descriptions for the 'names' parameter and its items. The description adds meaning by explaining how the parameter values are processed (duplicates collapse, unknown names grouped), which goes beyond raw schema definitions.

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 the tool produces a single `npx shadcn@latest add` command for the named components. This specific verb+resource combination distinguishes it from sibling tools like search_components or get_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 conveys clear context: use this when you want a bulk install command for specific component names. It does not explicitly name alternatives or exclusions, but the purpose is unambiguous in the context of 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/reuvenaor/encode-ui'

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