Skip to main content
Glama

Gridize

Generate pixel art

generate_pixel_art

Generate pixel art sprites from a text prompt (any language), at 16, 32 or 64 px, on a transparent background. Costs 8 credits for one image or 20 for four. Returns PNGs at native size; they are also saved to the user's Gridize sprite library. Needs an API key.

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": {
      "prompt": "<prompt>"
    },
    "name": "generate_pixel_art"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoSprite size in pixels.32
countNoNumber of candidates.1
promptYesWhat to draw, e.g. "a knight with a blue shield".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint=false/openWorldHint=true annotations by disclosing credit cost, transparent-background output, native-size PNG delivery, and the side effect that results are persisted to the user's sprite library. It also flags the API-key requirement. It stops short of describing failure modes (e.g., insufficient credits) or latency, so a 4 rather than 5.

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?

Four tight sentences, front-loaded with what is generated and from what input, then output format, then cost, then the auth prerequisite. No repetition of the schema, no filler.

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

Completeness5/5

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

With no output schema, the description takes on the burden and explains the return (PNGs at native size, also written to the sprite library). Cost, auth requirement, and the persistence side effect round out everything needed to call this confidently.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it ties the count enum to a concrete cost tradeoff (20 credits for four vs 8 for one) and confirms 'any language' is accepted for prompt. That pricing semantics for `count` is information the schema does not contain.

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 ('Generate pixel art sprites') plus the discriminating input ('from a text prompt'), which separates it from an image-conversion sibling like image_to_pixel_art without naming it. An agent knows exactly what this produces and from what input.

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?

Usage is implied rather than stated: the prompt-driven framing tells the agent this is the path when a text description exists, and the pricing ('8 credits for one image or 20 for four') gives a cost signal for choosing count. There is no explicit when-not clause or named alternative for cases where the user supplies an existing image instead.

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.