Skip to main content
Glama

Create an activity book

create_activity_book

Create an activity book exactly as the website's Activity Book Builder does: any mix of mazes, word search, sudoku, tracing, spot the difference, shadow matching, connect the dots, ABC pages (one letter a page, always black and white), color by number (a picture in line art with a number in every area and a colour key, always black and white), hidden pictures (a themed scene with small things hidden in it and a strip of what to find), letter tracing (a letter, number or word a page as dotted letters on handwriting lines, always black and white), cut and paste (a scene with dashed-outline holes and the pictures to cut out and glue in) and coloring pages, every page decorated around the book's theme. Before ordering, ask the customer: who it is for (ageGroup), what it is about (description), which activities, how many pages, colour or black and white for each activity (inkByType), which page quality (highQuality) and, when there are mazes, which maze styles (mazeStyles). Optionally the pages for each activity (pagesByType) and their own characters on one picture (characterReferenceSheet). 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.

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": {
      "activities": "<activities>",
      "numberOfPages": "<numberOfPages>",
      "ageGroup": "<ageGroup>",
      "description": "<description>",
      "inkByType": "<inkByType>",
      "highQuality": "<highQuality>"
    },
    "name": "create_activity_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
bleedNoPrint bleed. Defaults to true, as on the website: activity pages keep their artwork inside the print margins, so the bleed edge is plain paper.
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.
inkByTypeYesColour or black and white for each chosen activity except coloring_book, abc_book, letter_tracing_book and color_by_number_book (always black and white). Ask the customer — the website asks this for every activity, e.g. {"maze_book": "color", "word_search_book": "black_and_white"}.
activitiesYesThe activities in the book, in the order they should appear. Ask the customer. coloring_book adds drawn coloring pages.
mazeStylesNoRequired when activities includes maze_book, and only then: which maze styles to draw. Ask the customer. walls = classic line maze, tube = rounded corridors, square_tube = square corridors, round = circular maze (not drawn for ages 3-6).
descriptionYesWhat the book is about, in the customer's words — the theme every page is decorated around, and any words, topics or instructions they want. Ask; do not invent one.
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 credits a coloring page or a black-and-white hidden-pictures or spot-the-difference page, every other page staying at 1 credit a page: finer detail and crisper lines.
pagesByTypeNoOptional: pages for each chosen activity, e.g. {"maze_book": 8, "coloring_book": 4}. Must add up to numberOfPages. Omit it to share the pages out across the activities.
activityTypeNoNot needed: every activity book is a builder book. Accepted as workbook only.
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.
numberOfPagesYesNumber of interior pages to generate.
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.
characterReferenceSheetNoOptional: the customer's characters on one picture, drawn into the activities' pages. 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).
characterReferenceByTypeNoOnly with characterReferenceSheet, optional: false for an activity whose pages should not show the characters. Activities left out show them.
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. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Well beyond the readOnlyHint=false/openWorldHint=true annotations, it discloses credit economics (1 credit a page, 2 for Premium coloring or B&W hidden-pictures/spot-the-difference pages), that a Standard order lacking standardQualityConfirmed is rejected rather than created, and that series books are retained instead of deleted. It does not say what the call returns or how to follow the generation job.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a clear purpose sentence, but the opening sentence is a single enormous clause stuffing a mini-definition of all thirteen activity types into parentheses, duplicating enum detail and making the paragraph hard to scan. The closing workflow instructions are tight by comparison.

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?

Covers the asking workflow and series linkage for a 16-parameter, nested, credit-consuming creation tool, but with no output schema it never says what comes back (jobId, credits charged) or that get_job_status tracks the build, leaving the agent to guess the post-call path.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds workflow meaning: which questions must be asked before ordering, that mazeStyles applies only when maze_book is chosen, that inkByType excludes the always-black-and-white types, and that seriesSourceJobId substitutes for re-describing characters.

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 and resource ("Create an activity book") and immediately scopes it as a multi-activity builder mirroring the website's Activity Book Builder, enumerating the activity types so an agent can tell it apart from single-purpose siblings such as create_coloring_book or create_bingo_book.

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 an explicit pre-order checklist of what to ask the customer and routes to list_my_books when a book continues a series, plus schema-level routing to list_book_types for trim sizes. It stops short of explicitly saying when to prefer a narrower sibling like create_coloring_book instead of this tool.

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