Skip to main content
Glama
universal-social

universal-social

why_this

Explains why a social post ranked where it did by tracing source, applied filters, scoring predictions and weights, diversity and out-of-network multipliers, and final rank.

Instructions

Explain why a post ranked where it did: source, each filter, every scoring head (prediction x weight), author-diversity and out-of-network multipliers, final rank.

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": {
      "post_id": "<post_id>"
    },
    "name": "why_this"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNolocal handle
post_idYespost id
versionNox-algorithm version
max_age_hoursNoage filter, default 720

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose rich output content — the per-filter trace, per-head prediction × weight breakdown, author-diversity and out-of-network multipliers, and final rank. It says nothing about whether the post must exist in a current feed, what happens on a miss, cost/latency of the trace, or permissions, which are the remaining behavioral gaps.

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?

A single front-loaded sentence that leads with the verb and then lists the returned facets in evaluation order (source → filters → scoring heads → multipliers → rank). No filler, no repetition of the tool name.

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?

The absence of an output schema is partly compensated by the description enumerating what the explanation contains, which is the most valuable thing an agent could know here. It is still thin on operational context — prerequisites, version semantics, and behavior when a post was never ranked — which matters for a diagnostic tool with four parameters.

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 all four parameters (as, post_id, version, max_age_hours) are already documented in the schema. The description adds no syntax, format, or defaulting nuance beyond that, 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?

States a specific verb and resource — 'Explain why a post ranked where it did' — and enumerates the exact facets returned (source, each filter, every scoring head, multipliers, final rank). That makes it clearly distinct in behavior from rank_feed or algo_compare, though no sibling is named explicitly to complete the differentiation.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g. whether the post must have gone through a ranking run, or how to obtain a post_id/version), and no routing to alternatives such as rank_feed or algo_compare. The only usage signal is the implied 'inspect a ranking decision,' which is essentially a restatement of purpose.

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