Skip to main content
Glama

Audit an interface

audit_interface
Read-onlyIdempotent

Audit a described screen or flow to get principle-mapped UX findings, severity, remediation, business impact, a score, detected interface type, strengths, and three priority fixes.

Instructions

Audit a described screen or flow: returns findings mapped to principles and UX smells, each with severity, remediation and business impact, plus a score, the detected interface type, strengths and the three priority fixes. Pro mode only (UXUI_API_KEY set): the audit runs on the uxuiprinciples.com API. Without a key use detect_smell then suggest_fix, which run offline.

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": {
      "description": "<description>"
    },
    "name": "audit_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo"quick": the top 5 findings. "full": every finding. Defaults to "full".full
localeNoLanguage of the findings: "en" or "es". Defaults to "en".en
contextNoWhere the interface lives. Echoed in the result; does not change the rules.
descriptionYesWhat the screen shows and what users do or complain about, 20 to 5000 characters. Name the components, the actions and the states you implemented (loading, empty, error, confirmation).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / depth / description
      Previous value: -"quick: top 5 findings. full: every finding."New value: +"\"quick\": the top 5 findings. \"full\": every finding. Defaults to \"full\"."
    • changedInput schema / properties / locale / description
      Previous value: -"Language of the findings"New value: +"Language of the findings: \"en\" or \"es\". Defaults to \"en\"."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds the behavior that matters most and is not in the structured data: an API-key gate and that the audit executes against the uxuiprinciples.com remote service, plus a documented offline fallback chain. It stops short of stating latency, quota/rate limits or failure modes for the remote call.

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?

Two sentences, both load-bearing: the first is the capability plus return contract, the second is the access gate plus fallback. Front-loaded with the action, no filler or hedging.

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 carries the return-value burden and does so concretely (findings, severity, remediation, business impact, score, interface type, strengths, priority fixes). Combined with the auth prerequisite and fallback routing, an agent has everything needed to decide and call correctly without a key.

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% and all three enums (depth, locale, context) are documented in the schema, so the description's silence on parameters is acceptable. It adds no meaning beyond the schema – notably it never clarifies what a high-quality input "description" looks like beyond what the schema already says, nor how depth interacts with the reported "three priority fixes".

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 ("Audit a described screen or flow") and then enumerates the concrete result payload: findings mapped to principles and smells, severity, remediation, business impact, score, detected interface type, strengths and three priority fixes. This is far more than a restatement of the title and lets an agent recognize the tool's output shape immediately.

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 ("Pro mode only (UXUI_API_KEY set)") and names the exact alternative path when it is not met: use detect_smell then suggest_fix, which run offline. Both the when-to-use and the when-not-to-use-with-alternatives are stated, so no inference is required.

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