Skip to main content
Glama

Get icons drawn for the site

get_icons
Idempotent

Icon Room icons drawn for the product: the stroke weight from the direction's world and borders, the size from its type scale, the accent and quiet parts from its colour tokens (the main stroke is currentColor). Returns ONE React file with a typed, tree-shakeable named export per icon, or SVG strings. Costs like the Icon Room: 1 coin an icon, 10 for the whole archive (taken instead when that is no dearer), free on Max; anything taken stays open 30 days. preview: true shows the look and the price without spending.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_icons"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoEvery icon in the archive (10 coins once, free on Max).
dirNoProject-relative folder for the file (default "components").
sizeNoPixel size, or "ui" (default, the type scale step nearest 24) or "feature" (nearest 48).
iconsNoIcon names from browse_rooms (room "icon-room"), for example ["bell", "search", "cart"].
formatNo"react" (default): one TSX file. "svg": one standalone SVG per icon, colours resolved to the tokens.
strokeNoOverride the stroke width on the 24 grid.
previewNoOnly show the look, the usage and the price. Spends nothing.
direction_idNoThe direction_id (from set_direction or create_direction). Items are drawn in its stroke weight, sizes and colours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the billing model: 1 coin per icon, 10 for the whole archive (substituted when not dearer), free on Max, and that anything taken stays open for 30 days. It also explains the side-effect-free preview path, which reconciles why readOnlyHint is false while previews spend nothing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the deliverable, then cost, then preview – a sensible order with no filler sentences. It is dense and slightly idiosyncratic ('no dearer', 'the look and the price'), which costs a little clarity for a reader unfamiliar with the pricing idiom.

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 no output schema, the description correctly carries the return-shape burden, naming both the single TSX file and the per-icon SVG variant. Costs, preview behavior and the direction-driven defaults are all covered; only explicit sibling routing and default folder/format behavior are left to the schema, which handles them.

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 is 3, but the description adds real meaning: stroke weight derives from the direction's world and borders, size from its type scale, accents from colour tokens, and the main stroke is currentColor. That explains how default:true values actually get resolved from direction_id, which the schema alone does not.

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?

Opens with a specific resource and scope ('Icon Room icons drawn for the product') and states the concrete deliverable: one React file with a typed, tree-shakeable named export per icon, or SVG strings. It is distinguishable from get_component and get_dots by naming the Icon Room explicitly, though the verb is more implied ('get') than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Useful routing hints exist: icons come from browse_rooms in room 'icon-room', and preview: true shows look and price without spending, which implies a cheap first look before a paid draw. However there is no explicit when-to-use versus when-to-pick another tool, and no stated prerequisite beyond an optional direction_id.

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