Skip to main content
Glama

Analyze a Post Visually

request_visual_analysis

Queues a structured visual analysis for a post: for a video, a scene-by-scene breakdown (per-scene timing, scene type, on-screen text, visual elements and a recreation note) plus an overall-style summary (color palette, text style, editing pace); for an image slideshow, carousel or single photo, per-slide text and visual descriptions. Accepts a public post URL or an internal post id. Asynchronous: returns a job reference to poll with get_job_status; once complete the analysis is attached to get_post responses (includeVisualAnalysis). Credits are charged on queueing and automatically refunded if the job fails or ends without an analysis (status unavailable, for example no usable media). This is the visual twin of request_transcript. Cost: 10 credits per call.

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

Input Schema

NameRequiredDescriptionDefault
urlNoPublic post URL (alternative to postId)
postIdNoInternal post id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the non-destructive, open-world, non-idempotent, non-read-only profile. The description goes well beyond that: asynchronous job semantics, a returned job reference to poll, credit charge at queue time, automatic refund on failed or empty analysis, and the exact cost of 10 credits per call. It also flags the edge case ("no usable media") that triggers a refund.

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?

Content is front-loaded with the action and output shape, then moves to inputs, async mechanics, and cost. The single dense paragraph is long but nearly every clause carries operational information; minor points like the parenthetical status example could be trimmed.

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?

There is no output schema, and the description compensates by explaining the return path (job reference plus eventual attachment to get_post), the cost, and the failure/refund behavior. For an async, credit-consuming job tool, everything an agent needs to invoke it correctly and set expectations is present.

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 coverage is 100%, so both url and postId are already documented as alternatives. The description restates the alternative relationship and adds only the qualifier that the URL must be public, which is marginal value beyond the schema. Baseline 3 is appropriate.

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 specific verb and resource ("Queues a structured visual analysis for a post") and then enumerates exactly what the output contains for video versus image content. The distinction from the sibling request_transcript is made explicit ("visual twin of request_transcript"), so an agent can route between them 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 Guidelines4/5

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

Gives clear context for use: accepts either a public post URL or an internal post id, and explains that results surface via get_post's includeVisualAnalysis flag. It also names get_job_status as the polling target. It does not state any exclusions (e.g., when to prefer request_transcript or download_post_media instead), so it falls short of the 5 tier.

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