Skip to main content
Glama

Get the install command and import for an AI Canvas icon

get_icon_install
Read-onlyIdempotent

Get the shadcn command to install one AI Canvas icon as an editable TSX file plus its shared IconBase runtime, exact import, and JSX usage. Search icon names first; line style is free.

Instructions

Return the shadcn command that installs one AI Canvas icon as an editable file (components/icons/.tsx plus the shared IconBase runtime), with the exact import and JSX to use it. Line is free, no account needed; Duotone, Solid and Solid duotone are Premium. Find names with search_icons 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>"
    },
    "name": "get_icon_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe icon name from search_icons, e.g. "search" or "arrow-up-right".
styleNoIcon style. Default "line".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, open-world and idempotent semantics, so the description correctly spends its words elsewhere: it discloses that the output is an editable file on disk plus the runtime dependency, and that some styles are gated behind a paid tier with no account required for the free one. That is real behavioral context beyond the annotations, though it does not mention overwrite behavior if the file already exists or any rate limits.

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 return value, then constraints and the prerequisite. Every clause carries information: file paths, runtime dependency, import/JSX, tier gating, discovery step. No restatement of the title or the name.

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?

With no output schema, the description carries the return-value burden and does so by enumerating the command, the two files emitted, and the import/JSX snippet. Combined with a fully documented 2-parameter schema and safety annotations, an agent has enough to call this correctly and predict the response shape.

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?

Schema coverage is 100%, so the baseline would be 3; the description earns the bump by binding `name` to the output of `search_icons` and by explaining that the `style` enum is not neutral — "line" is free while the other three are Premium. That pricing-tier distinction is meaning the enum alone does not convey.

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?

"Return the shadcn command that installs one AI Canvas icon" states a concrete verb and resource, and the parenthetical spells out exactly what is produced (components/icons/<name>.tsx plus the shared IconBase runtime) along with the import and JSX. The scoping word "one" and the icon-specific framing separate it from component- and skill-install siblings without the agent needing to open any schema.

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?

"Find names with `search_icons` first" gives an explicit prerequisite step and points at the right sibling for discovery. The tier note (Line free, Duotone/Solid/Solid duotone Premium) tells the agent when a style choice has cost implications. There is no explicit when-not-to-use case, so it falls short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.