Skip to main content
Glama

Icons8

Search illustrations

search_illustrations
Read-only

Search genuine Icons8 illustrations by keyword.

Illustrations are full scenes with people, objects and backgrounds. Reach for one when a page needs a hero image, an empty state, an onboarding step or a spot illustration. For a small symbol in a button, a menu or a table, use search_icons instead.

Every result carries preview.url: a permanent CDN link (a small webp, width and height beside it) that never expires and needs no second call. It is a preview, for choosing and for mock-ups. A sign-in whose plan covers illustrations gets it clean, and so does anyone for a hit with free_distribution: true; anyone else gets it watermarked, "Icons8 Ouch" tiled across the frame. To publish, download the file: get_illustration_png_url with size "standard" needs no plan, get_illustration_svg needs one.

Some illustrations are animated. A result says so in media_types, and almost all of those carry an animation block: webm and mov play the animation, poster is the still frame. They are previews - see below for what that costs - and get_illustration_animation is what returns a file to publish, along with the markup to publish it with.

animation.lottie says whether a Lottie JSON exists for this illustration, so you need not spend a call to find out. It is worth checking: Lottie is missing from most work added since 2024, and two illustrations in the same style often disagree about it. When it is false, do not ask get_illustration_animation for "lottie".

MIND THE SIZE, AND READ IT FROM THE BLOCK. The animation links are previews, 368x368 - fine for a spot, a card or a list row, too small for a hero banner or a full-width section. Do not infer the size from preview: the still preview is not square for about a third of illustrations, while the animation always is. When the slot is large, use poster (1200x1200, a still) or call get_illustration_animation for the full-size video.

THE ANIMATION LINKS ARE FOR CHOOSING, NOT FOR SHIPPING. Two limits, and both are invisible until the page is built:

  • No transparency. webm and mov here are flat against an opaque #F7F7F7, and the preview mov carries no alpha layer at all. On a coloured or dark section they render as a light-grey rectangle; on a hero they are 368px. Only poster is transparent.

  • A watermark, unless the account is entitled to the illustration. animation.watermarked says which you got, for these links, in this response: false means "Icons8 Ouch" is not tiled across the frame. It is false for a subscriber, and for anything with free_distribution: true whoever asks. It says nothing about the size or the transparency above, which apply either way.

Use them to pick an illustration, and poster where a still will do. For anything that ships, call get_illustration_animation and host the file: it is full size, transparent, and never watermarked.

A few animated illustrations carry no animation block at all, so read the block, do not assume it.

SEARCH TIPS:

  • Describe the scene, not the symbol: "team meeting", "online payment"

  • One or two words work better than a sentence

  • Pass style to keep a whole project on one visual family - get the available values from list_illustrations_styles

  • Pass category to narrow a broad word - "cat" alone returns over a thousand hits; in category "animal" it returns far fewer, and in "business" fewer still. Values come from list_illustrations_categories

  • Pass free_only=True for illustrations a free Icons8 account can use

ABOUT free_distribution IN THE RESULTS - do not warn the user about licensing based on it:

  • true means the illustration is available on a free Icons8 account and free to redistribute: the user may use and share it without a licence. Ouch skips the entitlement check for these and does not count them against a subscriber's allowance

  • false means it needs a paid account. For a subscriber that is the ordinary case - available, and counted against their allowance. It does NOT mean this user cannot have it, and it does NOT mean some second licence beyond their subscription is required Whether this user may download something is decided by the download call, not by this flag. Ask for the asset; if it is refused, the error says exactly what is missing. Never turn free_distribution: false into a licence warning of your own.

Args: query: What the illustration should show (max 150 characters) ctx: MCP context for API access style: Optional style pretty_id from list_illustrations_styles category: Optional category pretty_id from list_illustrations_categories free_only: Only illustrations a free Icons8 account can use and redistribute without a licence animated: True for animated only, False for static only. Nearly every animated result carries an animation block - webm and mov previews, for choosing rather than shipping, plus a poster frame - but a few carry none, and some carry the poster without the video, so check the block rather than assuming its keys. For the full-size original, use get_illustration_animation. amount: Results per page (default: 10, max: 100) page: Page number, 1-based (this API paginates by page, not offset)

Returns: {"total", "illustrations"}, each entry carrying id, heading, styles, tags, media_types and a permanent preview link - plus an animation block when media_types includes "animated" - or {"error"}. id is what get_illustration_svg, get_illustration_png_url and get_illustration_animation take as illustration_id; it is the only way to get an illustration's id. illustration_id repeats the id of the first entry only: choose among the entries. A note, when present, says what to try instead after an empty first page, or else why a subscriber got the watermarked previews this time.

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": {
      "query": "<query>"
    },
    "name": "search_illustrations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
queryYes
styleNo
amountNo
animatedNo
categoryNo
free_onlyNo

