Single tool 'search-icons' has strong naming (verb-first, clear action), comprehensive description (380+ chars with usage examples), and well-defined input/output schemas with Zod validation. Tool annotations present (readOnlyHint, idempotentHint). However, output schema lacks field-level descriptions in the structured response, and error handling guidance is absent. No recovery hints for edge cases (e.g., no matches found). Description is excellent but could be more concise for LLM token efficiency.
Use this to search for a list of Lucide icons using tokenised matching. Each tool call should receive an array of sub-arrays of keywords as input to use in the search. Each sub-array should contain related keywords that convey a specific concept or visual meaning. Avoid the use of articles (e.g. 'a', 'the') and prepositions (e.g. 'in', 'on') in keywords if possible. The tool will return an array of sub-arrays of icon names such that each output sub-array contains icon names that match the search criteria for that specific input sub-array. Then, from the list of matches, select the most appropriate icon name. Usage Example: To search for icons that represents the concepts "home page", "graph" and "warning", you might call: ``` search-icons({ keywords: [["home", "house"], ["graph", "chart"], ["danger"]] }) ``` This will return an output similar to: ``` { "matches": [ [ "birdhouse", "house-heart", "house-plug", "house-plus", "house-wifi", "house", "map-pin-house" ], [ "chart-area", "chart-bar-big", "chart-bar-decreasing", "chart-bar-increasing", "chart-bar-stacked", "chart-bar", "chart-candlestick" ], [ "book-alert", "circle-alert", "cloud-alert", "file-exclamation-point", "message-circle-warning", "message-square-warning", "octagon-alert", "skull", "triangle-alert" ] ] } ``` How to use icon names in code: - With React: Convert the selected icon name to Pascal-case and import as a component from the 'lucide-react' package. - With React Native: Convert the selected icon name to Pascal-case and import as a component from the 'lucide-react-native' package. - With Astro: Convert the selected icon name to Pascal-case and import as a component from the '@lucide/astro' package.
Output schema lacks field-level descriptions. The 'matches' array is documented, but the structure of each sub-array (array of strings) has no description explaining what each string represents (icon name format, case convention, etc.).
No error handling guidance. Tool description does not explain what happens if no icons match the keywords, or how the LLM should handle an empty result set. Recovery hints are missing.
Tool description is verbose (380+ chars) and includes implementation details (React/React Native/Astro import instructions) that belong in documentation, not the tool definition. This wastes LLM tokens and dilutes the core purpose statement.
No guidance on keyword format or constraints. Description mentions avoiding articles and prepositions but does not specify minimum/maximum keyword length, case sensitivity, or what happens with invalid input (e.g., empty strings, special characters).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2025-06-18+ | v2 |
Response structure mixes text and structuredContent. The tool returns both a JSON string in 'text' and a 'structuredContent' object. LLMs may parse the text field instead of using the structured output, defeating the purpose of structured responses.