Skip to main content
Glama

Review a design

review_design

Reviews design files for off-grid spacing, inconsistent radii, type, color contrast, accessibility, and copy, returning a score and severity levels; enable fix to repair issues and save a corrected copy.

Instructions

FigCraft's design review of a file: spacing off the grid, radii off the scale, type sizes and weights, colour and contrast (accessibility), copy and naming, with a score out of 100 and severities. With fix=true the fixable findings are repaired and a copy is saved (suffix _fixed).

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": {
      "input_path": "<input_path>"
    },
    "name": "review_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixNo
presetNo
formatsNoFormats of the fixed copy (with fix=true).
overwriteNoReplace existing outputs.
input_pathYes
output_dirNoAbsolute output folder (default: next to the input; required for new files).
output_pathNoAbsolute output file for the first format (its extension must match).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and idempotentHint=false; the description adds the crucial behavioral detail that fix=true writes a NEW file with a _fixed suffix rather than mutating the input, which is exactly the risk-relevant fact an agent needs. It also discloses the return shape (score out of 100 plus severities), though it says nothing about runtime, failure modes, or how overwrite interacts with existing fixed copies.

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 front-loaded sentences with no filler: the first defines the review scope and output, the second defines the mutating mode. The long comma-separated enumeration of check categories is dense but each item earns its place by scoping what the review covers.

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 7-parameter tool with no output schema, the description does supply the return values (score and severities) and the side effect of fix. Gaps remain around the preset parameter (undocumented anywhere) and output_dir/output_path behavior when combined with fix, so completeness is adequate but not full.

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 57%; formats, overwrite and output_dir/output_path are documented in the schema, and input_path is undocumented in both places. The description adds real meaning only for fix (what it does and the resulting file naming); preset is left completely unexplained despite its three enum values changing review strictness.

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 ("design review of a file") and then enumerates exactly what is checked: grid spacing, radii, type sizes/weights, contrast, copy and naming. That scope distinguishes it from the sibling editing/export tools, though no sibling is named explicitly and the fact that fix=true makes it partly a write operation is only clarified in the second sentence.

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 implied rather than stated: an agent can infer this is the analysis/QA tool versus create_design/edit_design, and that fix=true upgrades it to a repair pass. There is no explicit "use this when… / not when…" guidance, no mention of which preset to pick, and no advice on choosing review vs edit_design for applying changes.

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