Skip to main content
Glama

Inline preview (snapshot)

get_inline_preview
Read-only

Quickly inspect a TOP's health with a small thumbnail, parent error sweep, and changed parameters in one call.

Instructions

Read-only one-shot inspection of a TOP: small base64 thumbnail (default 256² JPEG) + parent error sweep (BFS up parent_depth hops) + top-N changed-from-default parameters + cook stats. One call instead of chaining get_preview / get_td_node_errors / get_td_node_parameters when you just want to know 'is this op alive and healthy?'. Use get_preview/render_output for delivery-grade frames; this thumbnail is intentionally tiny + lossy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFull path of the TOP to inspect.
widthNoThumbnail width in pixels (16–1024). Capped — this is for snapshots, not delivery.
heightNoThumbnail height in pixels (16–1024).
formatNoThumbnail encoding. JPEG keeps the payload small (~8–20 KB at 256²); PNG when alpha matters.jpeg
jpeg_qualityNoJPEG quality 1–100. Ignored when format is png.
parent_depthNoHow many upstream hops to also check for errors. 0 = just path; 1 = path + direct inputs.
max_changed_paramsNoTop-N parameters whose value differs from the operator default, ranked alphabetic. 0 = skip.
include_full_paramsNoIf true, also include the full parameters object (mirrors get_td_node_parameters).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
typeYes
familyNo
aliveYes
thumbnailYes
cookYes
errorsYes
changed_paramsYes
parametersNo
warningsNo
Behavior4/5

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

Description states 'Read-only one-shot inspection', aligns with readOnlyHint annotation. Adds behavioral details like parent error sweep BFS, thumbnail size and lossy nature, and scope of parameters. No contradiction with annotations.

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?

Four sentences, each serving a purpose: first defines the tool's output, second gives use case, third provides alternative, fourth specifies thumbnail quality. Front-loaded and efficient.

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?

Covers all aspects: what the tool does, what it returns (thumbnail, errors, params, stats), when to use, parameter details, and output quality. Output schema exists, but description still sufficiently explains the return payload.

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, baseline is 3. Description adds meaning by explaining the purpose of each parameter (e.g., format selection impact on payload size, parent_depth for error sweep hops, max_changed_params for top-N defaults). This goes beyond the schema descriptions.

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 clearly states it performs a read-only inspection of a TOP, returning a thumbnail, error sweep, parameter changes, and cook stats. It distinguishes itself from sibling tools like get_preview and get_td_node_errors by emphasizing it is for quick health checks.

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?

Explicitly says 'One call instead of chaining get_preview / get_td_node_errors / get_td_node_parameters' and advises using get_preview/render_output for delivery-grade frames. Provides clear when-to-use and when-not-to.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pantani/tdmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server