Skip to main content
Glama

Account triage

account_triage
Read-onlyIdempotent

Identify authors exhibiting spam or abuse on a Nostr relay by analyzing recent posting patterns, scoring them with reasons, and checking profiles for top suspects. A triage aid, not a verdict.

Instructions

Lists the authors seen in a recent window whose BEHAVIOUR looks like spam or abuse (the same text posted by other keys — near-copies included —, bursts, link-only posting), highest score first, with the reason for every point; missing profile / follow list / relay list on this relay adds to the score but never flags an author on its own. Authors with no behaviour signal are only counted ("quiet"). Established signs lower the score. It looks up the profile, follow list and relay list of the most suspicious candidates. A triage aid, not a verdict: absence of data on this relay does not mean the account is new elsewhere.

Input Schema

NameRequiredDescriptionDefault
topNoHow many authors to list, highest score first.
hoursNoTime window in hours (default 24).
kindsNoOnly these event kinds (e.g. [1] for notes, [7] reactions).
relayNoRelay URL (wss://…). It must be one of the configured relays; default: the first one. See nostrclaw_status.
sampleLimitNoMost events to analyse.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.14.0

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description adds substantial behavioural context: the scoring inputs (near-copies, bursts, link-only posting), that missing profile/follow/relay lists add but never flag alone, that quiet authors are only counted, that established signs lower the score, and that it performs extra lookups on top candidates. These are meaningful operational traits an agent cannot infer from the schema or annotations.

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 and the dense parentheticals all carry scoring-relevant information rather than filler. It is somewhat run-on and could be broken into shorter sentences, but no sentence is expendable.

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 heuristic scoring tool with five fully documented parameters and no output schema, the description covers the mechanism, the interpretation caveats, and the lookups it triggers. It stops short of describing the returned structure (e.g. what fields accompany each author's score/reason), which would help since no output schema exists.

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 five parameters (top, hours, kinds, relay, sampleLimit) are already documented with ranges and defaults. The description adds only a soft hint about the 'recent window' corresponding to the time filter, 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 states a specific verb and resource: it lists authors in a recent window whose behaviour looks like spam or abuse, with scored reasons. The scope (behavioural signals, highest score first) is unambiguous. It does not, however, distinguish itself from plausible siblings such as author_report or trust_score, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied through 'A triage aid, not a verdict' and the note that missing data alone never flags an author, which frames how to read the output. There is no explicit when-to-use versus when-not, and no alternative sibling (author_report, trust_score) is named for the adjacent questions an agent might have.

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