Skip to main content
Glama

Send raw printer data

print_raw

Sends ready-made printer-native files (ZPL, ESC/POS, PCL, PostScript) untouched to raw port 9100 or IPP as application/octet-stream.

Instructions

Send a ready-made file untouched: ZPL for label printers, ESC/POS for receipt printers, PCL, PostScript. Goes to the raw port 9100 when there is one, otherwise over IPP as application/octet-stream. Only for files already in the printer's own language.

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": {
      "source": "<source>"
    },
    "name": "print_raw"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesFile path
printerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose real transport behavior: raw port 9100 preferred, falling back to IPP as application/octet-stream. It says nothing about whether the job is queued or trackable, what errors surface on failure, or what permissions are needed — meaningful gaps for an I/O operation.

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?

Three short sentences, front-loaded with the core action, then formats, then transport, then the constraint. No filler and nothing repeated from the schema.

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

Completeness3/5

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

For a two-parameter I/O tool with no annotations and no output schema, the description covers transport and format constraints well but leaves the `printer` argument, failure behavior, and return/confirmation semantics unspecified. An agent could call it, but would be guessing on target selection.

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 only 50%, so the description has to compensate, and it does so for `source`: the file must already be in the printer's language and is sent byte-for-byte untouched, which is information the schema's "File path" does not convey. The `printer` parameter remains entirely undefined in both places (name vs. address, default selection), which is the main remaining hole.

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?

"Send a ready-made file untouched" names a specific verb and resource, and the scope clause (raw ZPL/ESC-POS/PCL/PostScript, no rendering) makes it clearly distinct from the generic sibling `print`. An agent can choose between them from the description alone.

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?

"Only for files already in the printer's own language" is an explicit when-to-use / when-not-to-use boundary, which is the key selection criterion versus a normal print tool. It stops short of naming the alternative tool or stating what to do if the file is not pre-rendered, but the constraint is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.