Skip to main content
Glama

maket_preview

View documents outside the agent by opening the live preview URL in a browser or rendering a single page to PNG at true mm size.

Instructions

When to use: view documents outside the agent. open flips the live preview URL into the user's browser; snapshot rasterises a single page to PNG at its true mm size.

open — launch the live preview URL (localhost) in the default browser. No params. snapshot — render a page via headless Chromium. Returns the PNG inline (binary) and as a file path on disk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docNoDocument name. Required for snapshot.
pageNo1-based page number. Required for snapshot.
pathNoFor snapshot: output PNG path. Defaults to EXPORTS_DIR/<doc>.png.
actionYesOperation to run. See the tool description for the action table.
Behavior3/5

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

With no annotations provided, the description bears full responsibility. It explains that 'open' launches a URL and 'snapshot' renders via headless Chromium and returns results. However, it lacks details on side effects (e.g., does 'open' modify any state?), permissions needed, or error conditions. The 'true mm size' detail is good, but overall transparency is adequate but not comprehensive.

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?

The description is brief and well-structured. It opens with a purpose statement, then presents each action in a clear list format. Every sentence adds information, and there is no redundancy or 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?

Given the tool has 4 parameters, two action modes, and no output schema, the description adequately covers the two use cases. It describes inputs for each action and specifies output for 'snapshot' (inline binary and file path). However, it could mention the return behavior for 'open' and elaborate on disk path details.

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?

The input schema covers all 4 parameters with descriptions, achieving 100% coverage. The description adds value by explicitly linking the 'action' enum values to their usage context and stating which parameters are required for each action. This goes beyond the schema's standalone 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 the tool's purpose: 'view documents outside the agent'. It specifies two distinct actions (open and snapshot) with concrete outcomes (launch URL in browser vs render PNG). This differentiates it from sibling tools like maket_doc or maket_pdf which may involve document editing or processing.

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?

The description provides a clear 'When to use' statement and breaks down each action's parameters and behavior. However, it does not explicitly state when not to use this tool or suggest alternatives among sibling tools, which would improve guidance further.

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/ng-galien/maket'

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