Skip to main content
Glama
Manavarya09

DarkLens MCP Server

by Manavarya09

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
detect_dark_patternsA

Detect dark patterns in UI text, HTML, or URL.

Args: input_type: "html", "text", or "url" content: The HTML content, plain text, or URL to analyze

Returns: List of detected patterns with pattern_id, pattern_type, confidence, evidence

classify_patternA

Classify a detected dark pattern.

Args: pattern_id: The ID of the pattern to classify

Returns: Dictionary with category, cognitive_bias, severity

explain_manipulationB

Explain why a pattern is manipulative.

Args: pattern_id: The ID of the pattern user_type: Type of user (child, elderly, average user)

Returns: Dictionary with explanation, psychological principle, harm potential

risk_scoreA

Assess legal/compliance risk of a pattern.

Args: pattern_id: The ID of the pattern region: Geographic region (EU, US, India)

Returns: Dictionary with risk score, violated regulations, enforcement likelihood

suggest_ethical_alternativeC

Suggest ethical UI alternatives.

Args: pattern_id: The ID of the pattern

Returns: Dictionary with rewritten UI copy, redesigned flow, ethical justification

fetch_user_postsB

Fetch posts for a specific user from external API.

Args: user_id: The user ID to fetch posts for

analyze_textC

Analyze text and return statistics.

Args: text: The text to analyze

Prompts

Interactive templates invoked by user choice

NameDescription
audit_websiteGenerate a prompt for auditing a website for dark patterns.
explain_ui_to_userGenerate a prompt for explaining UI elements to non-technical users.
compliance_reportGenerate a prompt for creating a UX ethics compliance report.
rewrite_ctaGenerate a prompt for rewriting manipulative CTAs.
assess_gdpr_riskGenerate a prompt for assessing GDPR risk of a pattern.
summarize_contentCreate a prompt to summarize content. Args: content: The content to summarize max_length: Maximum length of the summary
analyze_sentimentCreate a prompt to analyze sentiment of text. Args: text: The text to analyze for sentiment
generate_codeCreate a prompt to generate code. Args: language: Programming language task: The coding task requirements: Additional requirements
create_study_planCreate a study plan prompt. Args: subject: The subject to study hours_per_week: Hours available per week weeks: Number of weeks for the plan

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Manavarya09/DarkLens-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server