Skip to main content
Glama
Gemini MCP Server
by bobvasic

review_ui_implementation

Reviews existing frontend code for UI/UX issues and returns actionable improvements across accessibility, performance, UX, visual design, and responsive behavior.

Instructions

Expert UI/UX review of existing frontend code with actionable improvements

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": {
      "code": "<code>"
    },
    "name": "review_ui_implementation"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesFrontend code to review
frameworkNoFramework used (React, Vue, Angular, etc.)
review_focusNoFocus areas: accessibility, performance, ux, visual-design, responsive, allall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire burden. It reveals only that improvements are produced, saying nothing about depth, how the code is analyzed, whether the code leaves the system, or the shape of the response, and it does not address any side effects or permissions since none are declared.

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?

A single front-loaded sentence with zero filler, though its brevity is as much a symptom of thin coverage as of good editing. Nothing is wasted, but little is given.

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?

For a three-parameter analysis tool with a fully described schema and no output schema, the definition is minimally serviceable. It does not explain the return format or the level of detail in the review, which is left entirely unstated given that no output schema exists.

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% and includes an enum for review_focus plus a default, so both required and optional inputs are already documented in the schema. The description adds nothing new about framework expectations or what each focus area entails, so the baseline of 3 applies.

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 ("Expert UI/UX review of existing frontend code") and adds the value proposition of actionable improvements, which is enough to separate it from generate_frontend_code or design_ui_component. It stops short of naming or contrasting any sibling explicitly.

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

Usage Guidelines2/5

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

The word "existing" implicitly scopes it to code that already exists rather than to greenfield generation, but there is no explicit when-to-use, when-not-to-use, or alternative routing. An agent must infer from the sibling names alone when a review is preferable to a consultation or a redesign.

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