Skip to main content
Glama

Preview Review Log

preview_review_log
Idempotent

Log one self-review round with 1-10 scores and worst problems for a final preview file, so preview_upload and the gate can verify an MD5-matched file scoring 8+.

Instructions

Log one self-review round (scores 1-10 and worst problems) for a final preview file.

Use when: after preview_review_sheets. Every score must reach 8+ on the exact final file (MD5-matched) or preview_upload and the gate refuse. Returns: {ok, passed, scores, problems}.

Input Schema

NameRequiredDescriptionDefault
fileYesPreview file path relative to the app dir, e.g. 'fastlane/app_previews/en-US/preview.mp4'.
scoresYesScores 1-10 for keys hook, readability, motion, variety, brand, music.
app_dirYesAbsolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp.
problemsNoUp to 3 worst problems as [{t: seconds, issue: text}]; required while any score is under 8.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.5
    • addedInput schema / properties / app_dir / description
      Added value: +"Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp."
    • addedInput schema / properties / file / description
      Added value: +"Preview file path relative to the app dir, e.g. 'fastlane/app_previews/en-US/preview.mp4'."
    • addedInput schema / properties / problems / description
      Added value: +"Up to 3 worst problems as [{t: seconds, issue: text}]; required while any score is under 8."
    • addedInput schema / properties / scores / description
      Added value: +"Scores 1-10 for keys hook, readability, motion, variety, brand, music."
  2. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare a non-read-only, idempotent, non-destructive write; the description reinforces this by describing gating behavior, the MD5-match requirement, and downstream refusal by preview_upload. It does not explain what is persisted or how repeated logs for the same file interact, which is the remaining gap.

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?

Three front-loaded lines: action, when, and return shape. No filler, and the critical gating constraint arrives early enough to affect the call decision.

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 four parameters, high schema coverage, and an existing output schema, the description covers purpose, sequencing, pass/fail gate, and consequence of failure. The duplicated 'Returns' line is redundant but harmless; nothing needed for correct invocation is missing.

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%, so the schema already documents file, scores keys, and the conditional problems requirement — the description largely repeats these ('scores 1-10 and worst problems'). The only added semantic is that the file must be the MD5-matched final artifact, which is a modest increment over the schema.

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+resource ('Log one self-review round') with explicit scope ('for a final preview file') and names the key inputs. It is clearly distinguishable from the sibling preview_review_sheets, which it references as the preceding step.

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?

Explicitly gives the sequencing trigger ('after preview_review_sheets') and the hard acceptance condition ('Every score must reach 8+ on the exact final file (MD5-matched) or preview_upload and the gate refuse'), including what happens on failure. Alternatives and consequences are both named.

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

Deploy Server

Other Tools