Skip to main content
Glama

analyze_hook

Analyze hook frame(s) using AI vision to extract hook text and generate a video prompt. Costs 1 credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstFrameUrlYesURL of the first keyframe image
existingPromptNoExisting video gen prompt to merge with (adapts to a new avatar)
additionalFrameUrlsNoURLs of additional keyframes (up to 3 more) for motion analysis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully discloses a credit cost and the AI-vision nature of the operation, but says nothing about whether anything is persisted, whether the call is safe/idempotent, or any rate or length limits on the frames.

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?

Two short sentences, front-loaded with the action and outcome, with the cost caveat appended. No wasted words.

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?

There is no output schema, but the description indicates what comes back (extracted hook text plus a generated video prompt) and flags the credit cost, which is the key operational fact for an agent. Missing only usage routing against siblings.

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 all three parameters (firstFrameUrl, existingPrompt, additionalFrameUrls) are already documented in the schema, including the 'up to 3 more' cap. The description adds no parameter-level detail beyond that baseline.

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 names a specific verb and resource ('Analyze hook frame(s) using AI vision') and states the outcome: extract hook text and generate a video prompt. It is clear, but it never distinguishes itself from adjacent siblings like remix_hook or enhance_prompt, so an agent cannot route between them from the description alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as remix_hook or enhance_prompt. The only contextual note is 'Costs 1 credit,' which is a constraint rather than usage guidance.

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