Skip to main content
Glama

Send engine scenes

sync_scenes
Idempotent

For engine plugins: sends the project's scenes (up to 20 per call) to the game's Inbox, matching by the engine id (externalId, e.g. res://units/spider.tscn). A scene that is already an entity only gets its image refreshed; a new one waits in the Inbox until the user places it in a tab on the site. Sending again never duplicates. Plugin flow, in order: sync_scenes (the plugin sends its scenes), game_scenes (see what arrived), place_scenes (turn them into entities), mark_installed (the plugin reports the install).

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": {
      "game_id": "<game_id>",
      "items": "<items>"
    },
    "name": "sync_scenes"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe scenes to send, up to 20 per call. Sending the same scene again never duplicates it.
game_idYesThe game linked in the project (from list_games).

Output Schema

NameRequiredDescriptionDefault
skippedYes
entitiesYes
inboxMaxYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / game_id / description
      Added value: +"The game linked in the project (from list_games)."
    • addedInput schema / properties / items / description
      Added value: +"The scenes to send, up to 20 per call. Sending the same scene again never duplicates it."
    • addedInput schema / properties / items / items / properties / description / description
      Added value: +"Optional: what the thing is, so its sounds come out better. Up to 400 characters."
    • addedInput schema / properties / items / items / properties / externalId / description
      Added value: +"The scene path in the engine (e.g. res://units/spider.tscn): the key that matches it to an entity."
    • addedInput schema / properties / items / items / properties / image / properties / base64 / description
      Added value: +"The image bytes in base64."
    • addedInput schema / properties / items / items / properties / image / properties / mimeType / description
      Added value: +"image/png, image/jpeg or image/webp."
    • addedInput schema / properties / items / items / properties / name / description
      Added value: +"The scene name shown on the site. Up to 80 characters."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: a scene already linked as an entity only gets its image refreshed, a new scene waits in the Inbox until the user places it, and re-sending never duplicates (reinforcing idempotentHint=true). It does not, however, describe rate limits or the response payload — acceptable since an output schema exists.

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-loaded with the purpose, then behavior, then workflow. Dense but every sentence carries information; the parenthetical example and flow list are justified, though the description is on the longer side for a two-parameter tool.

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?

Covers purpose, matching semantics, Inbox lifecycle, idempotency, and pipeline position. With an output schema present, no return-value explanation is needed — nothing an agent needs to invoke this 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 coverage is 100%, so the heavy lifting is already done. The description explains the externalId matching concept, but that meaning is largely duplicated by the schema's own parameter descriptions, so the added value is marginal.

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 ("sends the project's scenes") plus scope (up to 20 per call), the destination (game's Inbox), and the matching key (externalId with a concrete res:// example). This clearly distinguishes it from sibling tools like place_scenes and game_scenes.

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 frames it as a plugin flow and gives the ordering: sync_scenes, then game_scenes, then place_scenes, then mark_installed. The agent knows both when to call this tool and what the adjacent steps are.

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