Skip to main content
Glama

Create a coloring book

create_coloring_book

Create a printable coloring book from a theme or description. Pages are generated as clean line art and the order continues automatically through image generation and PDF creation. To put the customer's own characters in the book, pass them in characterDetails, as the website's "Who is in your book?" step does. Before ordering, call list_my_characters; if they have saved characters, ask which of them to use, if any, and send those as { savedCharacterId }. Anyone else takes a name and one picture. Writing a saved character's name as @Name in the description or storyPrompt picks them too. If the customer wants to keep a new character for later books, save them with save_my_character first. If the customer wants another book in a series, or the same characters as an earlier book, find it with list_my_books and pass its jobId as seriesSourceJobId rather than describing the characters again.

Input Schema

NameRequiredDescriptionDefault
bleedNoAdd print bleed to the interior pages. Defaults to false: leave it off for home printing and for A4 paper — bleed makes the page 8.625x11.25in with artwork running to the paper edge, and an A4 printer cuts 0.179in off each side of that. (Activity books describe their own default.)
styleNoColoring direction. Use a value from the coloringStyles returned by list_book_types, such as cute_animals, anime_characters, fairy_tale, mandala_abstract, or general_coloring.
themeNoShort subject line, for example dinosaurs or outer space.
titleNoBook title. Generated from the content when omitted.
ageGroupYesTarget age band, read by its youngest reader. Required, because it is not guessable and it changes the drawing: the four bands the page rules are written for are 3-6, 6-9, 9-13 and 13+, and line weight, how much background a page carries and how small the colourable areas get all step with them. Ask who the book is for rather than assuming the youngest band.
pageSizeNoTrim size such as 8.5x11. The supported sizes are returned by list_book_types. A4 is not one of them and is rejected: for A4 or any metric paper, pass 8.5x11 with bleed false, which prints on A4 either way.
complexityNoHow intricate the pages should be.
lineWeightNoOptional line width for every page: thin, medium or bold. Leave it out for the default, which suits the reader's age and the chosen style.
descriptionNoWhat the book should be about.
highQualityYesPage quality — ask the customer, as the website does on every order. false = Standard, 1 credit a page: clean bold line art. true = Premium, 2.5 credits a page: finer detail and crisper lines.
printOptionNoOnly send this when the person ordering has actually asked for it. Leave it out and the book type decides: coloring, story coloring and drawing books print one side per sheet with a blank back, because colour goes through the paper and would ruin the drawing behind it; every other type prints both sides. Sending "both" for a coloring book overrides that and gives them pages backed by pages.
createSeriesNoTrue to make this book part of a series. A series book's files are kept for good instead of being deleted after the usual retention period, so a later book can link to it at any time. Ask the customer if they want this when they mention more books to come. A book with seriesSourceJobId is always in a series, with or without this.
pageCategoryNocoloring_book only: page structure. Defaults to auto, which classifies the description. instructional = one habit/rule per page with a short printed caption; concept = one alphabet/number/shape per page with its name printed; narrative = one continuous picture story; thematic = varied scenes on a theme, no captions.
numberOfPagesYesNumber of interior pages to generate.
characterDetailsNoOptional. The customer's own characters, up to eight, exactly as the website's "Who is in your book?" step takes them. Each entry is either a saved character, { savedCharacterId } with the characterId from list_my_characters and nothing else, which brings its saved name, description and picture; or a new character with a name, a short description and one picture. The two can be mixed. Every page that shows a character draws it from its picture, so each new picture must be of that character alone and the name must match it. Cannot be combined with characterReferenceSheet.
seriesSourceJobIdNoThe jobId of the customer's earlier book that this one continues. The new book starts with that book's characters, their pictures, its look and what happened in it, so pass it instead of re-uploading them. The customer's words for this book outrank all of it: they can change anything, add new characters in characterDetails, or say to leave someone out. A new character with the same name replaces the earlier one. list_my_books gives jobIds and says which books canContinueSeries; when it is not clear which book they mean, ask.
styleReferenceImageNoOptional STYLE TEMPLATE: a picture drawn in the art style the customer wants — how faces, eyes, bodies, expressions, line and detail are drawn. Every page is drawn in that style; nothing in the picture (its characters, objects, background or text) appears in the book. It is not a character: use characterDetails for the book's own characters. Pass exactly one of s3Key (returned by upload_image, or a picture uploaded on the website) or data (the PNG or JPEG itself, base64, at most 4 MB).
additionalInstructionsNoExtra direction for the generator, up to 600 characters.
standardQualityConfirmedNoOnly with highQuality false: true once you have told the customer the Premium suggestion for books meant for sale and they chose to keep Standard ("Print home quality"). A Standard order without it is answered with that suggestion and not created.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / lineWeight
      Added value: +{
      +  "description": "Optional line width for every page: thin, medium or bold. Leave it out for the default, which suits the reader's age and the chosen style.",
      +  "enum": [
      +    "thin",
      +    "medium",
      +    "bold"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / style / enum
      Previous value: -[
      -  "cute_animals",
      -  "cute_birds",
      -  "cute_insects",
      -  "mandala_animal",
      -  "mandala_sea",
      -  "mandala_birds",
      -  "mandala_abstract",
      -  "jungle_adventure",
      -  "story",
      -  "anxiety_motivation",
      -  "food_fun",
      -  "universe_space",
      -  "anime_characters",
      -  "inspirational",
      -  "mythology",
      -  "christmas",
      -  "fairy_tale",
      -  "general_coloring"
      -]New value: +[
      +  "cute_animals",
      +  "cute_birds",
      +  "cute_insects",
      +  "mandala_animal",
      +  "mandala_sea",
      +  "mandala_birds",
      +  "mandala_abstract",
      +  "jungle_adventure",
      +  "story",
      +  "anxiety_motivation",
      +  "food_fun",
      +  "universe_space",
      +  "anime_characters",
      +  "inspirational",
      +  "mythology",
      +  "christmas",
      +  "fairy_tale",
      +  "cozy_doodle",
      +  "general_coloring"
      +]
    • addedInput schema / properties / styleReferenceImage
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional STYLE TEMPLATE: a picture drawn in the art style the customer wants — how faces, eyes, bodies, expressions, line and detail are drawn. Every page is drawn in that style; nothing in the picture (its characters, objects, background or text) appears in the book. It is not a character: use characterDetails for the book's own characters. Pass exactly one of s3Key (returned by upload_image, or a picture uploaded on the website) or data (the PNG or JPEG itself, base64, at most 4 MB).",
      +  "properties": {
      +    "data": {
      +      "description": "Base64 PNG or JPEG bytes, optionally as a data: URI.",
      +      "maxLength": 5592534,
      +      "type": "string"
      +    },
      +    "fileName": {
      +      "description": "Original file name.",
      +      "type": "string"
      +    },
      +    "mimeType": {
      +      "description": "image/png or image/jpeg.",
      +      "type": "string"
      +    },
      +    "s3Key": {
      +      "description": "Key returned by upload_image.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, openWorldHint=true) by disclosing that generation continues automatically through image generation and PDF creation, that Premium costs 2.5 credits a page vs 1 for Standard, and that a Standard order without standardQualityConfirmed is answered with a suggestion and not created. It also explains the retention exception for series books and how seriesSourceJobId inheritance can be overridden or replaced by name.

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 is front-loaded and every sentence carries operational content (prerequisites, prompting rules, cost, save requirements). It is dense and paragraph-long for a tool definition, but little could be cut without losing a routing or cost fact.

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 19-parameter tool with nested character objects and no output schema, the description covers prerequisites, costs, prompting syntax, and series inheritance well. The notable gap is what comes back after creation — there is no mention of a returned jobId or that the caller should follow up with get_job_status, which an agent needs in order to complete the flow.

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 every parameter in depth, which sets the baseline at 3. The description adds only decision-level framing — when characterDetails comes from list_my_characters, when seriesSourceJobId replaces re-describing characters — rather than new meaning for individual fields.

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?

States a specific verb and resource plus the input basis: "Create a printable coloring book from a theme or description." It also sketches the pipeline (line art -> image generation -> PDF). It does not, however, distinguish itself from the adjacent create_educational_coloring_book or create_story_coloring_book siblings, so an agent must infer which creator to pick from the two tools' names alone.

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 unusually concrete sequencing: call list_my_characters before ordering and ask which saved characters to use, call save_my_character first to persist a new one, call list_my_books and pass seriesSourceJobId for series continuations, and ask the customer about highQuality. What is missing is routing against the sibling creator tools (educational, story, activity) — the reader is never told what kind of request should go elsewhere.

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