Skip to main content
Glama

paint_pixels

Paint 1..100 pixels in one payment of n x 0.1 USDC (test-USDC on Base Sepolia (free from faucet.circle.com)). The first call answers with an x402 PaymentRequired; pay it with an x402 MCP client. All or nothing: a pixel someone else holds means nothing is painted and nothing is charged. x, y in 0..99 with (0,0) top left; color #rrggbb. If the answer says pending, do NOT pay again: call get_order later.

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": {
      "pixels": "<pixels>"
    },
    "name": "paint_pixels"
  }
}

Input Schema

NameRequiredDescriptionDefault
pixelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the paid x402 handshake, all-or-nothing atomicity (a conflicting pixel means nothing painted and nothing charged), and the pending-state retry hazard. It stops short of describing the success response beyond the fail/pending states.

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?

Four dense sentences, front-loaded with what and how much, then the payment mechanics, then the constraints and the pending-state rule. Every sentence carries information; the nested parenthetical about test-USDC and the faucet is the only mildly awkward construction.

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 and no annotations, so the description has to explain both the flow and the outcomes, which it largely does for failure and pending cases. The success payload after payment is the remaining gap, but the operational essentials are covered.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it explains the 1..100 pixel count, that x and y range 0..99 with (0,0) at top left, and that color is #rrggbb. Only the nested pixel-object grouping is left to the schema, which it states plainly.

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 ('paint 1..100 pixels'), the exact price model (n x 0.1 USDC, test-USDC on Base Sepolia) and scope (100x100 grid). An agent can tell this apart from get_order and get_canvas without opening any schema.

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

Usage Guidelines5/5

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

Explicitly describes the call sequence: the first call returns an x402 PaymentRequired which must be paid with an x402 MCP client, and if the answer says pending you must NOT pay again but call get_order later. That names the fallback tool and the condition that selects it.

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