Skip to main content
Glama

paint_brush

Configure a document's brush and shared presets (type, size, opacity, pressure, texture, blending) to control stroke rendering without affecting other agents' documents.

Instructions

Configure the document's own brush (other agents' documents are unaffected) and shared presets. kind=round/pencil/airbrush/watercolor/marker/eraser/smudge; size px; opacity,hardness,flow,spacing,min_size,taper_start,taper_end,texture,stabilization,mixing 0..1 (spacing up to 2); pressure_size/pressure_opacity bool; seed integer; blend; texture_space stroke|paper (paper = grain fixed to the document); edge_darkening 0..1 (pigment pools at the mark edge). stabilization averages over stabilization*50 px of arc (0 keeps geometry). Color #RRGGBB[AA].

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

Input Schema

NameRequiredDescriptionDefault
nameNo
pathNo
colorNo
actionNoget
settingsNo
overwriteNo
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

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: paper-vs-stroke texture anchoring, the stabilization averaging math (stabilization*50 px of arc), edge pigment pooling, and per-document isolation. It omits the mutation/destructive profile entirely — delete_preset, overwrite, and import_presets are never characterized, nor is whether changes persist across sessions.

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 is front-loaded in the first clause, followed by a dense but well-organized settings glossary using semicolons and parentheticals. It is long, but nearly every token carries parameter or behavioral information; the run-on enumeration is the main readability cost.

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

Completeness3/5

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

For a 7-parameter, zero-annotation, no-output-schema tool, the settings documentation is unusually thorough, but the action parameter — the actual driver of eight distinct operations — is left undocumented, as are preset persistence and overwrite semantics. An agent could configure a brush correctly but would be guessing about the preset lifecycle.

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 description coverage is only 14%, and the description compensates strongly for the settings object, enumerating valid kind values, units, 0..1 ranges, the spacing-up-to-2 exception, and color format. It adds nothing for action, name, path, or overwrite, so an agent must infer that save_preset/load_preset consume name and that overwrite governs preset collisions.

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?

Opens with a specific verb+resource: 'Configure the document's own brush ... and shared presets', and adds a scope qualifier ('other agents' documents are unaffected') that distinguishes it from the shared/global state siblings. It does not, however, surface that the tool is action-driven (get/list/save_preset/load_preset/delete_preset/export/import), so the full functional footprint only becomes apparent from the schema.

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 and no named alternative: nothing says whether this is for reading the current brush versus changing stroke behavior versus managing preset libraries, nor when an agent should pick it over paint_strokes or paint_fill. The only usage-adjacent signal is the parenthetical that other agents' documents are unaffected, which is scoping rather than selection guidance.

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