Skip to main content
Glama

Métricas de un post o una cuenta

wyro_metricas
Read-onlyIdempotent

Cómo le fue a un post o a una cuenta: impresiones, alcance, vistas, me gusta, comentarios, compartidos, guardados, clics y tasa de interacción por red, y los seguidores de una cuenta. Úsala cuando el usuario pregunte cómo le fue a un post («¿cómo le fue a mi último post?») o cómo va una cuenta. Sin argumentos lee el último post publicado. Las redes actualizan las métricas cerca de una vez por hora; en modo prueba son simuladas.

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

Input Schema

NameRequiredDescriptionDefault
desdeNoInicio del rango de la cuenta, YYYY-MM-DD (por defecto: hace 30 días).
hastaNoFin del rango de la cuenta, YYYY-MM-DD, inclusive (por defecto: hoy).
cuentaNoId de la cuenta (acc_…) o nombre de la red ("instagram") para un resumen de la cuenta: seguidores, posts, totales, promedios y mejor post.
post_idNoId del post (post_…). Sin esto (y sin cuenta), el último post publicado.
actualizarNotrue para volver a consultar las redes ahora (como mucho una vez cada 15 minutos por post).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the description correctly spends its words elsewhere: it discloses data freshness (networks refresh roughly hourly) and that metrics are simulated in test mode, both of which materially affect how the agent should interpret results. It does not describe the response shape or what happens when no account has any posts.

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?

The core purpose is front-loaded in the first clause, followed by the metric list, the usage trigger, the default behavior and the freshness caveat in priority order. The metric enumeration is long but earns its place by telling the agent what fields exist; a few items (compartidos, guardados, clics) could be trimmed without loss.

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 5-parameter, all-optional read tool with full schema coverage and safety annotations, the description covers purpose, triggers, defaults and data staleness. The one remaining gap is the absence of an output schema paired with no description of the returned structure beyond a field list, leaving the agent to guess the shape of per-network results.

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 explains desde/hasta defaults, the cuenta vs post_id branching and the 15-minute refresh cap on actualizar. The description reinforces the no-argument default but adds no syntax, format or precedence detail the schema lacks, so the baseline 3 applies.

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 the resource (a post or an account) and enumerates the concrete outputs (impresiones, alcance, vistas, me gusta…, tasa de interacción, seguidores), so the agent knows exactly what kind of data comes back. It is clearly not a publishing or status tool, but it never names the closest sibling (wyro_estado_post) or any other alternative, so differentiation 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 Guidelines4/5

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

It gives explicit when-to-use guidance with a natural-language trigger example («¿cómo le fue a mi último post?») and covers the account variant as well. The zero-argument behavior is spelled out ('lee el último post publicado'), which is a real usage rule. There are no when-not-to-use exclusions or named alternatives, which keeps it below a 5.

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.