Skip to main content
Glama

terminal_screenshot_text

Renders arbitrary text as a terminal-styled PNG screenshot for reports, docs, or manually composed terminal output. Use it to convert text into a shareable terminal capture without executing commands.

Instructions

Render arbitrary text as a terminal-styled PNG screenshot. Useful for manually composed output.

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": {
      "text": "<text>"
    },
    "name": "terminal_screenshot_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText content to render
scaleNoScale factor 1-3 (default: 2)
themeNo
titleNoWindow title (default: 'Terminal')
widthNoFixed terminal width in pixels
commandNoCommand to show in prompt line (optional)
compactNoCompact mode: less padding
font_sizeNo
max_linesNoMaximum output lines to render
max_widthNoMaximum terminal width (default: 980)
save_pathNoFull path for PNG output
watermarkNo
line_heightNoLine height multiplier (default: 1.4)
show_chromeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the entire burden. It discloses the output format (PNG) but not whether a file is written to disk, what the tool returns (path, base64, URL), or whether it is a pure render versus a side-effecting write — all material for a tool with a save_path parameter.

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 short sentences, front-loaded with the core action and artifact, with no filler or repetition. The second sentence is slightly vague but earns its place as the only usage hint available.

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?

For a 14-parameter tool with no annotations and no output schema, the description is thin: it never explains the return value, whether output lands on disk, or what the theme/scale/compact options actually change. An agent could invoke it but cannot predict the result.

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 71%, so most parameters are already self-documenting, and the description adds no format, constraint, or default information on top of it. The several undocumented parameters (font_size, watermark, show_chrome) are left unexplained in both places, but the schema does most of the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Render arbitrary text') and names the output artifact precisely ('terminal-styled PNG screenshot'), which distinguishes it from the terminal_exec/screenshot siblings that capture real command output. It stops short of naming the sibling it replaces, so differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The clause 'Useful for manually composed output' implies the selection criterion (text you author yourself rather than output from an executed command), but it never explicitly says when to prefer this over terminal_screenshot or terminal_exec_screenshot, and gives no exclusions or prerequisites.

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