Skip to main content
Glama

Match icon names

match_icons
Read-onlyIdempotent

Many icon names at once, as a project's UI icon set writes them (arrow-right, circle-check, shopping-cart, trash-2, HomeIcon), each with the closest IconSaga icon: to swap the icons of a whole project in one call. match is "name" (a known name), "search" (found by meaning) or "none". Then get_icon for the code of each.

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": {
      "names": "<names>"
    },
    "name": "match_icons"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the labels (as in search_icons). Default en
namesYesUp to 60 icon names
styleNoOnly icons available in this style

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 usefully adds the shape of the result without an output schema: each name comes back with its closest icon and a match classification of "name", "search", or "none", which tells the agent how to interpret low-confidence mappings.

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?

It is short and front-loads the batch purpose, and every sentence carries information. The phrasing is choppy — it opens with a fragment ("Many icon names at once") and the final sentence ("Then get_icon for the code of each") is abrupt — but nothing is redundant.

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 does the necessary work of explaining the returned match classification and the closest-icon pairing, so an agent knows what comes back. It does not mention ordering, partial-match behavior, or the 60-name cap (left to the schema), but nothing critical for correct invocation is missing.

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 schema already documents lang, names, and style. The description still adds meaning by illustrating the accepted name formats (kebab-case and PascalCase like HomeIcon) and by tying lang to search_icons semantics, which is more than the schema states.

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 states a specific operation on a specific resource: take many icon names (with concrete examples like arrow-right, circle-check, HomeIcon) and return the closest IconSaga icon for each. It also implicitly differentiates from siblings by naming get_icon as the follow-up for code and referring to search_icons for the lang parameter.

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 a clear use case ("to swap the icons of a whole project in one call") and a workflow step ("Then get_icon for the code of each"). It does not explicitly say when to use search_icons or get_icon instead of this batch tool, so an exclusion statement is missing, but the intended context is clear.

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.