Skip to main content
Glama

Run the full dslens audit

run_full_audit

Audit React design-system code for state-copied props, hardcoded tokens, and accessibility gaps, then write a Markdown report and optionally capture Storybook screenshots of each issue.

Instructions

Runs every check, optionally screenshots each issue against a running Storybook instance, and writes a Markdown report.

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": {
      "rootDir": "<rootDir>"
    },
    "name": "run_full_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootDirYesAbsolute path to the project to audit
screenshotsNoCapture a Storybook screenshot for each issue, where possible
storybookUrlNoBase URL of a running Storybook instance (default http://localhost:6006)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two real behaviors beyond the schema: it writes a Markdown report (a filesystem side effect) and the screenshot step depends on a running Storybook instance. It omits where the report is written, whether anything in the project is modified, and roughly how expensive a full run is.

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?

A single front-loaded sentence with the core action first and the optional capability and output artifact following. No filler or restatement of the name.

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

Completeness3/5

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

The tool is simple (3 params, no nested objects) and the description covers the main flow, but with no output schema the agent still cannot tell what the tool returns or where the Markdown report lands. That is the one meaningful gap for a report-producing audit tool.

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 coverage is 100%, so all three parameters are already documented. The description adds only the linkage that screenshots are captured per issue against a Storybook instance, which helps clarify the screenshots/storybookUrl relationship but does not add format or constraint detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Runs every check") and names the concrete side effects (screenshots, Markdown report). The phrase "every check" implicitly distinguishes it from the per-check siblings (audit_accessibility, audit_tokens), though it never names them, so the differentiation is left to inference.

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?

Usage is only implied: an agent can infer this is the run-everything tool versus the narrower audit_* siblings, but there is no explicit "use this when / use X instead when" guidance. It also does not state that the Storybook-related path requires a running instance to be useful.

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