Skip to main content
Glama

Viral Manager

get_post_preview

Read-only

Get the visual preview (thumbnail image) of a post so the user can SEE it in the conversation. Works for the org's viral posts, Discovery posts (list_discovery_posts) and posts referenced by an assignment. Returns the image inline plus the video URL when available.

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": {
      "post_id": "<post_id>"
    },
    "name": "get_post_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idYesPost id (UUID) from list_viral_posts, list_analyzed_posts, list_discovery_posts or an assignment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / post_id / description
      Previous value: -"Post id (UUID) from list_viral_posts, list_analyzed_posts or an assignment"New value: +"Post id (UUID) from list_viral_posts, list_analyzed_posts, list_discovery_posts or an assignment"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: it returns the image inline and also returns a video URL when available — important because there is no output schema. Minor gap: it doesn't say what happens when a post has no preview available.

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?

Three sentences, front-loaded with the core action and its user-visible purpose, followed by supported sources and the return shape. Every sentence carries distinct information and nothing is redundant 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 read tool with no output schema, the description covers source of IDs, supported post types, and the return payload (inline image plus optional video URL). The remaining gap is failure/empty-preview behavior, which is small but real given the 'when available' caveat.

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?

With a single parameter at 100% schema coverage, the schema already documents post_id as a UUID sourced from list_viral_posts, list_analyzed_posts, list_discovery_posts or an assignment. The description restates the same source list rather than adding format, validation, or edge-case meaning, so the baseline 3 applies.

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 uses a specific verb and resource ('Get the visual preview (thumbnail image) of a post') and states the user-facing intent of rendering it inline. It lists the post sources it covers (viral, Discovery, assignment), which helps distinguish it from analysis/download siblings. It does not explicitly contrast with get_asset_preview or get_post_download_url, so differentiation from the nearest neighbors is left implicit.

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 gives clear applicability conditions — works for the org's viral posts, Discovery posts (naming list_discovery_posts as the ID source), and posts referenced by an assignment. That is concrete when-to-use context, but there are no exclusions or guidance on when a different preview/download tool is the better choice.

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