Skip to main content
Glama

project_audit

Audits UI implementation against the design contract by checking screen registry and data-ux markers, returning verdicts with evidence and actionable fixes.

Instructions

Audit the implementation against the design contract (drift detection). Static tiers: the uxloom.map.json screen registry and data-ux-screen/data-ux-state markers in source. Returns per-state verdicts (implemented with file:line evidence / unimplemented / unproven) and findings with fixes. When implementing screens from the contract, emit data-ux-state markers so the code stays self-auditing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootNoImplementation root directory to scan (default: the project file's directory)
Behavior4/5

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

With no annotations, the description carries full burden. It explains the tool is a read-only audit that returns verdicts and findings, and advises on marker emission. It does not disclose any destructive behavior; the tool appears non-modifying. Transparency is good but could be more explicit about side effects.

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?

The description is reasonably concise with two sentences, but the first sentence is lengthy with internal lists. It is well-structured: purpose, method, returns, and guidance. Minor verbosity does not detract significantly.

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?

Given the simple input (one optional parameter), no output schema, and no annotations, the description fully covers the tool's purpose, inputs, outputs (verdicts with evidence and findings with fixes), and usage advice. No gaps are evident.

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?

The sole parameter 'root' is fully described in the schema (100% coverage). The description does not add meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 clearly states the tool audits implementation against design contract for drift detection, specifies the static tiers (screen registry and markers), and describes return values. It distinguishes itself from sibling tools like project_init or screen_critique by focusing on compliance verification.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to use the tool: when implementing screens from the contract, emit markers to keep code self-auditing. It also implies usage for drift detection but does not explicitly state when not to use it or provide alternatives, though sibling tools offer context.

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

Install Server

Other Tools

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/uxloom-dev/uxloom'

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