Skip to main content
Glama

Generate birth stats poster

generate_birth_poster
Read-onlyIdempotent

Use this when the user wants a birth stats poster, a baby birth announcement printable, a nursery birth print or a birth stats sign. Put each detail in its own field (name, birth_date, birth_time, place, parents). Returns a print-ready PDF at 8x10 (default), 11x14, A4, A3 or a 5x7 card with the date, time and, when a place is given, the moon phase at birth. Sunrise and sunset need a listed city or, for a place given by coordinates, an explicit IANA timezone. 4 layouts and 6 colour themes. Does not take or print weight, length or any medical details, and does not add photos or footprints.

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": {
      "name": "<name>",
      "birth_date": "<birth_date>"
    },
    "name": "generate_birth_poster"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe baby's name as it should print, in any spelling or script supported by the fonts (Latin, Greek, Cyrillic, Vietnamese, Chinese, Japanese, Korean, Arabic, Hindi and other Indian scripts), e.g. "Olivia Rose Nguyễn" or "王芳".
sizeNoPrint size: 8x10 (default), 11x14, a4, a3, or 5x7 (card).
bleedNoAdd a 0.125 in bleed on every side for a print shop (default false). The trim size stays as chosen.
colorNoColour theme: sage (default), blush, sky, sand, charcoal or white.
placeNoBirth city, e.g. "Austin, Texas" or "Łódź, Poland". Used for the printed place, the time zone, the moon phase that night and sunrise and sunset. A town that is not in the city list is refused: then send the nearest larger city, or the town with coordinates like "Hebden Bridge, England (53.742, -2.014)" (the name prints as written; add timezone for sunrise and sunset).
layoutNoLayout: classic (centered, default), modern (left aligned with a colour band), moon (large moon at the top), or minimal (one line of stats).
parentsNoOptional parents' names, e.g. "Anna & Tom Smith" or ["Anna", "Tom"].
headlineNoOptional short line above the name, e.g. "Welcome to the world" or "Hello world". Default none.
show_sunNoInclude sunrise and sunset at the birth place on that date (default true when a place is given).
timezoneNoIANA time zone of the birth place, e.g. "America/Phoenix" or "Europe/London". Needed when the place is given by coordinates (sunrise, sunset and the zone label print only with it) or when no place is given (the moon then uses this zone). A listed city always uses its own zone.
show_moonNoInclude the moon phase at the birth date and time (default true).
birth_dateYesDate of birth, e.g. "2026-03-03" or "March 3, 2026". Numeric dates like 3/4/2026 are read month first for places in the US and Canada (or with no place) and day first elsewhere; dotted dates (03.04.2026) are always day first. Send YYYY-MM-DD when in doubt.
birth_timeNoTime of birth in local time at the birth place, e.g. "7:42 am" or "19:42". Optional; the poster uses the same 12 or 24 hour style.
time_formatNo12h or 24h for printed times. Default: the style of birth_time (24h if it had no am/pm).

Output Schema

NameRequiredDescriptionDefault
sunYes
dateYes
moonYes
nameYes
sizeYes
timeYes
bleedYes
colorYes
notesYes
placeYes
layoutYes
date_isoYes
downloadsYes
size_labelYes
page_pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / length
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "maxLength": 40,
      -      "type": "string"
      -    }
      -  ],
      -  "description": "Birth length with its unit, e.g. \"20 in\", \"20.5 inches\" or \"51 cm\". Both units print (1 in = 2.54 cm)."
      -}
    • removedInput schema / properties / weight
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "maxLength": 40,
      -      "type": "string"
      -    }
      -  ],
      -  "description": "Birth weight with its unit, e.g. \"7 lb 8 oz\", \"7.5 lb\", \"3.4 kg\" or \"3400 g\". Both units print (1 lb = 0.45359237 kg)."
      -}
    • removedOutput schema / properties / length
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "exact_cm": {
      -          "type": "string"
      -        },
      -        "imperial": {
      -          "type": "string"
      -        },
      -        "metric": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "imperial",
      -        "metric",
      -        "exact_cm"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / properties / weight
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "exact_kg": {
      -          "type": "string"
      -        },
      -        "grams": {
      -          "type": "string"
      -        },
      -        "imperial": {
      -          "type": "string"
      -        },
      -        "metric": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "imperial",
      -        "metric",
      -        "grams",
      -        "exact_kg"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "name",
      -  "date",
      -  "date_iso",
      -  "time",
      -  "weight",
      -  "length",
      -  "place",
      -  "moon",
      -  "sun",
      -  "size",
      -  "size_label",
      -  "page_points",
      -  "layout",
      -  "color",
      -  "bleed",
      -  "notes",
      -  "downloads"
      -]New value: +[
      +  "name",
      +  "date",
      +  "date_iso",
      +  "time",
      +  "place",
      +  "moon",
      +  "sun",
      +  "size",
      +  "size_label",
      +  "page_points",
      +  "layout",
      +  "color",
      +  "bleed",
      +  "notes",
      +  "downloads"
      +]
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. Beyond that the description adds real behavioral context: refusal of unlisted towns, the requirement that sunrise/sunset need a listed city or an explicit IANA timezone for coordinate-supplied places, and what actually prints (date, time, moon phase, sunrise/sunset). It stops short of stating whether output is a file, a link or base64, which is the only notable 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?

Front-loaded with the trigger and the output, then constraints, then exclusions – a sensible order with no filler sentences. The opening synonym chain is slightly long, but each variant is a distinct real user phrasing that aids selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool this is thorough: output medium and sizes, layout and theme cardinality, the timezone/place resolution rules, date-format ambiguity handled in schema, and explicit scope exclusions. Because an output schema exists the description is not obliged to explain return values, yet it still names the PDF and its contents, so nothing an agent needs in order to call it correctly is missing.

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 genuine cross-parameter meaning the schema does not: 'put each detail in its own field' steers field-per-fact usage, and it explains the conditional dependency between place, timezone and the sunrise/sunset and moon computations. It also notes 4 layouts and 6 colour themes without repeating every allowed value.

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-plus-artifact: it generates a print-ready PDF birth stats poster, and immediately enumerates the user phrasings ('birth stats poster', 'baby birth announcement printable', 'nursery birth print', 'birth stats sign') that should route here. The output is named concretely (print-ready PDF at 8x10/11x14/A4/A3/5x7 card), so an agent knows exactly what will be produced.

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

Usage Guidelines5/5

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

Leads with an explicit trigger ('Use this when the user wants...') and follows with hard exclusions: no weight, length, medical details, photos or footprints. It also gives the operational rule for the one ambiguous case – a town not in the city list is refused, so send the nearest larger city or coordinates plus timezone.

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