Skip to main content
Glama

Get an appCN install command

get_install_command

Returns the exact install command for any appCN component with three methods: appCN CLI, shadcn namespaced, or shadcn by URL. Supports npm, pnpm, yarn, or bun.

Instructions

The exact command to add an appCN component to a project. Returns three install methods — the appCN CLI (recommended; handles NativeWind + Reanimated setup), shadcn namespaced, and shadcn by URL (zero setup) — for the requested package manager (or all of them).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesComponent slug, e.g. 'button' or 'voice-sphere'.
managerNoPackage manager: npm, pnpm, yarn, or bun. Omit to get commands for all four.
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It describes what is returned (three install methods) but does not explicitly state that it is a read-only, non-destructive operation. Given the nature of a 'get' command, this is adequate but not fully transparent.

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 with no fluff. The key information (purpose, return format, options) is front-loaded and efficient.

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?

The description explains the three install methods and the optional package manager parameter. There is no output schema, but the description covers the return content adequately. Minor gap: no mention of error handling or edge cases like invalid slug.

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 100%, so the input schema already documents both parameters well. The description adds context about the return format but not much beyond the schema. Baseline of 3 is appropriate.

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 it returns the exact install command for an appCN component, specifying three methods and the context of adding to a project. It distinguishes from sibling tools like get_component or list_components by focusing on installation.

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 implies when to use this tool (when needing the install command) and mentions the three methods but does not explicitly state when not to use it or name alternatives. However, the context is clear enough for an agent to infer.

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/Salah-XD/appCN'

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