Skip to main content
Glama

Retención, CTR y horarios de los videos

get_video_engagement
Read-only

Retención de los videos de una marca en YouTube, TikTok, Facebook e Instagram: segundos y porcentaje medio vistos, impresiones, CTR informado por la red, finalización y hora real de publicación, con promedio general, cobertura y el video con mejor retención. Filtros opcionales por período, red, cuenta y Shorts o largos de YouTube; curvas de retención con include_curve o curve_video_ids. Solo lee. La respuesta trae how_to_read, que explica qué mide cada campo, cuáles son estimaciones y qué significa null.

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

Input Schema

NameRequiredDescriptionDefault
toNoDía YYYY-MM-DD
fromNoDía YYYY-MM-DD
limitNoMáximo de videos devueltos; los promedios y el mejor video usan el conjunto analizado, cuya cobertura declara la respuesta
post_idNoID de la publicación (de list_posts o get_post)
brand_idNoID de la marca (de list_brands). Usa solo la marca que el usuario nombró; si no la nombró y hay varias, pregúntale cuál.
platformNo
timezoneNoUTC
account_idNo
youtube_typeNoTipo de video de YouTube: short=Shorts, long=largos. Otras redes conservan su conjunto.all
include_curveNo
curve_video_idNoID exacto de videos.id para pedir la curva de un destino; no un ID de otra marca
curve_video_idsNoHasta10 IDs exactos de videos.id de la misma marca; devuelve curvas y media interpolada en avance porcentual

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?

Annotations already declare readOnlyHint=true and destructiveHint=false, so "Solo lee" is redundant. The description does add real value beyond annotations: the response carries how_to_read explaining what each field measures, which values are estimates, and what null means, and it notes averages are computed over the analyzed set whose coverage is declared. Missing is any note on api quotas, rate limits, or cost of requesting curves for up to 10 videos.

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 metric inventory before the filter and curve options, then closed by a short note on how_to_read. The enumeration is dense but each clause maps to a distinct capability; a slight trim of the metric list would make it tighter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, zero-required tool with no output schema, the description covers the metric inventory, filter axes, curve requests and response self-documentation. Gaps remain: no default time range when from/to are omitted, no statement of how timezone affects "hora real de publicación", and no mention of whether results span all accounts when account_id is absent.

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 67% schema coverage the schema does much of the work, and the description largely restates the filter axis set (período, red, cuenta, YouTube type) rather than explaining it. It adds meaning for curve_video_ids as a companion to include_curve, but leaves timezone, platform, account_id and include_curve semantics to be inferred. Baseline 3 is appropriate at this coverage level.

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?

Names a specific resource and metric set: "Retención de los videos de una marca en YouTube, TikTok, Facebook e Instagram: segundos y porcentaje medio vistos, impresiones, CTR informado por la red, finalización y hora real de publicación", plus aggregates and best-performing video. That distinguishes it well from account-level tools, but it never names the nearest siblings (get_post_stats, compare_posts, get_account_insights), so the boundary is inferred rather than stated.

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?

Gives implied usage through the filter surface ("Filtros opcionales por período, red, cuenta y Shorts o largos") and the curve switch ("curvas de retención con include_curve o curve_video_ids"), which tells an agent when to enable curves. It offers no explicit when-to-use / when-not-to-use statement and no routing to alternatives for per-post or cross-post comparison needs.

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