Skip to main content
Glama

Project pictures and Sprite Lab assets

project_assets

List pictures, sizes, previews; import My Files pictures, an attachment, a URL or files you made (upload), bake Sprite Lab assets, crop parts. One undo step.

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

Input Schema

NameRequiredDescriptionDefault
fileNoChatGPT PNG/JPEG/WebP attachment, at most 5 MiB. For another client, use fromFiles, urls or images.
nameNoName for the attached file; defaults to its filename.
urlsNoPublic https PNG/JPEG/WebP image URLs, at most 5 MiB each, fetched by BoneGyre's server — only from these hosts: upload.wikimedia.org, raw.githubusercontent.com, user-images.githubusercontent.com, i.imgur.com, images.unsplash.com, images.pexels.com, cdn.pixabay.com, opengameart.org, img.itch.zone. For another host, ask the user to upload it to My Files and use fromFiles.
cropsNoRectangular image parts in source pixels, top-left origin, y down; transparency preserved. Use $ref for keyed movement or $warp for mesh deformation of each part.
namesNoWith fromFile: the pictures to copy (1–12, by their names in that project). With uploads or paths: their asset names, one each in the same order. Otherwise: only list/preview these asset names.
pathsNoLocal server only (npm run mcp, on the user's machine): absolute paths of PNG/JPEG/WebP files to import, ≤ 5 MiB each, 9 MiB together; named after the files. The remote server refuses it — use upload there.
studyNoImport the selected Gallery study’s required pictures using this account’s Gallery access. Read the project again before building.
imagesNo
uploadNoPictures you made in your own workspace, step 1 of 2 (needs a shell): answers a curl per picture that PUTs the file from your shell to a signed URL. Pass it alone; no editor needed. PNG/JPEG/WebP, ≤ 5 MiB each, 12 a call; import within 10 minutes with uploads.
recipesNoWith names: each named Sprite Lab asset's recipe as the labSprites entry that makes it, its custom shader included — change it and send it back in labSprites instead of writing the sprite again.
uploadsNoStep 2: the upload ids the upload answer gave, once their curl ran — the pictures come into the project, checked, as one undo step (9 MiB together). names renames them, in order.
fromFileNoA My Files project id (list_files): copy its pictures named in names into the open project, Sprite Lab recipes kept.
fromFilesNoMy Files picture ids (list_files { pictures: true }): each comes in as an image or a sequence asset, as Add files in the Project panel keeps it. At most 12 and 12 MiB a call.
labSpritesNoSame recipes as build_effect.spec.labSprites. Baked assets and editable recipes stay in the Project panel even without layers.
thumbnailsNoInclude the first 12 asset previews.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / recipes
      Added value: +{
      +  "description": "With names: each named Sprite Lab asset's recipe as the labSprites entry that makes it, its custom shader included — change it and send it back in labSprites instead of writing the sprite again.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the description must add beyond that. 'One undo step' is a genuinely useful disclosure: the import/crop operations are grouped into a single reversibility unit. However, nothing is said about the mixed-mode nature (listing is read-only while import/crop mutate), permission or Gallery-access requirements, or the 10-minute upload window, all of which live only in the schema.

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?

It is short, and the listing capability is front-loaded. But it is a single semicolon-chained sentence of comma-separated noun fragments that is hard to parse and gives equal weight to wildly different modes (read-only listing vs multi-step upload import). Splitting into a listing statement plus an import statement would cost nothing and read far better.

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 15-parameter, multi-mode tool with nested objects and no output schema, the definition is thin: it never says what a listing call returns, and the two-step upload import protocol is discoverable only from parameter text. That said, the 93% schema coverage and the 'One undo step' note cover the operational essentials, so an agent can still call it correctly with the schema open. The gap is in upfront orientation rather than in call-correctness.

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 93%, so the schema already documents nearly every one of the 15 parameters in detail, including the two-step upload protocol and the URL host allowlist. The description adds no parameter-level meaning beyond loosely echoing 'sizes, previews' (thumbnails) and 'files you made (upload)'. Baseline 3 applies when the schema carries the semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names concrete capabilities tied to concrete resources: list pictures/sizes/previews, import from My Files, attachments, URLs or uploads, bake Sprite Lab assets, and crop parts. An agent can tell this is the project-asset ingestion/listing tool rather than edit_project or build_effect. It falls short of 5 because the capabilities are packed into a run-on fragment and 'bake Sprite Lab assets' is left as jargon, with no explicit contrast to the sibling tools that also touch files (list_files, save_to_files).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives no when-to-use or when-not guidance and names no alternative tool. Routing hints like 'use fromFiles, urls or images' for other clients, and 'the remote server refuses it — use upload there' exist only inside schema parameter descriptions, not in the description itself. The only usage framing is the trailing 'One undo step', which is behavioral, not selection guidance.

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