Skip to main content
Glama
LouisChanCLY

napkin-ai-mcp

by LouisChanCLY

Generate Visual and Wait

generate_and_wait

Generate a visual from text and wait for completion, combining creation and status polling into a single operation.

Instructions

Generate a visual and wait for completion. Combines generate_visual and polling check_status into a single operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNoWidth in pixels (PNG only)
formatNoOutput format: svg, png, or ppt (default: svg)
heightNoHeight in pixels (PNG only)
contentYesMain text content to visualise
contextNoAdditional context for visual generation
dry_runNoValidate inputs without calling the API (default: false)
languageNoBCP 47 language tag (e.g., en, en-GB). Default: en
style_idNoStyle identifier from Napkin AI
visual_idNoRegenerate a specific visual layout with new content. Cannot be used with visual_ids, visual_query, or visual_queries.
color_modeNoColour mode: light, dark, or both
visual_idsNoArray of visual IDs to regenerate specific layouts. Length must match number_of_visuals.
orientationNoOrientation: auto, horizontal, vertical, or square
visual_queryNoVisual type query (e.g., mindmap, flowchart, timeline)
sort_strategyNoSort strategy: relevance, random, or variation
visual_queriesNoArray of visual type queries. Length must match number_of_visuals.
number_of_visualsNoNumber of variations to generate (1-4)
text_extraction_modeNoText extraction: auto, rewrite, or preserve
transparent_backgroundNoUse transparent background

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
statusYes
creditsNoCredit consumption for the request
generated_filesYesGenerated files with download URLs
Behavior2/5

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

With no annotations, the description carries the full burden. It mentions waiting for completion, implying a blocking operation, but it doesn't disclose potential timeouts, failure modes, authentication requirements, or that it makes API calls. It also omits side effects like resource creation or quota consumption, leaving the agent insufficiently informed.

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?

Two sentences, zero fluff. Every word contributes to understanding the tool's core function and composition. It is appropriately terse for a composite tool, though one could argue for more detail given complexity, conciseness is a strength.

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?

Despite having 18 parameters and a composite operation, the description is extremely short. It names the two operations but doesn't cover orchestration details like polling interval, timeout, error handling, or how the waiting behaves with multiple visuals. An output schema exists but return values are not the gap; the tool's behavioral semantics remain underspecified.

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 input schema provides descriptions for all 18 parameters (100% coverage), so the description adds no parameter semantics. Baseline is 3 when schema coverage is high, and the description doesn't clarify interactions like visual_id vs visual_query, which the schema already documents individually.

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 primary action: 'Generate a visual and wait for completion.' It distinguishes itself from siblings by explicitly mentioning it combines generate_visual and check_status into one operation, making its purpose unambiguous and unique.

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 implies usage context by stating it combines generate_visual and polling check_status, signaling that this is the one-shot operation when you need the final completed visual. It references sibling tools indirectly but doesn't explicitly say when NOT to use it, such as when you need to poll manually or perform other tasks in between.

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/LouisChanCLY/napkin-ai-mcp'

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