Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as TheySaid. If you published it, claim ownership there.

Upload design snapshot

upload_design_snapshot
DestructiveIdempotent

Fallback upload for a design snapshot, for when the PUT to the uploadUrl from prepare_design_snapshot is blocked by the environment's network (for example "Host not in allowlist"). Takes the uploadId and the complete, self-contained design HTML, and hosts it under that uploadId. The AI testers see exactly this HTML, so it must already be in the state the user wants tested (the intended start page, mode and any saved toggles/defaults), not an editor default. The design HTML is temporarily uploaded to TheySaid. Re-using an uploadId replaces the stored design. Returns { uploadId, previewUrl, nextStep }; the next step is check_design_snapshot. This tool does not start a test.

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": {
      "uploadId": "<uploadId>",
      "html": "<html>"
    },
    "name": "upload_design_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYes
uploadIdYes

Output Schema

NameRequiredDescriptionDefault
nextStepNoGuidance: verify → propose/relaunch → review → launch.
uploadIdNoThe same handle passed in, echoed for check_design_snapshot.
previewUrlNoPublic URL of the hosted design the AI testers navigate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, and the description adds real context beyond them: that HTML is temporarily uploaded to TheySaid (third-party data exposure), that re-using an uploadId replaces the stored design, and that AI testers see exactly this HTML. It stops short of retention duration or auth requirements, so not a 5, but it meaningfully enriches the annotation profile and contradicts nothing.

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?

Front-loads the fallback purpose before the mechanics, and every sentence carries operational weight (prerequisite, state requirement, data destination, replacement semantics, next step). It is slightly long and the 'must already be in the state the user wants tested' point is restated in parenthetical detail, which keeps it from a 5.

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?

For a two-param upload in a multi-step workflow, the definition covers the prerequisite (failed PUT), the content requirement, the storage destination, the idempotency/replacement behavior, and the follow-up tool. Return values need not be explained since an output schema exists, though it summarizes them anyway; nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry both params, and it does: uploadId is the hosting key whose reuse replaces stored content, and html must be 'complete, self-contained' and already in the intended tested state (start page, mode, saved toggles) rather than an editor default. That is substantial meaning beyond type:string, with only the exact provenance of uploadId left implicit.

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 ('Fallback upload for a design snapshot') and immediately scopes it against the sibling prepare_design_snapshot by naming the exact failure condition it exists for (PUT to `uploadUrl` blocked, e.g. 'Host not in allowlist'). An agent can distinguish this from its siblings without opening either schema.

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?

Gives an explicit when-to-use trigger (only as fallback when the direct PUT is blocked by the environment) and explicitly when-not ('This tool does not start a test'), plus routes onward by naming check_design_snapshot as the next step. This is close to ideal conditional guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources