Skip to main content
Glama

Convert chat photos in a batch

convert_photos
Idempotent

Convert up to 50 photos the user shared in this chat into coloring pages as one batch, using credits per photo. Needs a ColorBliss plan that includes bulk photo conversion; signing in, an API key, or a credit balance alone do not unlock it. If any image cannot be read, the whole batch is refused and nothing is charged. Reuse the same request_id to retry safely: a retry never submits or charges twice. Then call get_photo_batch with the same request_id to follow progress.

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": {
      "request_id": "<request_id>",
      "images": "<images>"
    },
    "name": "convert_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNodefault
imagesYes
qualityNostandard
folder_idNo
request_idYes
folder_nameNo
aspect_ratioNo

Output Schema

NameRequiredDescriptionDefault
totalYes
statusYes
batch_idYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: per-photo credit consumption, plan gating that a credit balance does not satisfy, all-or-nothing validation with no charge on failure, and idempotent retry keyed on request_id. These are exactly the cost and safety facts an agent needs before a mutating, credited call.

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 sentences, each load-bearing: purpose, gating, failure semantics, then the idempotency and next-step instruction. No filler and the most decision-relevant constraint (plan requirement) is front-loaded.

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?

With an output schema present, return values need no explanation, and the description covers cost, gating, and progress tracking. The remaining gap is parameter-level guidance for the style, quality, and folder options, which matters for a 7-param batch call.

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 0%, so the description carries the burden; it explains request_id retry semantics and the 50-image cap, which is real value. But style, quality, folder_id, folder_name, aspect_ratio, and the required nested image fields (file_id, download_url) are left entirely to the schema, so the 7-parameter surface is only partly covered.

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 (Convert), resource (photos shared in this chat), batch scope (up to 50), and output (coloring pages), which cleanly separates it from the single-photo sibling convert_photo.

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?

Gives clear preconditions (a ColorBliss plan that includes bulk conversion; sign-in or credits alone are insufficient) and an explicit follow-up step (get_photo_batch with the same request_id). It stops short of naming convert_photo as the alternative for single images, leaving that choice to inference.

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.