Skip to main content
Glama

Analyze Creator Content

analyze_creator_content
Read-onlyIdempotent

Fetch recent posts for kept creators, compute per-creator virality (max views relative to followers), rank them, and return each creator's top videos with captions and hooks — transcribed from the actual video openings when possible, else caption openings. Use for questions like 'which of my creators have the most viral videos and what hooks do they use'. Results persist on the leads for 24h.

Input Schema

NameRequiredDescriptionDefault
uidNoOptional Firebase uid. Must match the URL uid unless local fallback is enabled.
handlesNoSpecific kept-lead handles to analyze. Omit for all kept leads (capped at 25).
top_videosNoTop posts to return per creator, with captions and hooks (default 3).
bearer_tokenNoOptional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead.
conversation_idNoCreator-list key for durable state. Reuse a returned list_id for follow-ups; when omitted, MCP uses the active generated list for this tool chain.
preferences_modeNoHow to apply preferences for this call: 'stored' uses users/{uid}.agentPreferences, 'override' uses agent_preferences only, and 'none' disables stored filtering for this run.
agent_preferencesNoOptional per-call filtering preferences. Use with preferences_mode='override'. For backwards compatibility, passing this without preferences_mode implies override.
posts_per_creatorNoRecent posts per creator to include in the stats (default 12).
analyze_video_hooksNoTranscribe the actual video openings of the top creators' top posts (default true). Set false for a faster caption-only pass.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, idempotent, openWorld), so the description's job is to add context, and it does: it discloses the transcription fallback logic ('actual video openings when possible, else caption openings') and the caching side effect ('results persist on the leads for 24h'). The persistence note is a state change not implied by readOnlyHint, but it is a benign caching side effect of an analysis tool rather than an outright contradiction of the read-only claim.

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 dense sentences, front-loaded with the core computation, then the usage question, then the persistence caveat. No restatement of the name or title, and every clause carries information an agent would otherwise have to infer.

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 9-parameter, zero-required, no-output-schema tool, the description adequately explains what comes back (ranked per-creator virality plus top videos with captions and hooks) and when to reach for it. It omits prerequisite state (that kept leads must already exist) and any cost/latency warning for the transcription path, small but real gaps for a tool that can transcribe video.

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 every parameter already carries its own documentation (defaults, caps, enum meanings, uid/token fallbacks), which sets the baseline at 3. The description adds meaning only at the aggregate level — it explains the virality formula and what 'top videos' contain — without illuminating any individual parameter beyond the schema.

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?

Names a specific chain of operations (fetch posts → compute virality as max views vs followers → rank → return top videos with captions/hooks) on a specific resource set (kept creators). The 'kept creators' scope and the virality metric readily separate it from siblings such as analyze_seed_creators, find_viral_trends, and discover_creators.

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 usage trigger with a natural-language example ('which of my creators have the most viral videos and what hooks do they use'), which is stronger than implied usage. It stops short of naming alternatives or exclusions — there is no statement like 'use analyze_seed_creators for non-kept creators' — so it lands at clear-context-but-no-exclusions.

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