Skip to main content
Glama

Look at a photo or video

media_view
Read-only

Look at one stored picture of this workspace: the answer is the picture itself. Use it on every picture templates_render made, before showing it to the user: check that no line is cut off, that the words fit their space and that the photo sits well, and render again if not. A video answers with its still picture. Changes nothing.

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": "media_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA media id from media_upload or media_list.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. 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 readOnlyHint and destructiveHint=false, so 'Changes nothing' is largely redundant. The description still earns credit for non-obvious behavioral facts the annotations cannot convey: the response is the image content itself, and a video returns a still frame. It does not describe format, size limits, or failure behavior for a bad id.

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?

Front-loaded with what the tool does and what it returns, and the checklist for verifying rendered templates is actionable rather than filler. The middle sentence is somewhat run-on with three chained checks, but nothing is truly wasted.

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 two-parameter read tool with rich annotations and no output schema, the description covers purpose, recommended placement in the render-review loop, and the surprising video behavior. It leaves the response encoding and error cases implicit, a minor gap given the otherwise complete picture.

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 both the media id and the brand id (with its single-brand omission rule) are fully documented in the schema. The description adds only a loose scoping hint ('of this workspace') and no new meaning for either parameter, so the baseline 3 applies.

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?

States a precise verb and resource ('Look at one stored picture of this workspace') and immediately clarifies the return nature ('the answer is the picture itself'), which distinguishes it from metadata-listing siblings like media_list. The added note that a video yields its still picture removes the main ambiguity for a visual-inspection tool.

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?

Gives an explicit workflow rule: use it on every picture templates_render made, before showing it to the user, and re-render if quality checks fail. That names a concrete sibling and a condition. It stops short of stating exclusions (e.g., use media_list to enumerate ids rather than to view them), so it is not a full when/when-not treatment.

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.