Skip to main content
Glama

placeholder

Generate a solid-color image with optional centered text for mockups or test fixtures. Specify width, height, and colors.

Instructions

Generate a brand-new solid-color image (optionally with a centered label) and write it to 'out'. Useful for mockups, spacer images, or test fixtures. Provide width, height, background color, and optional text with its color and font size. Returns the output path and the generated dimensions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outYesOutput image path. A new image file is created.
textNoOptional centered label text.
colorNoBackground color as hex, e.g. #e5e7eb (default light grey).
widthYesImage width in pixels.
heightYesImage height in pixels.
font_sizeNoLabel font size in pixels (auto-sized if omitted).
text_colorNoLabel color as hex, e.g. #6b7280 (default grey).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 of behavioral disclosure. It states that it writes to 'out' and returns the output path and generated dimensions. However, it does not address potential side effects such as overwriting existing files, required write permissions, or error handling. This is adequate for a simple tool but leaves some behavioral gaps undisclosed.

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?

The description is four concise sentences with no redundancy. It front-loads the core action, then provides use-case context, parameter summary, and return information. Every sentence contributes value, and the structure is efficient.

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?

The description covers purpose, parameters (via summary and schema), and return values. It is complete enough for a straightforward generation tool. It omits edge-case behaviors like overwrite semantics, but given the tool's simplicity and full schema coverage, it does not leave critical information missing for typical usage.

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 coverage is 100% and each parameter already has a description. The tool description merely summarizes the parameters (width, height, background color, optional text, color, font size) without adding new semantic meaning or clarifying relationships beyond what the schema provides. This matches the baseline of 3.

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 clearly states the tool generates a brand-new solid-color image, optionally with a centered label, and writes it to a specified path. It explicitly mentions use cases (mockups, spacers, test fixtures), which distinguishes it from sibling tools that manipulate existing images (resize, crop, etc.). The verb 'generate' and resource 'solid-color image' are specific and unambiguous.

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?

The description provides context by stating it is useful for mockups, spacer images, or test fixtures, which implies the appropriate scenarios. However, it does not explicitly contrast with sibling tools or provide exclusions (e.g., 'do not use for existing images' or 'use resize instead'). The guidance is implied but not explicit, so it meets a moderate bar.

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