Skip to main content
Glama

Icons8

Get illustration SVG link

get_illustration_svg
Read-only

Get an illustration as SVG - PREFERRED FORMAT for Icons8 illustrations. SVG scales to any size without losing quality; a PNG is a fixed-size raster. A paid illustration needs a signed-in Icons8 account whose plan covers illustrations and MCP access; anything with free_distribution: true needs no account at all.

Returns a download URL rather than the file - an illustration's SVG can be large, and the file size depends on the source, so it is not inlined. The URL is presigned and expires in one hour - download it now, do not store it. For a permanent link, use preview.url in a search result: a preview, watermarked unless the hit is free or your plan covers it.

Args: illustration_id: The id from a search_illustrations result (field illustrations[].id) ctx: MCP context for API access

Returns: {"url", "width", "height", "expires_in_seconds"}, or {"error"} explaining what would unlock the format. Read width/height from the response for the actual pixel size - it varies by illustration. Counts toward the paid-download limit: a refusal carries "retry_after_seconds".

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": {
      "illustration_id": "<illustration_id>"
    },
    "name": "get_illustration_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
illustration_idYesIllustration id from the results of search_illustrations (field illustrations[].id)

Output Schema

NameRequiredDescriptionDefault
urlNoPresigned download link. Valid for expires_in_seconds. Absent when error is set.
errorNoSet only on failure.
widthNoPixel width of the file.
heightNoPixel height of the file.
expires_in_secondsNoSeconds the url stays valid. One hour.
retry_after_secondsNoSeconds until the download limit resets. Set only when the limit refused the call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / illustration_id / description
      Added value: +"Illustration id from the results of search_illustrations (field illustrations[].id)"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Set only on failure.",
      +      "title": "Error"
      +    },
      +    "expires_in_seconds": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Seconds the url stays valid. One hour.",
      +      "title": "Expires In Seconds"
      +    },
      +    "height": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Pixel height of the file.",
      +      "title": "Height"
      +    },
      +    "retry_after_seconds": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Seconds until the download limit resets. Set only when the limit refused the call.",
      +      "title": "Retry After Seconds"
      +    },
      +    "url": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Presigned download link. Valid for expires_in_seconds. Absent when error is set.",
      +      "title": "Url"
      +    },
      +    "width": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Pixel width of the file.",
      +      "title": "Width"
      +    }
      +  },
      +  "title": "IllustrationDownloadResult",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond that: a presigned URL is returned instead of the file, it expires in one hour and must not be stored, and calls count toward a paid-download limit with retry_after_seconds on refusal. It also discloses the auth/plan prerequisites and what an error response means, none of which the annotations convey.

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?

Front-loads the format and expiry constraint before the Args/Returns blocks, and every sentence carries usable information. It is slightly dense with plan/auth detail that could be trimmed, but nothing is filler.

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 one-parameter retrieval tool this covers everything an agent needs: provenance of the id, URL lifetime, why the file isn't inlined, auth gating, refusal handling, and a pointer to an alternative for permanent links. Even though an output schema exists, the response fields are described at the right level of detail.

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?

The single parameter has 100% schema coverage and the schema already points to illustrations[].id in search results, so the description mostly restates that provenance. The note about reading width/height from the response is output guidance rather than parameter meaning, so the 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?

Opens with a specific verb+resource ('Get an illustration as SVG') and immediately scopes it as the preferred format for Icons8 illustrations, distinguishing it from the PNG sibling. An agent can tell which retrieval variant to pick without opening any 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?

Explicitly states when to use this over the alternative ('PREFERRED FORMAT... a PNG is a fixed-size raster') and names the account/plan conditions that gate success versus the free_distribution:true case. It also redirects to a concrete alternative for permanent links ('use preview.url in a search result'), covering when-not-to-use.

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.