Get install command
get_install_commandThe exact shadcn CLI command that installs an item, for npm, pnpm, yarn or bun. Run it in the project's root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | ||
| packageManager | No | npm |
get_install_commandThe exact shadcn CLI command that installs an item, for npm, pnpm, yarn or bun. Run it in the project's root.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | ||
| packageManager | No | npm |
Changes observed during successful MCP inspections.
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 that the output is a runnable shell command scoped to a project root, but says nothing about behavior for unknown item names, whether the command is versioned, or whether it assumes the CLI is installed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the return value and followed by the one operational caveat. Nothing redundant, nothing padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read tool with no output schema, it does indicate the return type (a command string). However, it omits what the type parameter selects and how failures/unsupported items are surfaced, which an agent needs to use it confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry parameter meaning. It covers packageManager well (npm/pnpm/yarn/bun) and implies name is the item identifier, but the six-value type enum (component, chart, block, template, pattern, hook) is never explained, leaving a third of the parameters opaque.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a concrete verb and resource: it returns the exact shadcn CLI install command for an item, across four package managers. That clearly separates it from get_item (item data) and the list/search siblings, which never return shell commands.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description tells the agent what to do with the result ("Run it in the project's root"), which is useful operational context. But it gives no when-to-use versus get_item, no prerequisites, and no exclusions, so selection guidance remains implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.