Skip to main content
Glama

Sats4AI - Bitcoin-Powered AI Tools

colorize_image

Colorize black-and-white or grayscale photos. DDColor (dual-decoder, ICCV 2023) — vivid, natural colorization. Impossible for text/vision LLMs. 5 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='colorize_image'.

Input Schema

NameRequiredDescriptionDefault
paymentIdYesValid payment ID (must be paid)
resultKeyNoOptional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout.
model_sizeNoModel variant: 'large' (best quality) or 'tiny' (faster). Default: large
imageBase64YesBase64-encoded grayscale or B&W image (PNG, JPEG) or data URI

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / resultKey
      Added value: +{
      +  "description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses cost (5 sats per image), the Bitcoin Lightning pay-per-request model with no API key/signup, and the retry path via resultKey on timeout. It does not describe the response shape (returned image data/URL) or any rate/time limits beyond the 5s claim, leaving a residual gap.

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 and prerequisite are front-loaded and each sentence carries actionable content. The marketing aside ('Impossible for text/vision LLMs', 'vivid, natural colorization') is filler that slightly dilutes an otherwise tight paragraph.

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 payment-gated tool with no annotations and no output schema, the description covers the payment and retry mechanics well but never says what the call returns (image payload vs. URL vs. job handle). That return-value ambiguity is a meaningful gap given the absence of an output schema.

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 100%, so the schema already documents paymentId, resultKey, model_size, and imageBase64. The description adds the payment-creation prerequisite and ties cost to the call, but adds nothing on model_size tradeoffs or image format beyond what the schema states, so it sits at the baseline.

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?

The description leads with a specific verb+resource ('Colorize black-and-white or grayscale photos') and names the underlying model (DDColor, ICCV 2023), making the task distinct from siblings like edit_image or upscale_image. It stops short of explicitly contrasting with those siblings, so it's clear but not fully differentiated.

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

Usage Guidelines4/5

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

It states a clear prerequisite flow: 'Requires create_payment with toolName="colorize_image"', which tells the agent exactly what must happen before invocation. It gives no explicit when-not or alternative tool guidance (e.g. vs upscale_image or edit_image), so the routing side is weaker than the prerequisite side.

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.