Skip to main content
Glama

text_create

Create an editable text layer in GIMP at specified pixel coordinates to add text to images programmatically. Color accepts CSS/Gegl syntax.

Instructions

Create an editable GIMP text layer at pixel position x/y. Optional color accepts CSS/Gegl syntax.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
sizeNo
textYes
colorNo
font_nameNoSans
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / color
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Color"
      +}
  2. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It mentions that the layer is 'editable' and that color uses CSS/Gegl syntax, but it omits key mutation details such as required session context, side effects on the document, permissions, or default behavior for size and font.

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 short sentences, front-loaded with the core action and resource, with no wasted words. The optional color syntax note is appended efficiently.

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?

With 7 parameters, no annotations, and an output schema that covers return values, the description is still too thin. It does not explain session_id, text, size, font_name, or the mutation's effect on the active document, leaving significant gaps for a creation tool.

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?

Schema description coverage is 0%, so the description must compensate. It adds meaning for x/y ('pixel position') and color syntax, but leaves text, session_id, size, and font_name undocumented beyond their bare schema titles.

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?

The description names a specific verb ('Create') and resource ('editable GIMP text layer'), with a clear scoping detail ('at pixel position x/y'). This distinguishes it from sibling tools such as text_update (update vs create) and layer_create/shape_create (text layer vs generic layer or 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 states what it creates but gives no guidance on when to use it instead of alternatives like text_update, layer_create, or shape_create. There are no conditions, prerequisites, or exclusions mentioned.

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