Skip to main content
Glama

Add element

add_element

Adds a procedural light, particle, drawing, shape, pictogram or sprite element with configurable timing and placement. Elements can be attached to measured world anchors.

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": {
      "kind": "<kind>",
      "start": "<start>",
      "project_id": "<project_id>"
    },
    "name": "add_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
atNo
idNo
boxNo
endNo
emitNo
kindYes
textNo
countNo
startYes
styleNo
attachNo
colourNo
imagesNo
paletteNo
intensityNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
dissolve_embersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "light_trail",
      -  "light_dissolve",
      -  "light_rim",
      -  "embers",
      -  "sparks",
      -  "dust",
      -  "confetti",
      -  "snow",
      -  "fireworks",
      -  "arrow",
      -  "underline",
      -  "circle",
      -  "scribble",
      -  "burst",
      -  "star",
      -  "check",
      -  "cross",
      -  "bracket",
      -  "spiral",
      -  "lightning",
      -  "orbit",
      -  "shapes",
      -  "pictogram",
      -  "sprites"
      -]New value: +[
      +  "light_trail",
      +  "light_dissolve",
      +  "light_rim",
      +  "embers",
      +  "sparks",
      +  "dust",
      +  "confetti",
      +  "snow",
      +  "fireworks",
      +  "bubbles",
      +  "arrow",
      +  "underline",
      +  "circle",
      +  "scribble",
      +  "burst",
      +  "star",
      +  "check",
      +  "cross",
      +  "bracket",
      +  "spiral",
      +  "lightning",
      +  "orbit",
      +  "shapes",
      +  "pictogram",
      +  "sprites"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  3. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, closed-world mutation, so the safety profile is covered. The description adds that elements are procedural and carry configurable timing/placement and optional world-anchor attachment, which is useful context. It says nothing about coordinate units, defaults, or what happens when the supplied 'id' collides with an existing element.

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?

Two front-loaded sentences with no filler; the element-kind list at the front is the most useful orienting information. The enumeration of kinds partly duplicates the schema's kind enum, which is mild redundancy but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter creation tool with no output schema, the description is far too thin: it never explains the required start/kind/project_id contract, coordinate space, or how optional fields interact (e.g., attach vs. x/y/at, emit vs. box). An agent could not reliably construct a valid call from this text alone.

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

Parameters2/5

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

With 19 parameters and only 5% schema description coverage (essentially just project_id), the description must carry parameter meaning and does not. 'Configurable timing and placement' vaguely gestures at start/end/x/y/at, and the anchor sentence hints at 'attach', but the roles of box, emit, style, palette, intensity, count, images, dissolve_embers, and id are entirely unexplained.

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 a specific verb ('Adds') and enumerates the element families it creates (light, particle, drawing, shape, pictogram, sprite), so the resource is concrete. It does not differentiate itself from close siblings such as add_text, add_overlay, add_motion_graphic, or add_strobe, which leaves an agent guessing at boundaries.

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?

There is no when-to-use guidance, no exclusions, and no named alternative among the many sibling add_* tools. The only contextual note, that elements can be attached to measured world anchors, describes a capability rather than a selection criterion.

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.