Skip to main content
Glama

diagnose_error_screenshot

Analyze error screenshots to diagnose root causes and suggest actionable fixes for build errors, runtime errors, and stack traces.

Instructions

Analyze error screenshots (build errors, runtime errors, stack traces) and propose actionable fixes with root cause analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageUrlYesImage source: a data URI (data:image/...;base64,...), an http(s) URL, or a local file path
contextNoAdditional context: programming language, framework, build tool, or environment details
Behavior3/5

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

No annotations are provided, so the description carries full burden. It states the tool analyzes errors and proposes fixes, but does not disclose processing specifics (e.g., required image formats, handling of multiple errors, or API dependencies). Adequate but lacks deeper behavioral detail.

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, front-loaded sentence that efficiently conveys action, input types, and output. Every word contributes, with 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?

With no output schema, the description appropriately mentions 'propose actionable fixes with root cause analysis' to indicate output. It could be more specific about the format or structure of the analysis, but it is largely complete for a diagnostic tool.

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% (both parameters documented). The tool description does not add new information about parameters beyond the schema; it only reiterates the general purpose. Baseline is 3, and the description does not elevate it.

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: analyzing error screenshots (build errors, runtime errors, stack traces) and proposing actionable fixes with root cause analysis. It specifies the input type and output, distinguishing it from sibling tools that handle different visual data (e.g., data visualizations, diagrams).

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 when to use: when an error screenshot needs diagnosis and fixes. However, it does not explicitly mention when not to use or provide alternatives among siblings. The context is clear but could be improved with exclusions.

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/Lin-zhibo/Vison-MCP'

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