Skip to main content
Glama

view_image

Open a PNG listed by check_ui or compare_images to inspect visual details that text findings can't answer. Use it only when needed, since each opened image costs tokens and stays in context.

Instructions

Open one PNG that check_ui or compare_images listed. Costs the tokens printed next to it, and it stays in your context: open only what the text findings can't answer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "view_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath as printed by check_ui.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the behavioral burden and does so by disclosing token cost, context persistence, and the recommendation to limit use. These are important operational traits beyond the schema.

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 short sentences front-load the action and then give the cost/context constraint. Every clause carries useful information with no 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?

For a one-parameter image-opening tool with no annotations or output schema, the definition covers source, cost, context persistence, and restraint. It could say slightly more about the returned image representation, but the essential call context is present.

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?

Schema coverage is 100%, so the baseline is 3; the description still adds that the path must be a PNG listed by check_ui or compare_images, extending the schema's narrower 'as printed by check_ui' note and clarifying that a single image is opened.

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 states a specific verb and resource ('Open one PNG') and ties it to the outputs of the sibling tools check_ui and compare_images, so the agent can distinguish it from those tools without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit selection rule: open only what the text findings cannot answer, and it identifies the sibling outputs that supply valid paths. That tells the agent when to use the tool and when not to.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools