Skip to main content
Glama

Read a wrap, or list wraps

get_wrap
Read-onlyIdempotent

With wrap_id: a wrap's print specs, font, asset links and the back-cover text it shows now, so you never ask the user to retype it. It also says whether the back is a solid fill (recolour free) or AI art. Without wrap_id: lists wraps, newest first, also the ones made in the app editor; filter by book_id or cover_id. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_wrap"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoList only: page size (default 20).
cursorNoList only: next_cursor of the previous page.
book_idNoList only: this book's wraps.
wrap_idNoThe wrapId. Omit to list wraps.
cover_idNoList only: the wraps made from this cover.

Output Schema

NameRequiredDescriptionDefault
textNo
wrapsNoThe list, when no wrap_id was sent.
assetsNo
bookIdNo
wrapIdNo
flapWidthNoInches per dust-jacket flap; null otherwise.
pageCountNoNull for a Barnes & Noble design.
paperTypeNo
trimWidthNoInches.
designNameNo
fontFamilyNo
spineWidthNo
trimHeightNo
bindingTypeNo
designStyleNo
next_cursorNo
layout_stateNoThe stored layout; edit it and pass it to update_wrap_text to move blocks.
printProviderNoPrint provider id: kdp, ingramspark, lulu, d2d, bookvault or bn.
backColorEditableNotrue when update_wrap_text can recolour the back for free.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / printProvider / description
      Previous value: -"kdp or bn (Barnes & Noble)."New value: +"Print provider id: kdp, ingramspark, lulu, d2d, bookvault or bn."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real behavioral context beyond them: results are newest-first, wraps created in the app editor are included, the back-cover text reflects the current state, and the call is 'Free' (no credit cost). Remaining gaps, such as behavior on an unknown wrap_id or pagination limits, are minor.

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?

Two dense, front-loaded sentences: the conditional mode split comes first, then scope and ordering details, with no redundant phrasing. The one-word 'Free.' earns its place by flagging credit cost.

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 an output schema present, the description needn't document return shapes, and it still usefully previews the salient fields (font, asset links, back-cover text, fill vs. AI art). For a dual-mode read tool this is close to complete; only error/edge behavior for invalid IDs is left unstated.

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 every parameter is already documented in the schema, including 'Omit to list wraps', page size, cursor, and the book_id/cover_id filters. The description restates the same mode split and filters without adding format or edge-case semantics (e.g. what happens if both book_id and cover_id are passed), so the baseline 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?

The description splits the tool into two precise modes keyed on wrap_id (single wrap read vs. list) and enumerates what a read returns: print specs, font, asset links, current back-cover text, and whether the back is solid fill or AI art. An agent can immediately distinguish this retrieval tool from siblings like create_full_wrap or calculate_kdp_wrap.

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?

It gives clear conditional guidance ('With wrap_id' vs. 'Without wrap_id') plus a motivating use case ('so you never ask the user to retype it') and names the two list filters. It stops short of naming alternatives or exclusions, e.g. it never says to use create_full_wrap when no wrap exists.

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