Skip to main content
Glama

get_asset

Read-onlyIdempotent

Retrieve an asset's full details—type, prompt, tags, base image, frames, image keys, world height, and sprite scales—so you can pick frame IDs or image keys for later tools.

Instructions

Show one asset in full: type, prompt, tags, base image, and every frame (animations, 8-way rotations, edits, layers) with its id, name, facings and image keys. Use it after list_assets or a generation, before any tool that takes a frame id (frameIndex, items, frameId) or an image key (referenceFile, end_frame); keys download at full size from https://cdn.voidless.dev/, or as a data URI via get_image_data. Free and read-only. Also returns the world height and each frame's sprite_scale: size the asset in a game from these, never by eye.

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": {
      "id": "<id>"
    },
    "name": "get_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAsset ID (from list_assets / get_asset or a previous result)
frameIdNoShow only this frame, with every image key (long clips otherwise list just their first and last). Omit for the whole asset
previewNoInclude the base image (or the frame's still) inline (default true). false = text only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / frameId / description
      Previous value: -"Show only this frame, with every image key"New value: +"Show only this frame, with every image key (long clips otherwise list just their first and last). Omit for the whole asset"
    • changedInput schema / properties / preview / description
      Previous value: -"Include the base image inline"New value: +"Include the base image (or the frame's still) inline (default true). false = text only"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior, but the description adds useful context: full-size download URLs, data-URI access via get_image_data, and the presence of world height and sprite_scale. It does not discuss pagination or rate limits, but for a read-only asset fetch the behavioral picture is strong.

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 purpose is front-loaded and the description is dense but purposeful, covering return shape, sequencing, key usage, and sizing guidance. It is somewhat long, but almost every clause carries actionable information.

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 burden of explaining return values, and it does so completely: asset metadata, every frame, ids, facings, image keys, world height, and sprite_scale. An agent has enough information to call and use the tool correctly.

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 coverage is 100%, so the input schema already documents id, frameId, and preview thoroughly. The description reinforces frame ids and image keys at a workflow level but does not add syntax or meaning beyond the schema.

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 (show one asset in full) and enumerates exactly what is returned: type, prompt, tags, base image, frames, ids, facings, image keys. It is clearly distinguishable from list_assets and generation tools.

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 sequencing guidance: use after list_assets or a generation, and before any tool that takes a frame id or image key. It also names get_image_data as the alternative for data URIs, leaving little ambiguity about when this tool is the right one.

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