Skip to main content
Glama

paint_object

Edit retained text and vector objects by stable ID to update geometry, style, brush, or transform, then rerender from the retained source; also list, get, duplicate, or delete objects.

Instructions

Edit retained text/vector objects by stable IDs. update changes geometry/style/brush or six-coefficient transform, then rerenders from retained source.

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

Input Schema

NameRequiredDescriptionDefault
actionNolist
changesNo
layer_idNo
object_idNo
document_idNoTarget this document instead of the shared active one (recommended when several agents share the server)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

With zero annotations, the description carries the full burden. It correctly discloses that only retained objects with stable IDs can be edited and that update "rerenders from retained source" — real behavioral details. However, it says nothing about the list/get/duplicate/delete actions, whether delete is destructive or requires confirmation, or what editing a missing object does, all of which matter for a mutation tool with no annotation safety profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly written sentences with zero filler, front-loading the resource scope and then the update mechanics. Every phrase earns its place; the issue is under-specification, not verbosity.

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?

The tool exposes a 5-value action enum, 5 parameters, and no output schema, yet the description only covers the update action and two parameters. For a tool whose default action is "list" and which includes a destructive "delete," that leaves the agent without enough context to call most of its surface correctly.

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 only 20% (only document_id has a description), so the description must compensate. It does provide meaningful content for two parameters — "changes" covers geometry/style/brush or a six-coefficient transform, and "stable IDs" clarifies object_id — but it gives no guidance on the action enum (list/get/update/duplicate/delete) or on layer_id, and document_id is left entirely to the schema.

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?

"Edit retained text/vector objects by stable IDs" is a specific verb+resource phrase and clearly distinguishes editing an existing retained object from drawing/creating one. The description states the tool only meaningfully for the update path, though, so agents must discover that the tool also serves as a list/get/duplicate/delete surface, and it does not name the closest siblings (paint_transform, paint_text, paint_shape).

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/when-not guidance and never mentions alternatives in the large sibling set. It hints at what update does, but there is no explicit guidance for when an agent should switch to paint_transform or paint_text rather than editing a retained object here.

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