Skip to main content
Glama

Design Record Upload

design_record_upload
Idempotent

Records SHA-256 hashes of uploaded Claude Design files to generate a receipt, enabling design, icon, and screenshot gates to pass after upload.

Instructions

Record a finished Claude Design upload: the SHA-256 of every file in upload_plan.json into design/project/claude_design.json.

Use when: after uploading through the claude-design MCP; the design, icon and screenshot gates fail until this receipt matches. Returns: {ok, receipt path, files}.

Input Schema

NameRequiredDescriptionDefault
app_dirYesAbsolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp.
open_urlYesThe claude.ai/design link returned by render_preview (not the serve_url).
project_idYesClaude Design project id from create_project.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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 / open_url / description
      Added value: +"The claude.ai/design link returned by render_preview (not the serve_url)."
    • addedInput schema / properties / project_id / description
      Added value: +"Claude Design project id from create_project."
  2. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the mutation/is-safety profile is covered. The description adds genuine value beyond that: it names the exact file written, states the receipt is derived from upload_plan.json, and discloses the downstream gating effect. It does not state permission/auth requirements, so a 4 rather than 5.

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 compact labeled blocks (purpose / Use when / Returns) with zero filler and the purpose front-loaded. Every sentence carries information an agent needs.

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?

Purpose, trigger condition and a summary of the return shape are all present, and a full output schema exists so return values need not be elaborated. Nothing required to invoke this 3-parameter tool correctly 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 app_dir, project_id and open_url are already fully documented in the schema, including the note that open_url is the render_preview link not the serve_url. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 (record), the exact resource (SHA-256 of every file in upload_plan.json) and the destination artifact (design/project/claude_design.json). This is clearly distinguishable from the sibling design_upload_status, which checks state rather than writing the receipt.

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?

"Use when: after uploading through the claude-design MCP" gives an explicit trigger condition, and the note that the design/icon/screenshot gates fail until the receipt matches adds a strong reason to call it. It stops short of naming an alternative tool or a when-not condition, so it is not quite a 5.

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