Skip to main content
Glama

Relever mes posts publiés (et mon historique)

relever_mes_posts

Measures views, likes, comments, shares, and saves on your declared TikTok accounts, matches each post to its planned publish slot, and records off-plan posts to set per-account medians.

Instructions

Lit sur TikTok (yt-dlp, sur cette machine) les vues, likes, commentaires, partages et enregistrements des posts publiés par l'utilisateur, SEULEMENT sur ses propres comptes déclarés dans viraldar pour le produit (comptes de son planning, son @ d'accueil, comptes reliés à ce produit) ; jamais un autre compte. Rapproche chaque post d'un créneau « publié » du planning (par son lien, sinon par le compte et la date) et enregistre TOUS les posts lus : ceux sans créneau forment son historique (posts d'avant viraldar ou hors planning), qui donne la médiane de chaque compte dès le premier relevé. Ensuite, propose l'angle de ces posts (mes_posts, puis classer_mes_posts une fois validé par l'utilisateur). C'est la boucle de mesure (bilan). La première fois, relève tout le catalogue (posts: 200) ; puis à 8 h, 48 h et 7 jours après une publication (bilan dit les relevés dus). yt-dlp doit être installé (ma_machine) ; sinon, les chiffres de l'utilisateur et noter_resultats.

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

Input Schema

NameRequiredDescriptionDefault
postsNoLes N posts les plus récents de chaque compte (60 par défaut ; 200 pour tout l'historique).
compteNoUn seul de ses comptes (@pseudo) ; absent = tous ses comptes déclarés.
produitNoLe produit (nom ou id) dont relever les comptes ; absent = le produit actif de ce module. Le connecteur viraldar garde son propre produit actif : donne-le ici s'il diffère.
supportsNoRelever aussi le support (diaporama ou vidéo) de N posts qui ne l'ont pas encore, les plus vus d'abord (~1 s par post, une seule fois par post ; 40 par défaut, 0 pour s'en passer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.4

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it discloses the yt-dlp dependency on the local machine, the account-matching logic (by link, else account+date), that ALL posts are recorded with off-planning posts forming history and computing a median, and the ~1 s per post one-time cost for supports.

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?

Long but front-loaded: purpose and scope come first, then matching/recording behavior, then the measurement loop and schedule. Every sentence carries operational information, though the density and number of concerns (dependency, matching, median, angle, cadence) make it harder to parse than ideal.

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 mutation/measurement tool with no annotations and no output schema, the description covers prerequisites, scoping, side effects and cadence well. It stops short of describing what the call returns or how the proposed angle/history is surfaced, leaving a modest gap.

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 the schema already documents all four parameters with defaults, bounds and meanings. The description reinforces posts:200 as the first-time full catalog and mentions the ~1 s support cost, but mostly restates what the schema provides, so 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?

Uses a specific verb (lit/relève) with a precisely named resource (vues, likes, commentaires, partages, enregistrements des posts publiés) and an explicit scope boundary ('SEULEMENT sur ses propres comptes déclarés', 'jamais un autre compte'). An agent can tell exactly what it reads and whose accounts it touches.

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

Usage Guidelines5/5

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

Gives explicit when-to-use sequencing ('La première fois, relève tout le catalogue (posts: 200) ; puis à 8 h, 48 h et 7 jours après une publication') and names the alternative path when the prerequisite fails ('yt-dlp doit être installé ; sinon, les chiffres de l'utilisateur et noter_resultats'). This is exactly when/when-not routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.