Skip to main content
Glama

get_element

Retrieves details for a single battle map element by ID—kind, position, rotation, scale, asset, and bounds—so you can inspect objects and fit underlays to opaque bounds.

Instructions

Get details (kind, position, rotation, scale, asset) for a single element by id.

Objects carry `bounds` and `opaque_bounds`, [x0, y0, x1, y1] in woxels after
scale and rotation. `bounds` is the asset's whole canvas; `opaque_bounds`
is the part its art actually covers. Fit a bed, rug or shadow to the
opaque bounds of the objects it goes under, not to their positions.

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_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the return contract plus non-obvious semantics: bounds coordinates are in woxels after scale and rotation, and opaque_bounds vs bounds have distinct meanings. It omits failure behavior for an unknown/invalid id and the units of position/rotation, keeping it short of a 5.

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 core purpose in one sentence, then a focused paragraph on bounds semantics. Dense but each sentence adds information; 'woxels' is used without definition, a minor clarity cost.

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?

No output schema exists, so the description must describe returns, and it does so thoroughly for a simple single-object getter. Missing only edge-case behavior (nonexistent id) and unit clarification, which are small gaps at this complexity.

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?

The single 'id' parameter has 0% schema description coverage, so the description must compensate; it only says 'by id' without explaining what an element id is or where to obtain one (selection, snapshot). The meaning is inferable but not enriched.

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 ('Get') and resource ('details ... for a single element by id') and enumerates the returned fields (kind, position, rotation, scale, asset). The 'single element by id' scoping implicitly separates it from bulk retrieval siblings such as get_composition_snapshot.

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

Usage Guidelines3/5

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

Usage is only implied: the agent infers it should call this when it already has an element id and needs its full properties. No alternative tools are named and no when-not-to-use condition is given. The second paragraph offers application guidance (how to use bounds data) rather than tool-selection guidance.

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

Deploy Server

Other Tools