Output Schema

NameRequiredDescriptionDefault
noteNoSet on an empty first page: what to try instead. Otherwise set only when a subscriber got the watermarked previews this time, and says why.
errorNoSet only on failure.
totalNo
illustrationsNoMatching illustrations. Absent when error is set.
illustration_idNoThe id of the first result on this page, under the name get_illustration_svg and get_illustration_png_url take it; get_illustration_animation takes it only if that result's media_types includes animated. Other ids are in illustrations[].id. Absent when there is no result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / illustration_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The id of the first result on this page, under the name get_illustration_svg and get_illustration_png_url take it; get_illustration_animation takes it only if that result's media_types includes animated. Other ids are in illustrations[].id. Absent when there is no result.",
      +  "title": "Illustration Id"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / note / description
      Previous value: -"Set only when a subscriber got the watermarked previews this time, and says why."New value: +"Set on an empty first page: what to try instead. Otherwise set only when a subscriber got the watermarked previews this time, and says why."
  3. Changed1 schema field changed
    • addedOutput schema / properties / note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Set only when a subscriber got the watermarked previews this time, and says why.",
      +  "title": "Note"
      +}
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "IllustrationHit": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "animation": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Animation"
      +        },
      +        "free_distribution": {
      +          "anyOf": [
      +            {
      +              "type": "boolean"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Free Distribution"
      +        },
      +        "heading": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Heading"
      +        },
      +        "id": {
      +          "description": "Illustration id. Pass it as illustration_id to get_illustration_svg, get_illustration_png_url or get_illustration_animation.",
      +          "title": "Id",
      +          "type": "string"
      +        },
      +        "media_types": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Includes \"animated\" for an illustration get_illustration_animation accepts.",
      +          "title": "Media Types"
      +        },
      +        "pretty_id": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Pretty Id"
      +        },
      +        "preview": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Preview"
      +        },
      +        "styles": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "additionalProperties": true,
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Styles"
      +        },
      +        "tags": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Tags"
      +        }
      +      },
      +      "required": [
      +        "id"
      +      ],
      +      "title": "IllustrationHit",
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": true,
      +  "properties": {
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Set only on failure.",
      +      "title": "Error"
      +    },
      +    "illustrations": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/IllustrationHit"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Matching illustrations. Absent when error is set.",
      +      "title": "Illustrations"
      +    },
      +    "total": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Total"
      +    }
      +  },
      +  "title": "IllustrationSearchResult",
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the real burden and discharges it: permanent CDN preview links, watermark behavior by entitlement, the 368x368 preview size and non-square still previews, flat #F7F7F7 backgrounds on webm/mov with only `poster` transparent, and the explicit statement that the download call, not free_distribution, decides access. The only gap is that it never states result ordering or whether the search is exact/fuzzy matching.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the search_icons alternative are correctly front-loaded, and the headers (SEARCH TIPS, MIND THE SIZE, THE ANIMATION LINKS ARE FOR CHOOSING) make it skimmable. But it is roughly 700 words for a search call, and the same warning is restated several times: the animation links are previews-not-for-shipping is asserted in the intro, again under the watermarks bullet, and again in the closing sentence, and the Returns block largely repeats the paragraph above it. Tightening the duplicated licensing paragraphs would cost nothing.

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?

For a seven-parameter search with zero schema descriptions and an output schema, this is complete: it documents the result shape (`total`, `illustrations`, per-entry `id`, `styles`, `tags`, `media_types`, `preview.url`), names which downstream tools consume `id`, and flags the non-obvious `illustration_id`-covers-first-entry-only quirk. It also pre-empts the failure mode agents hit most often here by forbidding licence warnings derived from `free_distribution: false`.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% yet every one of the seven parameters is given meaning the schema lacks: query capped at 150 characters, amount default 10 / max 100, page '1-based (this API paginates by page, not offset)', style and category values sourced from the list_* tools, free_only tied to free-account redistribution, and animated defined as 'True for animated only, False for static only'. The search-tips section further adds query authoring guidance ('describe the scene, not the symbol', one or two words) and shows category narrowing with a concrete example.

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?

Opens with a specific verb+resource ('Search genuine Icons8 illustrations by keyword') and immediately characterizes the asset type ('full scenes with people, objects and backgrounds'), which is exactly the distinction an agent needs. It then names the sibling it is not ('For a small symbol in a button, a menu or a table, use search_icons instead'), so the tool is separable from search_icons without reading either schema.

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?

Gives explicit when-to-use contexts (hero image, empty state, onboarding step, spot illustration) and when-not (small symbol in a button/menu/table -> search_icons). It also routes downstream work: 'To publish, download the file: get_illustration_png_url with size "standard" needs no plan, get_illustration_svg needs one', and points to list_illustrations_styles and list_illustrations_categories for filter values.

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.