Skip to main content
Glama
JehadurRE

todiagram-mcp-windows-fix

by JehadurRE

Generate Image to Diagram

generateImageDiagram

Convert any image, such as a screenshot or whiteboard sketch, into a structured diagram by automatically identifying components and relationships.

Instructions

Convert an image (screenshot, diagram, whiteboard sketch, architecture drawing, etc.) into a ToDiagram custom format diagram. Analyzes the image to identify components, relationships, and hierarchical structure, then generates an equivalent diagram.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional name for the generated diagram
descriptionNoOptional description or context about the image
imageBase64YesBase64-encoded image data
imageMimeTypeYesMIME type of the image
Behavior3/5

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

Discloses analysis process (identify components, relationships, hierarchy) but no details on limitations, accuracy, or side effects. No annotations provided, so description carries moderate burden.

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 well-structured sentences with no extraneous content. First sentence defines purpose and examples, second explains mechanism. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, so description should clarify output format. 'ToDiagram custom format' is vague. Missing constraints like file size or supported image complexity. Adequate but not comprehensive.

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 100%, so baseline of 3. Description adds minimal value beyond schema: it mentions analysis but doesn't elaborate on parameter roles beyond what's in the schema.

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?

Clearly states 'Convert an image into a ToDiagram custom format diagram' with examples of image types (screenshot, diagram, sketch, architecture). Distinguishes from sibling tools like generateCodeDiagram and generateMermaidDiagram by specifying the input source is an image.

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?

Implies use when you have an image and want a diagram, but lacks explicit when-not-to-use or alternatives. Sibling tools are listed but not compared directly.

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/JehadurRE/todiagram-mcp-windows-fix'

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