Skip to main content
Glama

print-box

PDF page box check: trim, bleed and safe area from supplied boxes — Checks the five PDF page boxes you supply (MediaBox, CropBox, BleedBox, TrimBox, ArtBox, in points) for a print job: applies the ISO 32000-1 defaults and media-box clipping, measures bleed on each side of the trim box, and tests the content box against a safe margin inside the trim, for agents that prepare or accept print-ready PDFs. It does not read a PDF file, check fonts, colour, image resoluti

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": {
      "pageBoxes": "<pageBoxes>"
    },
    "name": "print-box"
  }
}

Input Schema

NameRequiredDescriptionDefault
userUnitNoThe page's UserUnit (default 1): the size of one user space unit in 1/72 inch.
pageBoxesYesmediaBox is required; the others are optional and default per ISO 32000-1 (cropBox to mediaBox; bleedBox, trimBox, artBox to cropBox).
contentBoxNoBounding box of the live content, same coordinates as the page boxes. If absent the ArtBox (when supplied) is used.
requirementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry full behavioral disclosure. It explains defaults, clipping, bleed measurement, and safe-margin testing, but never says what the result contains (pass/fail, per-side measurements) and is visibly truncated mid-word, leaving key output behavior opaque.

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 label front-loads the purpose well, but the body is one dense run-on sentence and the text ends abruptly at 'resoluti'. The clauses are relevant, yet the structure is not scannable and the truncation hurts clarity.

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

Completeness2/5

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

The tool has a nested schema, no annotations, and no output schema, so the description should clarify results and remaining behavior. It is truncated and does not explain the return format, making it incomplete for an agent that needs to interpret check results.

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 75%, so the schema does most of the parameter documentation. The description adds useful meaning about points, ISO 32000-1 defaults, and bleed/safe-margin checks, but does not explain userUnit, requirements.unit, or tolerancePt semantics beyond what the schema already supplies.

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 uses a specific verb and resource: 'PDF page box check' and enumerates the five boxes, ISO 32000-1 defaults, media-box clipping, bleed measurement, and safe-margin testing. The negative scope ('does not read a PDF file') further pins down what it is.

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 states the intended context ('for agents that prepare or accept print-ready PDFs') and gives explicit exclusions such as not reading a PDF file or checking fonts, colour, and image resolution. It does not name alternatives or describe broader when-not-to-use conditions, but the exclusions provide useful routing guidance.

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