Skip to main content
Glama

Lithophanes

3D print cost calculator

print_cost
Read-onlyIdempotent

Cost of a 3D print (any print, not only lithophanes) from filament grams and print time: filament, electricity, printer wear and failed prints, plus a selling price with markup. USD by default; any currency works if all prices use it.

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": "print_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
gramsNoFilament used by the print, from the slicer (default 25)
hoursNoPrint time in hours, from the slicer (default 4)
wattsNoAverage printer power draw in W (default 120)
kwhPriceNoElectricity price per kWh (default 0.17)
markupPctNoMarkup when selling, % (default 0)
failurePctNoShare of prints that fail, % (default 10)
spoolGramsNoSpool weight in grams (default 1000)
spoolPriceNoSpool price (default 20)
wearPerHourNoPrinter wear per print hour (default 0.1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds a real behavioral rule absent from structured data: USD by default, and any currency is valid only if all supplied prices share it. It says nothing about the returned breakdown (a calculation tool with no output schema), leaving the response shape partially implicit.

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?

Two sentences, front-loaded with the cost formula and followed by the currency caveat; the parenthetical about non-lithophane prints is load-bearing for tool selection. Dense but no filler.

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?

For a zero-required-parameter, read-only calculator with full schema coverage, the description covers inputs, cost logic, and currency handling. The only gap is that it never sketches the output (unit cost vs. selling price fields), which matters somewhat since no output schema exists.

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?

With 100% schema coverage the baseline is 3, and the description earns a notch above by grouping the nine parameters into named cost drivers (filament, electricity, wear, failures) and adding a cross-parameter coherence constraint (all prices in the same currency) that the schema does not express. It does not restate defaults or units, which the schema already handles.

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 concrete verb+output ("cost of a 3D print") and enumerates the cost components it computes: filament, electricity, printer wear, failed prints, plus selling price with markup. The parenthetical "any print, not only lithophanes" explicitly separates it from the lithophane-specific siblings.

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?

"Any print, not only lithophanes" gives a clear routing cue away from the lithophane_estimate/lithophane_pricing siblings, and the inputs named (grams, print time) tell the agent what must be gathered first. It stops short of naming an alternative tool or stating exclusions beyond the lithophane case.

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