Skip to main content
Glama

Calculate lenticular print output parameters

calculate_output_params
Read-onlyIdempotent

Calculate technical print parameters for a specific lenticular print: print-ready pixel size, uncompressed file size, views per lens period with and without lens rotation, feasibility of a desired view count, and the recommended lens rotation angle. Use this tool when the user asks numerical print questions — how many pixels are needed, what resolution to use, how many views fit, or what rotation angle to use — providing print width and height plus printer DPI, lens LPI, or desired view count when known. The tool computes values from formulas rather than estimating. Scope: numerical print parameters only; it does not produce calibration charts or price quotes.

Input Schema

NameRequiredDescriptionDefault
lpiNoLenticular lens pitch in LPI, if known
widthInYesPrint width in inches
heightInYesPrint height in inches
viewCountNoDesired number of view frames, if the user has one
resolutionNoPrinter resolution in DPI, default 720

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  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 readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered structurally. The description adds non-obvious behavioral context by stating values are derived from formulas rather than estimated, which tells the agent results are deterministic and reproducible. It does not discuss bounds handling or output shape, but the annotations carry most of that burden.

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?

The output enumeration comes first, then the usage trigger, then scope — a sensible front-loading for a numerical tool. The middle sentence is somewhat dense with examples, but every clause maps to a distinct capability or entry point, so little is wasted.

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?

There is no output schema, so the description must convey what comes back — and it does, listing all five computed values. Combined with the usage triggers and scope boundaries, an agent has everything needed to select and invoke it correctly.

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 each parameter's meaning is already documented. The description still adds selection guidance the schema lacks: width/height are the base inputs and DPI, LPI, or view count are supplied "when known," signaling that lpi, viewCount, and resolution are optional. The 720 DPI default is left to the schema, which is acceptable.

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?

Specific verb plus resource ("calculate technical print parameters for a specific lenticular print") followed by an enumerated list of the exact values returned: pixel size, uncompressed file size, views per lens period, feasibility, rotation angle. This is far beyond restating the title and lets an agent recognize the tool without opening the schema.

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?

Explicit trigger conditions are given as example user questions ("how many pixels are needed, what resolution to use, how many views fit, what rotation angle"), plus the inputs to supply. The scope sentence excludes calibration charts and price quotes, which routes the agent to generate_pitch_test_chart and get_print_quote respectively.

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