Skip to main content
Glama

Get a library sprite

get_sprite_from_library
Read-only

Show one sprite from the user's SpriteForge library: a preview image, its size and palette, and download links - png_url (one frame at 1x with real transparency; add &frame=N for frame N, &scale=N to enlarge) and, for animations and tilesets, sheet_url (every frame in one PNG; it already ends in &cols=N, so replace that number to change the columns). For a tileset it also says which tile is which and how to place them, with the same manifest the studio exports in structuredContent.tileset and as JSON at manifest_url; a multi-terrain map also gets atlas_url, its tiles laid out as the studio's tileset export (png_url is the finished map). The links work without sign-in for 24 hours: in a shell, curl -sSf -o name.png '<url>' saves the file; otherwise give the user the link. Set include_pixels for the palette-index grid. Read-only.

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": {
      "asset_id": "<asset_id>"
    },
    "name": "get_sprite_from_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYes
include_pixelsNoAlso return palette + index grid (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only supply readOnlyHint and openWorldHint; the description adds substantial behavior beyond that: link expiry of 24 hours, that links work without sign-in, that png_url is one frame at 1x with real transparency, that sheet_url already contains &cols=N, and that tilesets additionally return a placement manifest in structuredContent.tileset and at manifest_url. That is exactly the kind of context an agent needs before composing a download call.

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?

The description is front-loaded with the core purpose and every clause carries real information (URL manipulation, manifest, atlas behavior). It loses a point because the middle section is a dense run-on with parentheticals and semicolons that is harder to scan than it needs to be.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does: preview, size, palette, the three URL families (png_url, sheet_url, atlas_url), manifest_url, and the structuredContent.tileset manifest. For a two-parameter read tool with no output schema, nothing an agent needs in order to call it correctly is missing.

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?

Schema description coverage is 50%: include_pixels is documented in the schema and the description only restates it ('for the palette-index grid'), while asset_id has no description anywhere. The description adds some meaning to the returned URLs' embedded parameters (&frame, &scale, &cols) but says nothing about the format or provenance of asset_id, so it neither compensates for nor improves on the schema gap.

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 opens with a specific verb and resource ('Show one sprite from the user's SpriteForge library') and immediately enumerates what comes back: preview image, size, palette, download links. The singular 'one sprite' plus the required asset_id implicitly distinguishes it from the library-listing sibling, so an agent can tell what it does 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied by the required asset_id ('one sprite from the library') and the description gives strong operational guidance on what to do with the returned links (curl in a shell, otherwise hand the link to the user). However, it never states when to choose this over siblings such as list_sprites to find an asset_id, or open_sprite_in_editor when the user wants to modify rather than download.

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.

Resources