Skip to main content
Glama

AirGallery

cartoonize

Turn a photo into a cartoon. Returns { processedImage }. Cost: 2 credits.

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": {
      "image": "<image>"
    },
    "name": "cartoonize"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesImage as a base64 data URI (data:image/png;base64,…) or an HTTPS image URL
styleNoCartoon style (default cartoon)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add two genuinely useful facts: the return key ({ processedImage }) and a cost of 2 credits. It stops short of disclosing what happens on failure (whether credits are still charged), whether results are stored and deletable, or any rate limits for a paid generative operation.

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?

Three short clauses with zero filler: purpose first, then return value, then cost. Every sentence earns its place and the most important information 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?

For a simple two-parameter tool with a fully documented schema, the description covers purpose, return shape, and cost. It has no output schema, so naming the returned field is a helpful compensation; only failure and storage semantics remain unaddressed.

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 both image and style are already fully documented in the schema, including the enum values and the default. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

"Turn a photo into a cartoon" is a specific verb plus resource and leaves no ambiguity about the operation. It does not, however, distinguish this from visually adjacent siblings such as dslr_transform, polaroid_transform, or colorize_image, so an agent must infer the boundary itself.

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 usage is only implicit in the verb phrase: use this when you want a cartoon rendition of a photo. There is no statement of when to prefer it over the other stylization siblings, and no prerequisites or exclusions are given.

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