Skip to main content
Glama

View an event keyframe or test image

view_image
Read-onlyIdempotent

Return the stored image of a decision event (watchId + eventId; needs events:read) or of a test case (caseId) as an image, with the watch's goal, time and reason. Claude shows it as a card with Correct / False alarm buttons. 404 when it has expired or does not exist.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
caseIdNo
eventIdNo
watchIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower; the description still adds real value by disclosing the auth scope, the 404 failure mode for expired or missing images, and that a card with Correct / False alarm buttons is rendered. It omits image size/format limits and any rate or caching behavior, keeping it at 4 rather than 5.

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, front-loaded with the return value, then addressing modes, permission, UI behavior, and error case — every clause carries information and nothing is padding.

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 correctly tells the agent it returns an image plus goal/time/reason, and covers permission and 404 handling. The remaining gap is the ambiguous all-optional parameter combinations, plus the unusual mention of 'Claude' rendering a card, which is platform-specific rather than tool-contract information.

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 description coverage is 0%, so the description carries the burden, and it does explain the key semantic the schema cannot: watchId and eventId form one addressing mode while caseId is a separate one. It never states what happens when all three are omitted (all are optional) or when one half of the watchId+eventId pair is supplied, which the schema cannot express either.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource — 'Return the stored image of a decision event ... or of a test case' — and names the identifying keys for each mode (watchId + eventId vs caseId). It does not differentiate itself from the sibling event_image_link, which plausibly covers overlapping ground, so it falls short of a 5.

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?

It clearly routes the agent between the two invocation modes and states the prerequisite permission (events:read), which is genuine when-to-use guidance. It stops short of explicit exclusions or pointing to an alternative tool when the image is unavailable (e.g., falling back to event_image_link).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.