Skip to main content
Glama

set_place

Idempotent

Set the location for a shot: apply a place preset with scenery, colors, sky, and props to the shot on screen or a given shot id. Returns the place and its item ids.

Instructions

Set where a shot happens (shot_id, or scene + shot; left out: the shot on screen): a place preset (with its scenery), and/or its colours and sky, and scenery items. Ids must come from the current style: call library to see them (a wrong id is refused with the valid list). Returns the place and its item ids. One undo step for the person. For a generated photo background use generate_picture with kind background; for your own picture use upload with as background.

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

Input Schema

NameRequiredDescriptionDefault
orbNoSun, moon or none.
skyNoSky colour, "#RRGGBB".
darkNotrue: a dark place (night, inside).
nameNoA name for the place.
shotNoShot index from 0 inside that scene (with scene; alone: in the scene on screen). A shot id works here too.
floorNoFloor colour, "#RRGGBB".
sceneNoScene index from 0 (with shot). Used when shot_id isn't given.
starsNoShow stars.
wallsNoShow walls (an inside place).
cloudsNoShow clouds.
presetNoPlace preset id (library places).
horizonNoHorizon colour, "#RRGGBB".
shot_idNoThe shot's id from get_project. Or give scene and shot instead. Left out: the shot on screen.
add_itemsNoScenery items to add.
clear_itemsNotrue: remove every scenery item.
change_itemsNoScenery items to change.
remove_itemsNoItem ids to remove.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare mutation, idempotency and non-destructiveness, and the description adds real context beyond them: a wrong id is refused with the valid list, the call returns the place and its item ids, and it consumes exactly one undo step. What it does not clarify is whether supplying a preset replaces existing scenery items or merges with add_items/clear_items, which matters for a 17-parameter mutation tool.

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?

Purpose and target selection are front-loaded, and the four sentences all carry information (capability, id sourcing, return value, undo, alternatives). The opening sentence is dense with nested parentheses and parenthetical fallbacks, which slightly slows parsing but wastes no words.

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 17-parameter mutation tool with no output schema, the description covers return values ('the place and its item ids'), error behaviour, undo cost and alternatives — an unusually complete set. The remaining gap is the semantics of combining preset with the item-mutation arrays, which the agent must infer from the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns a bump by explaining the targeting alternatives (shot_id vs scene + shot, and the on-screen default) and by constraining id sources to the current style/library. It stops short of explaining how preset, clear_items, add_items and change_items interact in a single call.

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 ('Set where a shot happens') and enumerates what can be set: a place preset with its scenery, colours/sky, and scenery items. The three closing sentences name the sibling tools that handle the cases this tool does not (generate_picture for generated backgrounds, upload for own pictures, library for ids), so an agent can distinguish it from neighbours without opening schemas.

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?

Explicit routing: 'For a generated photo background use generate_picture with kind background; for your own picture use upload with as background' tells the agent exactly when to pick an alternative, including the parameter to pass there. It also gives a prerequisite workflow ('call library to see them') for obtaining valid ids. Little is left to inference about tool selection.

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