Skip to main content
Glama

Score how organic unattributed signals look

assess_anonymous_authenticity
Read-only

Scores unattributed sentiment signals for statistical authenticity red flags—single-source concentration and unusually uniform sentiment—to flag corpora needing human review.

Instructions

Scores how organic a corpus of UNATTRIBUTED, scraped sentiment signals (crawled mentions, imported reviews with no verifiable identity, aggregator feeds) looks, weighing a positive composite of consensus/diversity/volume/recency against a heuristic penalty for two specific patterns: evidence concentrated in a single source type, and unusually uniform sentiment (near-maximal with near-zero variance). Neither pattern establishes fabrication, and source types are counted without verifying that they are independent. It cannot show that sentiment is fabricated or that any reviewer is fake, and varied sentiment spread across several sources isn't caught by these two checks. The score is not a sentiment ranking: the composite rewards positive consensus, so a strongly negative corpus scores lower than the same corpus with the sign flipped (with the example configuration, 20 signals at -0.9 across four source types score 46; at +0.9, 68), and an honest negative corpus can rank below a fake-looking positive one. Source labels are compared trimmed and case-folded ('Forum' and ' forum' are one type), and a source type counts as one only when its credibility x confidence is high enough (config.fullCountWeight), so the counted source types can be fewer than the labels. Treat a low score as 'looks statistically unusual in a specific way worth a human look', not as a finding. Signals with zero confidence, zero source weight or fully decayed recency carry no weight; a source type that is not a key of config.sourceWeights has credibility 0; when no signal carries weight, confidence is 'insufficient' and trustScore is null (no score is reported). Use this for reviews/mentions/buzz with no identity behind them. For signals from known, identified contributors, use score_trust_identified instead.

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": {
      "signals": "<signals>",
      "now": "<now>"
    },
    "name": "assess_anonymous_authenticity"
  }
}

Input Schema

NameRequiredDescriptionDefault
nowYesISO 'now' timestamp recency decay is computed against. Pass a fixed value for determinism.
configNoPartial override merged over the library's illustrative EXAMPLE_ANONYMOUS_CONFIG -- omit to use the example config as-is.
signalsYesThe unattributed signals to assess. May be empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.4.0
    • changedInput schema / properties / config / properties / astroturf / properties / minSignalsForUniformCheck / description
      Previous value: -"Minimum signal count before astroturf checks apply at all."New value: +"Minimum signal count before the pattern checks apply at all."
    • changedInput schema / properties / config / properties / astroturfWeight / description
      Previous value: -"How much the astroturf penalty is subtracted from the positive composite."New value: +"How much the pattern penalty (the kit's `astroturf` rules) is subtracted from the positive composite."
    • addedInput schema / properties / config / properties / fullCountWeight
      Added value: +{
      +  "description": "[trust-core 0.3+] Credibility x confidence a source type needs to count as one full source type (default 0.425); a lighter one counts in proportion. On the same scale as sourceWeights x confidence.",
      +  "type": "number"
      +}
    • changedInput schema / properties / signals / items / properties / source / description
      Previous value: -"Key into config.sourceWeights -- the source type. The library's illustrative example uses 'forum'|'community'|'marketplace'|'aggregator'|'blog'|'social'; supply your own via `config.sourceWeights`."New value: +"Key into config.sourceWeights -- the source type. The library's illustrative example uses 'forum'|'community'|'marketplace'|'aggregator'|'blog'|'social'; supply your own via `config.sourceWeights`. A source type that is not in sourceWeights has credibility 0, so that signal carries no weight."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description adds substantial behavior: how the composite is formed, which two patterns get penalized, that source types are counted without verifying independence, label trimming/case-folding, and the fullCountWeight counting rule. It is honest about limits and about the score's sign sensitivity (a negative corpus scoring 46 vs 68 when flipped), which prevents misuse. It stops short of describing the result breakdown beyond noting trustScore can be null and confidence 'insufficient', keeping it below a perfect score despite no contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core purpose and the numeric negative-corpus example earns its place, but the body is one dense paragraph with overlapping caveats ('Neither pattern establishes fabrication' is restated as 'It cannot show that sentiment is fabricated or that any reviewer is fake'). Splitting the caveats and the weighting rules into distinct sentences would improve scanability without losing content.

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?

There is no output schema, and the description only partially covers returns: it names trustScore, a confidence value that can be 'insufficient', and null scoring when no signal carries weight, but not the rest of the result shape (component contributions, pattern flags). Given a nested config object and a composite scorer with no output schema, an agent has enough to call it correctly but not to fully anticipate the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning the schema does not: source labels are compared trimmed and case-folded, a source not in config.sourceWeights has credibility 0, fullCountWeight determines whether a type counts fully or proportionally, and zero-confidence / zero-weight / decayed signals carry no weight. It does not explain the recency or astroturf threshold tuning beyond the schema's own field descriptions, so 4 rather than 5.

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?

The description opens with a specific verb and resource ('Scores how organic a corpus of UNATTRIBUTED, scraped sentiment signals ... looks') and enumerates what counts as unattributed (crawled mentions, imported reviews, aggregator feeds). It also explicitly names the sibling it is not ('For signals from known, identified contributors, use score_trust_identified instead'), so the agent can route without opening a schema.

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?

It gives an explicit when-to-use rule ('Use this for reviews/mentions/buzz with no identity behind them') paired with the named alternative (score_trust_identified) for identified contributors. It also constrains interpretation ('Treat a low score as looks statistically unusual ... not as a finding'), which is exactly the when-not guidance an agent needs.

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