Skip to main content
Glama
HalidSaglam

saglitzdesign-mcp

by HalidSaglam

Audit Ethical Design

audit_ethical_design
Read-onlyIdempotent

Audit pasted HTML/JSX for deceptive patterns: confirmshaming, pre-checked checkboxes, fake scarcity, unbalanced Accept all. Returns severity, fixes, line numbers, and unverifiable items.

Instructions

Audit a pasted snippet for named deceptive-pattern tells from ethical-design: confirmshaming decline copy, a pre-checked marketing or newsletter checkbox, a scarcity or deadline phrase with no live binding nearby, and an Accept all with no equally-named reject. It reads source and does not measure anything: no checkout is completed, no countdown is timed, no warehouse is queried, and no consent banner is clicked, so no finding is or can be a verdict on the business. Snippet only — there is no directory mode. Returns markdown plus structured output: findings (rule, severity, message, fix, doc, line), a severity summary, and a machine-readable notVisible list of what it could not check. Pair with get_design_doc('ethical-design') and a human looking at the render.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe HTML/JSX/copy snippet to audit for named deceptive-pattern tells

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
summaryYesCounts by severity. Always agrees with `findings` — it is derived from the same list.
findingsYesEvery finding, in the order the markdown report lists them.
notVisibleYesWhat this audit structurally could not check, one limitation per entry. Read it as a peer of `findings`: silence on a subject named here is this tool's reach, not a clean result. Nothing any of these tools reports is measured.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.28.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations' readOnly/idempotent hints, the description discloses concrete behavioral boundaries: no checkout is completed, no countdown is timed, no warehouse is queried, and no consent banner is clicked. It also states that findings are not verdicts on the business, which is critical context for interpreting results.

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?

The description is detailed yet tightly organized: purpose first, then behavioral caveats, then return contents, then usage pairing. Every sentence earns its place; the explicit 'not doing' list prevents harmful assumptions without being padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter, an output schema, and detailed annotations, the description still adds valuable context: the exact patterns checked, the return shape including the notVisible list, and the limitation that nothing is actually measured. Agents have everything needed to invoke and interpret the tool correctly.

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 code parameter is already well documented. The description adds marginal context by calling it a 'pasted snippet' and emphasizing 'Snippet only,' but it does not need to add more meaning because the schema handles the definition.

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 starts with a specific verb and resource: 'Audit a pasted snippet for named deceptive-pattern tells from ethical-design.' It then enumerates the exact patterns checked, making the tool's scope unmistakable and clearly distinct from broader design or accessibility audits.

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?

The description explicitly scopes usage with 'Snippet only — there is no directory mode' and advises pairing with get_design_doc('ethical-design') and a human reviewing the render. This gives clear when-to-use and when-not-to-use guidance, though it does not name a specific alternative for full-page audits.

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

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/HalidSaglam/saglitzdesign-mcp'

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