Skip to main content
Glama

psych_dark-pattern-detect

Scan a live page or raw HTML for deceptive design. Returns each detected pattern with the evidence quoted from the markup, the regulation it trips, and the honest alternative. Fully deterministic — no model call, so results are reproducible and the same page always scores the same. Returns a clean/review/fail verdict suitable for gating a deploy. Names the patterns that need a full user flow to assess rather than implying the site is clean. Costs $0.030000 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPage to analyse. Fetched respecting robots.txt.
htmlNoRaw HTML, if you already have it. Takes precedence over url.
jurisdictionNoFilter findings to a jurisdiction, e.g. "EU" or "US". Omit for all.
fail_above_severityNoSets verdict to "fail" when any pattern meets or exceeds this severity. Useful in CI.

TDQS

A3.9/5.0
Behavior4/5

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

The description discloses critical behavioral traits: it is fully deterministic ('no model call'), reproducible, costs $0.03 per call, and returns a clean/review/fail verdict. It also notes that patterns requiring full user flow are identified. However, it does not mention any limitations such as static-only analysis or error handling, which are not covered by annotations (none provided).

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 description is a single paragraph that front-loads the main purpose and efficiently covers key details like determinism, cost, and verdict. It is slightly verbose but every sentence adds value.

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?

Given the lack of an output schema and the tool's moderate complexity, the description covers essential aspects: input sources, output (patterns with evidence/regulation/alternative), verdict, and cost. It mentions needing full user flow for some patterns. However, it does not describe error conditions or the exact format of returned data.

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 the baseline is 3. The description adds context by explaining the verdict system and the overall function, but it does not enhance the understanding of individual parameters beyond what the schema already provides.

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 clearly states the tool's purpose: 'Scan a live page or raw HTML for deceptive design.' It specifies the action (scan), the resource (page/HTML), and the outcome (detect deceptive patterns with evidence, regulation, and alternative). This distinguishes it well from siblings like 'psych_biases' or 'content_ai-score'.

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?

The description implies usage context through features like deterministic results and cost, but it does not explicitly state when to use this tool versus its sibling 'psych_dark-patterns' or other alternatives. It mentions verdicts suitable for deployment gating but lacks direct guidance on when not to use it.

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.

TDQS

A4/5.0
Disambiguation5/5

All 20 tools have clearly distinct purposes, grouped by domain prefixes (content_ai, design_ai, legal, psych, ref, tollmint, web). Even similar-sounding tools like psych_dark-pattern-detect and psych_dark-patterns are differentiated as a live scanner versus a reference taxonomy. No two tools overlap in functionality.

Naming Consistency4/5

Naming mostly follows a prefix_descriptive pattern, but some tools use hyphens (content_ai-score, design_ai-slop-detect) while others use underscores (legal_accessibility, psych_biases). This minor inconsistency prevents a perfect score, but the pattern is still clear and readable.

Tool Count4/5

20 tools is slightly above the typical 'well-scoped' range, but each tool serves a specific, justifiable need across multiple domains (legal, psychology, content analysis, geocoding, internal). The count feels comprehensive rather than bloated.

Completeness5/5

The tool surface covers all major areas implied by the domain prefixes: comprehensive legal compliance references, extensive psychology/behavioral design tools, content and design analysis, geocoding, and internal server management. No obvious gaps for the intended use cases.

Resources