Skip to main content
Glama

Get a UX smell

get_smell
Read-onlyIdempotent

Retrieves one UX smell by id, returning its symptoms, the Nielsen heuristic it breaks, a step-by-step fix recipe with time estimate, related principles, and audit plus refactoring prompts.

Instructions

Get one UX smell (interface anti-pattern) by id: name, tagline, symptoms, the Nielsen heuristic it breaks, a step-by-step fix recipe with a time estimate, the related principles and an audit prompt plus a refactoring prompt. Use it once you know the smell id, from list_smells or detect_smell.

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": {
      "id": "<id>"
    },
    "name": "get_smell"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe smell id (e.g., "overloaded-screen", "form-graveyard", "silent-errors", "ai-gradient-cliche"). Call list_smells for the full set.
localeNoLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / id / description
      Previous value: -"The smell ID (e.g., \"overloaded-screen\", \"form-graveyard\")"New value: +"The smell id (e.g., \"overloaded-screen\", \"form-graveyard\", \"silent-errors\", \"ai-gradient-cliche\"). Call list_smells for the full set."
    • addedInput schema / properties / locale / description
      Added value: +"Language of the returned content: \"en\" (English) or \"es\" (Spanish). Defaults to \"en\"."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the description does not need to repeat it. The description adds genuinely useful context beyond that: exactly what content comes back, including generated prompts and a time estimate, which tells the agent this is a heavyweight content fetch rather than a stub lookup. It could still say more about payload size or whether content is static per id, so it falls short of the top mark.

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?

Two sentences, front-loaded with what is returned and back-loaded with the routing condition, with no filler. The payload enumeration is long but each element (heuristic, fix recipe, prompts) is decision-relevant, so it earns its space despite being a dense list.

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?

There is no output schema, so the description must describe return values, and it does so item by item. Combined with the documented precondition and the annotation-covered safety profile, an agent has everything needed to call this correctly for a two-parameter lookup tool.

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%, with the id parameter already carrying examples and a pointer to list_smells, and locale documented with its default. The description reinforces the id-first workflow but adds no new semantics for locale, so the schema is doing most of the work.

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?

States a specific verb and resource ("Get one UX smell ... by id") and immediately enumerates the payload: name, tagline, symptoms, broken heuristic, fix recipe with time estimate, related principles, audit and refactoring prompts. That is enough for an agent to tell this apart from list_smells (discovery) and detect_smell (matching) without opening any 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?

Gives an explicit precondition ("once you know the smell id") and names the two sibling tools that produce that id, list_smells and detect_smell. The when-to-use condition and the alternatives are both stated rather than inferred.

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