Skip to main content
Glama

view_latest

Fetch a specified number of recent ComfyUI output images to review generated results.

Instructions

Fetch the last N ComfyUI output images and return them as image blocks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of images (default 1)
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It only states the action and return format, but does not disclose potential side effects, limitations (e.g., what happens if no outputs exist), or whether it performs any non-obvious operations. This is a gap for a fetch 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?

The description is a single, concise sentence that effectively communicates the tool's purpose without unnecessary words. It earns its place completely.

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 simple tool with one parameter and no output schema, the description is largely complete. It specifies the source (ComfyUI output images), the count (last N), and the return type (image blocks). However, it could benefit from mentioning edge cases or failure behavior, but given the low complexity, this is sufficient.

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?

The schema fully documents the parameter 'n' with its default value, and the description adds no additional semantic value beyond what the schema already provides. Baseline 3 is appropriate since schema coverage is 100%.

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 verb 'Fetch' and the resource 'last N ComfyUI output images', and specifies the return as image blocks. It distinguishes itself from siblings like view_image (specific image) and list_outputs (listing without fetching content).

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 description implies usage for retrieving recent output images, but provides no explicit guidance on when to use this tool versus alternatives like view_image or list_outputs. No when-not-to-use scenarios or alternative suggestions are given.

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/bernardogv/comfyui-mcp'

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