Skip to main content
Glama

get_icons

Fetch icon SVG filenames, with optional filter by search term to locate specific icons.

Instructions

Returns the list of available icon SVG filenames. Optionally filter by a search term.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNoOptional substring to filter icon names (e.g. 'action', 'ab-', 'rpt')

Implementation Reference

  • The get_icons tool handler. It filters the ALL_ICONS array (defined at line 198) by an optional substring filter, then returns each icon filename with its full CDN URL.
    /* 10. get_icons */
    server.tool("get_icons", "Returns SVG icon filenames with full CDN URLs. Use filter to search by name. There are 195 icons available. Do NOT search for icons locally.", { filter: z.string().optional().describe("Substring to filter icon names (e.g. 'action', 'ab-', 'rpt', 'chevron')") }, async ({ filter }) => {
      let icons = ALL_ICONS;
      if (filter) { const f = filter.toLowerCase(); icons = icons.filter(i => i.toLowerCase().includes(f)); }
      if (!icons.length) return { content: [{ type: "text" as const, text: `No icons for "${filter}"` }] };
      return { content: [{ type: "text" as const, text: icons.map(i => `${i}  →  ${CDN_BASE}/assets/icons/${i}`).join("\n") }] };
    });
  • The ALL_ICONS static data array containing all 195+ icon filenames referenced by the get_icons handler.
    const ALL_ICONS = [
      "gauge-center.svg","icon-ab-arrow-left.svg","icon-ab-arrow-right.svg","icon-ab-column-new.svg",
      "icon-ab-column.svg","icon-ab-delete.svg","icon-ab-disable.svg","icon-ab-enable.svg",
      "icon-ab-more.svg","icon-ab-plus.svg","icon-ab-search.svg","icon-ab-table-view.svg",
      "icon-ab-toggle-view.svg","icon-action-approve.svg","icon-action-delete.svg","icon-action-edit.svg",
      "icon-action-more.svg","icon-actionbar-filter.svg","icon-actionbar-refresh.svg",
      "icon-actionbar-search.svg","icon-admin-settings.svg","icon-agent.svg",
      "icon-alert-avatar-small.svg","icon-alert-bell.svg","icon-alert-calendar.svg",
      "icon-alert-clock.svg","icon-alert-critical.svg","icon-alert-hourglass.svg","icon-alert-info.svg",
      "icon-alert-schedule.svg","icon-alert-success.svg","icon-alert-warning.svg",
      "icon-analysis-bell.svg","icon-analysis-sev-orange.svg","icon-analysis-sev-yellow.svg",
      "icon-analysis-sort.svg","icon-approve.svg","icon-apps-grid.svg","icon-avatar-person.svg",
      "icon-avatar-unassigned.svg","icon-back-arrow.svg","icon-back-button.svg",
      "icon-badge-high-risk.svg","icon-bot.svg","icon-btn-chevron-right-dark.svg",
      "icon-btn-chevron-right.svg","icon-btn-help-dark.svg","icon-btn-help.svg",
      "icon-btn-plus-dark.svg","icon-btn-plus.svg","icon-bulb.svg","icon-calendar-input.svg",
      "icon-calendar.svg","icon-checkbox-checked.svg","icon-checkbox-indeterminate.svg",
      "icon-checkbox.svg","icon-chevron-down.svg","icon-chevron-left.svg","icon-chevron-right.svg",
      "icon-close.svg","icon-dd-calendar.svg","icon-dd-settings.svg","icon-delete.svg",
      "icon-dropdown-chevron.svg","icon-edit.svg","icon-endpoint.svg","icon-export-history.svg",
      "icon-eye-hide.svg","icon-eye-show.svg","icon-filter.svg","icon-gauge-arc.svg",
      "icon-gauge-pointer.svg","icon-grip-vertical.svg","icon-help-circle.svg","icon-help.svg",
      "icon-inc-created-by.svg","icon-inc-severity-critical.svg","icon-inc-sla-clock.svg",
      "icon-inc-sort.svg","icon-incident.svg","icon-info.svg","icon-input-calendar.svg",
      "icon-input-filter.svg","icon-input-plus.svg","icon-iw-arrow-down.svg","icon-iw-close.svg",
      "icon-iw-export.svg","icon-iw-minimize.svg","icon-iw-plus.svg","icon-iw-workbench.svg",
      "icon-layout-template.svg","icon-linetab-settings.svg","icon-menu.svg","icon-metric-clock.svg",
      "icon-metric-trend-up.svg","icon-more.svg","icon-notif-close.svg","icon-notif-error.svg",
      "icon-notif-info.svg","icon-notif-success.svg","icon-notif-warning.svg","icon-notification.svg",
      "icon-number-down.svg","icon-number-up.svg","icon-os-linux.svg","icon-os-windows.svg",
      "icon-pin-attention.svg","icon-pin-critical.svg","icon-pin-trouble.svg","icon-plus.svg",
      "icon-ql-arrow.svg","icon-question.svg","icon-radio-checked.svg","icon-radio-unchecked.svg",
      "icon-refresh.svg","icon-report-help.svg","icon-report-settings.svg","icon-rpt-edit.svg",
      "icon-rpt-export.svg","icon-rpt-more.svg","icon-rpt-schedule.svg","icon-search-close.svg",
      "icon-search-settings.svg","icon-search.svg","icon-security.svg","icon-share.svg",
      "icon-sidemenu-settings.svg","icon-simple-filter.svg","icon-slider-close.svg","icon-sm-bulb.svg",
      "icon-sm-chevron-down.svg","icon-sm-chevron-right.svg","icon-sm-clock.svg","icon-sm-collapse.svg",
      "icon-sm-manage.svg","icon-status-disabled.svg","icon-status-info-high.svg",
      "icon-status-info-low.svg","icon-status-info-medium.svg","icon-status-not-started.svg",
      "icon-status-on-hold.svg","icon-status-partial-success.svg","icon-status-partial.svg",
      "icon-status-skipped.svg","icon-status-stopped.svg","icon-status-success.svg",
      "icon-status-waiting.svg","icon-status-warning.svg","icon-summary-bell.svg",
      "icon-system-settings.svg","icon-t2-ata.svg","icon-t2-avatar-unassigned.svg","icon-t2-avatar.svg",
      "icon-t2-calendar.svg","icon-t2-playbook.svg","icon-t2-rem-executing.svg",
      "icon-t2-rem-failed.svg","icon-t2-rem-success.svg","icon-t2-severity-critical.svg",
      "icon-t2-severity-medium.svg","icon-t2-thumbsup.svg","icon-t2-zia.svg",
      "icon-tab-ad-overview.svg","icon-tab-add-custom.svg","icon-tab-anomaly-trends.svg",
      "icon-tab-apache-overview.svg","icon-tab-aws-overview.svg","icon-tab-cloud-protection.svg",
      "icon-tab-entities.svg","icon-tab-event-overview.svg","icon-tab-microsoft-365.svg",
      "icon-tab-microsoft-dynamics.svg","icon-tab-network-overview.svg","icon-tab-pgsql-overview.svg",
      "icon-tab-salesforce-overview.svg","icon-tab-sql-server-overview-2.svg",
      "icon-tab-sql-server-overview.svg","icon-tag-close.svg","icon-tile-muted.svg",
      "icon-tile-sev-attention.svg","icon-tile-sev-critical.svg","icon-tile-sev-trouble.svg",
      "icon-tile-trend-down.svg","icon-tile-trend-up.svg","icon-tile-zia.svg",
      "icon-troubleshoot.svg","icon-upload.svg","icon-user-avatar.svg","icon-view-type.svg",
      "icon-widget-maximize.svg","icon-widget-notification.svg","icon-widget-schedule.svg",
      "icon-widget-sort.svg","icon-zia.svg","logo-log360.svg",
    ];
  • The CDN_BASE constant used to construct full CDN URLs for icons.
    const CDN_BASE = "https://cdn.jsdelivr.net/gh/Anguraj-zoho/elegant-cdn@main";
  • dist/index.d.ts:12-12 (registration)
    TypeScript declaration showing get_icons as one of the exposed MCP tools.
    *   get_icons          → icon file list (optionally filtered)
Behavior2/5

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

No annotations are present, so the description carries full burden. It mentions basic behavior (returns filenames, optionally filtered) but lacks details on edge cases (e.g., empty result, ordering, pagination, error handling).

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?

The description is a single, front-loaded sentence that efficiently conveys the tool's purpose and optional filter. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one optional parameter and no output schema, the description is adequate but could be improved by specifying return format (e.g., array of strings), behavior without filter, and case-sensitivity of the filter.

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% for the single parameter 'filter'. The description's mention of 'filter by a search term' adds no further meaning beyond the schema's description. Baseline 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 the tool returns a list of icon SVG filenames with an optional filter. The verb 'Returns' and resource 'list of available icon SVG filenames' are specific. It is distinct from siblings like get_anti_patterns or get_chart_snippet.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives is provided. There is no mention of when to use or not use this tool, nor any reference to sibling tools.

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/Anguraj-zoho/elegant-mcp'

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