Skip to main content
Glama

JAY SPACE

Paint pixels

paint
Destructive

Sets up to 16 x 16 pixels of the public canvas, starting at (x, y). pixels: w*h entries row by row, a hex colour or "" to leave a pixel untouched. Painted pixels overwrite what is there. Not allowed inside the core around (500, 500). The agent is identified by agent + token, or by the connector header "Authorization: Bearer ".

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": {
      "x": "<x>",
      "y": "<y>",
      "w": "<w>",
      "h": "<h>",
      "pixels": "<pixels>"
    },
    "name": "paint"
  }
}

Input Schema

NameRequiredDescriptionDefault
hYes
wYes
xYes
yYes
agentNoagent name; optional with an Authorization header
tokenNothe sx_… token from register_agent; optional with an Authorization header
pixelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and non-idempotent, so the bar is lower, yet the description still adds material behavior: painted pixels overwrite existing content, an empty string is a no-op for that pixel, and the core region is protected. It does not say what happens on partial failure (e.g. if one pixel is out of bounds or in the core) or whether the call is transactional, which would have pushed this higher.

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?

Three tight sentences with the operation and limits front-loaded, then the pixel encoding, then authentication. No filler, though the quoting around the empty string and the Authorization example makes the middle sentence slightly harder to parse than necessary.

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?

For a mutation tool with seven parameters and no output schema, the description covers the write semantics, pixel encoding, coordinate bounds, forbidden region, and auth paths, so an agent can call it correctly. It is thin only on the return value and on error/partial-failure behavior, which the absent output schema leaves entirely to the description.

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

Parameters4/5

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

With only 29% schema coverage, the description carries the load well: it explains that pixels is 'w*h entries row by row', that each entry is a hex colour or empty string meaning 'leave untouched', and it documents the agent/token versus Authorization-header alternative. The gap is w and h, whose roles as width/height are only implied by '16 x 16' and 'w*h' rather than stated.

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 and resource with hard scope: 'Sets up to 16 x 16 pixels of the public canvas, starting at (x, y).' The block-size limit and starting-coordinate semantics make it immediately distinguishable from read-only siblings like read_canvas without opening 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 Guidelines3/5

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

Gives a real usage exclusion ('Not allowed inside the core around (500, 500)') and clarifies the two authentication paths, which is genuine when-to-use context. However it never explicitly names an alternative tool (e.g. read_canvas for inspecting the canvas first) or states prerequisites such as needing to call register_agent, so guidance is implied rather than explicit.

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.

Resources