Skip to main content
Glama

Lay out the issue and get a link to the printed magazine, ready to order

lay_out_issue

Saves an issue (the essays in order, the title, the artist in residence and the works for its plates) and returns a short link to a page where it is already laid out as a stapled 8.5 x 11 in print magazine: cover art, contents, each essay set in print type, a frontispiece, full-page plates on spare pages and white-on-black stencils where an essay ends early, with 'Artist in residence: ' on the back cover. The page pages through like the printed copy and takes the order (quantity, then Stripe checkout); copies are printed and shipped to one address, or mailed to a list of the writer's readers. Every work is re-checked against the museum's public-domain flag; anything not flagged, or not by the named artist, is dropped. work_ids are optional: without them, or when too few are given for the plate slots, the artist's sharpest public-domain works fill the rest. Returns the link, the estimated page count, the essays it found, the works on hand and example prices. Example: {"substack":"aidanjude","post_slugs":["oct-26-pt1","oct-26-pt2"],"artist":"Albrecht Dürer","title":"Periodicals","work_ids":["aic:51498","aic:55330"]}.

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": {
      "substack": "<substack>",
      "post_slugs": "<post_slugs>",
      "artist": "<artist>"
    },
    "name": "lay_out_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe magazine's name on the cover (default: the publication's name)
artistYesThe artist in residence the writer picked
substackYesSubstack handle, subdomain or custom domain
work_idsNoOptional: works from find_artist_works in order of preference (aic:NNN / cma:NNN); the first portrait one that prints full page sharp is the cover unless cover_work_id is given
post_slugsYesThe essays, in reading order, by slug
typographyNoOptional type pairing (default garamond)
cover_work_idNoOptional: the work for the front cover

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the risk profile is partly covered; the description still adds real substance beyond that — order taking with Stripe checkout, physical printing and shipping to one address or a reader list, and silent dropping of works that fail the public-domain or artist check. It stops short of saying whether repeat calls create duplicate issues/pages, which matters given non-idempotence.

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?

The core action and the returned link are front-loaded, but the middle is one sprawling enumeration (frontispiece, plates, spare pages, white-on-black stencils) that reads like a product brochure rather than invocation guidance. Several clauses, such as the ordering/checkout flow and the example JSON, could be trimmed or split into scannable sentences without losing meaning.

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 no output schema, the description carries the return-shape burden and does so — link, estimated page count, essays found, works on hand, example prices — and it covers inputs, side effects and validation. For a tool with real-world fulfillment consequences, the missing piece is failure handling: what the response looks like when too few essays or works are found, or when the order step fails.

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 coverage is 100%, so every parameter including the typography enum, cover_work_id and the work_ids ordering rule is already documented in the schema. The description reinforces the work_ids backfill semantics and supplies a full example payload, but adds no format or constraint detail the schema lacks, so the baseline of 3 applies.

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 pair — saves an issue (essays in order, title, artist in residence, plate works) and returns a short link to a laid-out print magazine — and describes the artifact concretely (cover, contents, frontispiece, plates, stencils, back cover). An agent can distinguish this from the read/pricing siblings without opening any schema.

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?

Usage is implied rather than stated: the description explains that work_ids are optional and that omitted or insufficient works are backfilled from the artist's public-domain set, which tells the agent how to call it but not when. It never names an alternative such as price_print_run for pure pricing or find_artist_works for sourcing works, nor does it say when not to use it.

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