Skip to main content
Glama

Search/fetch professional vector icons (Iconify)

riv_asset_search

Search Iconify icons by keyword, then fetch a chosen icon and convert it into Rive shapes for animation scenes.

Instructions

Search Iconify's ~200k professionally designed open-source icons and convert one directly into Rive shapes. Two modes: query-only returns matching icon names; icon+outSpec downloads the SVG and imports it (same output as riv_import_svg). Requires network access to api.iconify.design.

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": "riv_asset_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNoIcon to fetch, e.g. 'solar:rocket-bold' (from a previous search)
limitNoMax results (default 24)
queryNoSearch terms, e.g. 'rocket launch'
outSpecNoRequired with icon: output scene-fragment JSON path
idPrefixNoPrefix for generated shape ids; applies when fetching an icon (default: the icon name with non-alphanumerics replaced, plus an underscore)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • addedInput schema / properties / idPrefix / description
      Added value: +"Prefix for generated shape ids; applies when fetching an icon (default: the icon name with non-alphanumerics replaced, plus an underscore)"
  2. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses the external network dependency on api.iconify.design, that the SVG is downloaded and imported into Rive, and that output matches riv_import_svg. It leaves unspecified whether the import mutates the active document or only writes the outSpec file, and says nothing about network failure or rate-limit behavior.

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 short sentences, front-loaded with scale and purpose, then modes, then the environment prerequisite. Every sentence adds information; nothing is repeated from the schema or title.

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?

For a 5-parameter, annotation-free, no-output-schema tool, the description covers purpose, mode selection, network requirement, and return-shape parity with a sibling. The remaining gap is what exactly happens to the target Rive document on import, which matters for an agent deciding whether this is a safe read or a mutation.

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 meaning the schema cannot express: which parameters form which mode and that icon+outSpec are jointly required for the import path. Defaults and formats are already in the schema, so no further compensation is needed.

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?

States a specific verb and resource ('Search Iconify's ~200k ... icons') plus the conversion behavior, and separates itself from riv_import_svg by declaring output parity. The dual-mode framing lets an agent distinguish the search-only and fetch-and-import paths without opening the schema.

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?

Explicitly lays out the two operating modes and the parameter combinations that select them ('query-only returns ...', 'icon+outSpec downloads and imports'), and states the network prerequisite. It stops short of an explicit when-to-use-this-vs-riv_import_svg rule, though 'same output as riv_import_svg' implicitly routes local-SVG cases to the sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.