Skip to main content
Glama

eokg_view_image

eokg_view_image
Read-onlyIdempotent

Open an artwork in an interactive, zoomable viewer beside the result so users can inspect details, toggle detector boxes, and select a box to share context.

Instructions

Show an artwork image to the user in an interactive viewer they can zoom. The viewer appears beside this result in clients that support MCP Apps (Claude, ChatGPT and others). Object boxes start hidden, and the user can turn them on and off with the viewer's Boxes button. Set show_boxes true only when the user asks to see them, since many boxes carry the wrong label. When boxes are on, the user can select one, and the selection is shared with you. Nothing is returned for you to look at; use eokg_inspect_image to see the picture yourself. If the user says no viewer appeared, give them the Record and Image links from the result as plain links. Takes a source id from eokg_search_smells (source_id), eokg_get_source or eokg_find_visual_smells.

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": {
      "id": "<id>"
    },
    "name": "eokg_view_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesImage source id: a http://data.odeuropa.eu/source/<uuid> URI or bare uuid.
min_scoreNoHide detector boxes scoring below this (0-1, default 0.7). Hand-drawn boxes score 1 but are not verified and can carry the wrong label.
show_boxesNoDraw the object boxes on the image. Leave false unless the user asks to see the boxes; many carry the wrong label.

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
dateNo
titleNo
artistNo
objectsYes
warningsNo
image_urlYes
min_scoreYes
show_boxesYes
original_image_urlNo
hidden_below_min_scoreYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses rendering behavior (viewer appears beside the result, only in MCP Apps clients), default UI state (boxes start hidden), interaction results (a selected box is shared back to the agent), and importantly that nothing is returned for the agent to look at. It also warns that many boxes carry wrong labels, which annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence and each following sentence carries distinct operational information, but the final sentence packs three source tools and a parameter name into a dense clause that reads as an afterthought.

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

Completeness5/5

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

For a UI-rendering tool with a full output schema, the description covers everything the agent needs: what appears, what is not returned, how to recover from a missing viewer, and where the id comes from. No meaningful behavioral gap remains.

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 would be 3, but the description adds real meaning: it constrains show_boxes by user intent rather than by data type, and it identifies the exact sibling tools whose source_id output feeds the required id. min_score is left entirely to the schema, which is acceptable given full coverage.

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 first sentence names a specific verb and resource ('Show an artwork image to the user in an interactive viewer they can zoom') and the description explicitly separates this tool from the sibling that shows the image to the agent ('use eokg_inspect_image to see the picture yourself'). An agent can distinguish the two without opening either schema.

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 conditional for the risky parameter ('Set show_boxes true only when the user asks'), names the alternative tool for a different need (eokg_inspect_image), and prescribes a recovery path when the viewer fails to render (give Record and Image links as plain links). It also lists which upstream calls supply the source id.

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