Skip to main content
Glama

Install a Wisty UI item

get_install_command
Read-onlyIdempotent

Get the steps to install one Wisty UI item: the shadcn command, and the theme and icon steps it needs. First read style and tailwind.css from the project's components.json, and whether it has a src/ folder; a project without components.json runs npx shadcn@latest init first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "style": "<style>"
    },
    "name": "get_install_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe item's name, like "lookup".
styleYesThe "style" in the project's components.json, like "radix-nova" or "base-nova": it picks the Radix or Base UI version.
srcDirNoWhether the project has a src/ folder. Left out, a tailwindCss under src/ means yes.
themedNoTrue when the stylesheet already has Wisty UI's theme (--color-page in its @theme inline, or a tokens.css import), to leave the theme step out.
tailwindCssNoThe "tailwind.css" path as components.json gives it, like "src/index.css", for the exact theme import lines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / name / description
      Previous value: -"The item's name, like \"lookup\", as search_components and list_components give it."New value: +"The item's name, like \"lookup\"."
    • changedInput schema / properties / srcDir / description
      Previous value: -"Whether the project has a src/ folder, where the shadcn CLI puts the theme files. Without it, a tailwindCss under src/ is taken to mean one."New value: +"Whether the project has a src/ folder. Left out, a tailwindCss under src/ means yes."
    • changedInput schema / properties / style / description
      Previous value: -"The \"style\" field of the project's components.json, like \"radix-nova\" or \"base-nova\". It picks the Radix or Base UI version."New value: +"The \"style\" in the project's components.json, like \"radix-nova\" or \"base-nova\": it picks the Radix or Base UI version."
    • changedInput schema / properties / tailwindCss / description
      Previous value: -"The \"tailwind.css\" path from components.json, like \"src/index.css\", relative to the project. It gives the exact lines for importing the theme by hand; without it, the steps name the files to import instead."New value: +"The \"tailwind.css\" path as components.json gives it, like \"src/index.css\", for the exact theme import lines."
    • changedInput schema / properties / themed / description
      Previous value: -"True when the stylesheet already has Wisty UI's theme: --color-page in its @theme inline, or an import of tokens.css. Leaves the theme step out."New value: +"True when the stylesheet already has Wisty UI's theme (--color-page in its @theme inline, or a tokens.css import), to leave the theme step out."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered. The description adds behavior the annotations do not: it is a computation over project config rather than a fetch of stored data, and it encodes a conditional init path for projects without components.json.

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 filler: the first front-loads what the tool produces, the second front-loads the prerequisites needed before calling it. Nothing is repeated and the conditional init rule is compactly stated.

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 five parameters and no output schema, the description carries the burden of describing the return value, and it does so at a high level (shadcn command, theme step, icon step). Combined with the annotations and full schema coverage, an agent has enough to call it correctly, though the exact shape of the returned steps is only sketched.

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 every parameter including the optional srcDir, themed, and tailwindCss is already documented in the schema with derivation rules. The description restates the components.json sourcing of style and tailwind.css but adds no format or constraint detail beyond what the schema provides, which is the baseline-3 case.

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 a specific verb and resource ("Get the steps to install one Wisty UI item") and enumerates what those steps contain: the shadcn command plus theme and icon steps. That distinguishes it from siblings like get_component or get_example, though it never names those siblings explicitly.

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?

It gives concrete preconditions: read style and tailwind.css from the project's components.json and check for a src/ folder, and it states the branch case where a project lacking components.json must run npx shadcn@latest init first. It does not explicitly say when to prefer this over get_component, so the sibling routing is left implicit.

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