Skip to main content
Glama

Get annotation frame

get_annotation_frame
Read-onlyIdempotent

See the frame a media annotation was left on. Returns the image (up to 1.5 MB) and a text block with the annotation's anchors, its drawing, and imageUrl, a signed link to the image. Needs comments:read and media:read. source says what the image is: snapshot has the reviewer's marks drawn on it; frame is an interactive file's paused frame, video_thumbnail the video frame at timeMs, and media the image itself. Those three have no marks, so read them with drawing. source is null if there is no picture. Waits up to 20 s for a snapshot still uploading.

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": {
      "commentId": "<commentId>"
    },
    "name": "get_annotation_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdNoPost ID; defaults to the comment's post.
commentIdYesAnnotation ID.

Output Schema

NameRequiredDescriptionDefault
postIdYes
sourceNo
imageUrlNo
commentIdYes
annotationNo
marksDrawnNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations: it names the required scopes (comments:read, media:read), the 1.5 MB payload ceiling, the 20-second wait for a still-uploading snapshot, and the nullability of `source` when no picture exists. It also discloses the response shape (image plus a text block containing anchors, drawing, imageUrl), which lets an agent plan around signed-link expiry and partial-content cases.

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 the core action and result, then layered with permissions, source semantics, and the wait behavior — every sentence carries information. Some sentences are dense run-ons (the source enumeration) and the ordering scatters operational constraints mid-paragraph, costing a point.

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?

An output schema exists, yet the description still tells the agent what to expect (image bytes, drawing, signed imageUrl) plus the auth scopes, size limit, and the 20-second stall condition. For a read-only fetch with two parameters, nothing an agent needs before calling is missing.

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% and both parameters (postId, commentId) are already documented in the schema, so the description adds nothing about their semantics, defaults, or ID format. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

Opens with a specific verb and resource: 'See the frame a media annotation was left on,' and enumerates the four possible `source` values (snapshot, frame, video_thumbnail, media). That effectively separates this from get_media (which returns 'the image itself') and get_canvas_frame, though those siblings are never named explicitly, so the differentiation is inferential rather than declared.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated — the description says 'read them with drawing' for mark-less sources, which is guidance on interpreting the result, not on choosing this tool. There is no explicit 'use this instead of get_media when…' routing, so the agent must infer selection from the annotation-centric framing.

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.

Resources