Skip to main content
Glama

What worked

get_insights
Read-onlyIdempotent

What went with each account's better and worse posts, as findings to act on in the next post: video or photo, text alone, carousels, a question in the first line, a link, short or long text, 4+ hashtags, an emoji up front, weekends, and the format when it used several. Each finding gives the trait, better or worse, lift (its posts' typical result against the others', 2 = twice as good), how many posts are on each side, and advice in plain words. Also trend (the last 5 posts against the ones before: rising, falling or steady) and top_posts. Posts are scored against the account's own typical post by likes, comments, shares, saves and clicks on Shager's short links (views where a network gives nothing else), so findings are the account's, not an average of strangers. Needs 8 measured posts; a finding needs 3 posts on each side and a 25% difference. missing says what's short. These go together with results, they don't prove cause: try a finding and check again. Use it before writing the next posts; get_analytics has the numbers, get_best_times the hours.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace_id": "<workspace_id>"
    },
    "name": "get_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow far back to look, in days (default 180)
group_idsNoOnly the accounts in these groups (from list_groups)
channel_idsNoOnly these accounts (from list_channels)
workspace_idYesWorkspace id from list_workspaces

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description goes well beyond them: the scoring basis (likes, comments, shares, saves, short-link clicks; views as fallback), the lift scale (2 = twice as good), the statistical thresholds (8 measured posts, 3 per side, 25% difference), the 'missing' field for shortfalls, and the causal caveat ('these go together with results, they don't prove cause: try a finding and check again'). This is unusually informative about how results are produced and how to read them.

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?

Dense but largely earning its place: traits list, then what each finding contains, then methodology, then thresholds, then the caveat and sibling routing. The opening enumeration of traits is long and slightly overwhelms the front position, but nothing is truly redundant and the important constraints sit in readable single sentences.

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

Completeness5/5

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

With no output schema, the description carries the full burden and does so: it enumerates the returned fields (trait, better/worse, lift, post counts per side, plain-language advice), the additional outputs (trend, top_posts) and the 'missing' signal. Combined with the read-only annotations and fully described parameters, an agent has what it needs to call and interpret it.

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% and every parameter carries its own description, so the schema does the heavy lifting. The description adds no detail about days, group_ids, channel_ids or workspace_id beyond the implicit 'each account's' scoping. 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 makes clear this returns per-account findings about post traits (format, text length, hashtags, timing) that correlate with better or worse results, plus trend and top_posts. It distinguishes itself from siblings by naming get_analytics (numbers) and get_best_times (hours). The opening clause 'What went with each account's better and worse posts' is awkwardly phrased and less direct than the title 'What worked', but the body pins the resource down.

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?

Explicit routing: 'Use it before writing the next posts; get_analytics has the numbers, get_best_times the hours.' It also states a hard precondition ('Needs 8 measured posts') and a per-finding precondition (3 posts per side, 25% difference), which implicitly covers when the tool is not useful. No explicit statement of when to skip it entirely, but the context is clear.

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