Skip to main content
Glama

Preview Icons

preview_icons
Read-onlyIdempotent

Refine an icon result set or preview known icon refs returned by another Supericons tool. Use search_icons first for normal icon requests. Long icon lists are accepted and safely truncated to 12. Returns ready-to-use Markdown, a hosted preview fallback, a direct PNG image URL, and, when requested, an MCP image contact sheet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRequested inline icon count. Values outside 1 to 12 are safely clamped with a warning. Numeric strings are accepted.
queryNoOptional search query to preview visually, for example "license plate recognition camera scan car".
styleNoOptional style preference. Unsupported values are ignored with a warning.any
localeNoOptional locale for multilingual search terms. Supported values: zh-Hans, zh-Hant, ja, ko, es, de, pt, ar, hi, vi, th. Unsupported values are ignored with a warning.
libraryNoOptional library key. Supported values include si (Supericons AI and developer tool logos), lucide, tabler, phosphor, heroicons, bootstrap, iconoir, ionicons, material, simpleicons (Simple Icons brand logos), and mingcute.
icon_refsNoOptional fixed icon refs in library:id format. Arrays, a single ref, and comma-separated refs are accepted. Up to 100 are accepted, 24 appear on the browser preview, and 12 are rendered inline. Larger lists are safely truncated with a warning.
include_imageNoWhen true, include a PNG contact sheet as MCP image content. Boolean strings are accepted. A preview_url is always returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoRecoverable error message when preview inputs are missing or invalid.
queryNoSearch query used for the visual preview, if any.
resultsYesIcons included in the visual preview.
warningsNoUnsupported optional inputs that were safely ignored.
image_urlNoDirect PNG URL for clients or Markdown renderers that can show remote images.
next_stepYesUseful next action for the caller.
preview_urlYesBrowser URL for visual inspection.
image_includedYesWhether this response includes MCP image content.
markdown_imageNoReady-made Markdown image snippet for final answers in clients that render remote Markdown images.
rendered_countYesNumber of icons rendered in the inline preview.
truncated_fromNoOriginal icon ref count when the input was truncated.
client_display_noteYesPlain-language note for clients that do not render images inline.
browser_preview_countYesNumber of accepted icon refs available at preview_url.
suggested_response_markdownNoReady-to-use answer with the image, refs, and browser fallback link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / suggested_response_markdown
      Added value: +{
      +  "description": "Ready-to-use answer with the image, refs, and browser fallback link.",
      +  "type": "string"
      +}
  2. Changed24 schema fields changed
    • changedInput schema / properties / icon_refs / description
      Previous value: -"Optional fixed icon refs in library:id format, for example [\"si:x-ai\", \"mingcute:scan_2_line\"]."New value: +"Optional fixed icon refs in library:id format. Arrays, a single ref, and comma-separated refs are accepted. Up to 100 are accepted, 24 appear on the browser preview, and 12 are rendered inline. Larger lists are safely truncated with a warning."
    • removedInput schema / properties / icon_refs / maxItems
      Removed value: -12
    • changedInput schema / properties / include_image / description
      Previous value: -"When true, include a PNG contact sheet as MCP image content. A preview_url is always returned."New value: +"When true, include a PNG contact sheet as MCP image content. Boolean strings are accepted. A preview_url is always returned."
    • addedInput schema / properties / library / $ref
      Added value: +"#/properties/query"
    • removedInput schema / properties / library / type
      Removed value: -"string"
    • changedInput schema / properties / limit / default
      Previous value: -9New value: +12
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum icons to include in the preview. Keep this small for image-capable clients."New value: +"Requested inline icon count. Values outside 1 to 12 are safely clamped with a warning. Numeric strings are accepted."
    • removedInput schema / properties / limit / maximum
      Removed value: -12
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "string"
      +]
    • addedInput schema / properties / locale / $ref
      Added value: +"#/properties/query"
    • changedInput schema / properties / locale / description
      Previous value: -"Optional locale for multilingual search terms. Supported values: zh-Hans, zh-Hant, ja, ko, es, de, pt, ar, hi, vi, th."New value: +"Optional locale for multilingual search terms. Supported values: zh-Hans, zh-Hant, ja, ko, es, de, pt, ar, hi, vi, th. Unsupported values are ignored with a warning."
    • removedInput schema / properties / locale / enum
      Removed value: -[
      -  "zh-Hans",
      -  "zh-Hant",
      -  "ja",
      -  "ko",
      -  "es",
      -  "de",
      -  "pt",
      -  "ar",
      -  "hi",
      -  "vi",
      -  "th"
      -]
    • removedInput schema / properties / locale / type
      Removed value: -"string"
    • addedInput schema / properties / style / $ref
      Added value: +"#/properties/query"
    • changedInput schema / properties / style / description
      Previous value: -"Optional style preference."New value: +"Optional style preference. Unsupported values are ignored with a warning."
    • removedInput schema / properties / style / enum
      Removed value: -[
      -  "any",
      -  "outline",
      -  "solid"
      -]
    • removedInput schema / properties / style / type
      Removed value: -"string"
    • addedOutput schema / properties / browser_preview_count
      Added value: +{
      +  "description": "Number of accepted icon refs available at preview_url.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / next_step
      Added value: +{
      +  "description": "Useful next action for the caller.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / rendered_count
      Added value: +{
      +  "description": "Number of icons rendered in the inline preview.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated_from
      Added value: +{
      +  "description": "Original icon ref count when the input was truncated.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "Unsupported optional inputs that were safely ignored.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "preview_url",
      -  "image_included",
      -  "client_display_note",
      -  "results"
      -]New value: +[
      +  "preview_url",
      +  "image_included",
      +  "rendered_count",
      +  "browser_preview_count",
      +  "next_step",
      +  "client_display_note",
      +  "results"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / image_url
      Added value: +{
      +  "description": "Direct PNG URL for clients or Markdown renderers that can show remote images.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / markdown_image
      Added value: +{
      +  "description": "Ready-made Markdown image snippet for final answers in clients that render remote Markdown images.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond read-only/idempotent annotations, the description discloses truncation behavior for long icon lists and outlines the return format (Markdown, hosted preview, PNG URL, optional MCP contact sheet), adding useful behavioral context.

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?

Three sentences front-load purpose, provide usage guidance, and summarize outputs without unnecessary fluff.

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 a rich schema and output schema, the description covers purpose, alternatives, and key behaviors, making it complete for an agent to select and invoke correctly.

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 coverage is 100% with descriptive parameter details, so the description does not need to explain parameters. It adds a small amount of context by referencing icon_refs, but the schema already covers semantics.

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 a specific action ('Refine an icon result set or preview known icon refs') and resource ('icon refs returned by another Supericons tool'), distinguishing it from search_icons which is the primary request tool.

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

Usage Guidelines5/5

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

Explicitly instructs to use search_icons first for normal icon requests, positioning this tool as a refinement/preview step. Also implies it works with refs from other Supericons tools, providing clear when-to-use context.

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.