Skip to main content
Glama

Preview delivery materials

preview_downloads
Read-onlyIdempotent

After creating an upload session, compare the proposed manifest with the current version before finalizing. Returns added, removed, replaced and missing files, the full list and a basis token. Omitted downloads inherit explicit current settings; a first version defaults to none; [] clears the list. Resolve missing files explicitly. Pass basis as download_basis to finalize_upload to detect concurrent changes. The CLI handles this step.

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": {
      "version_id": "<version_id>",
      "manifest": "<manifest>"
    },
    "name": "preview_downloads"
  }
}

Input Schema

NameRequiredDescriptionDefault
manifestYes
version_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / manifest / properties / virusScan / properties / async
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / manifest / properties / virusScan / properties / attempts
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / manifest / properties / virusScan / properties / held
      Added value: +{
      +  "items": {
      +    "maxLength": 512,
      +    "type": "string"
      +  },
      +  "maxItems": 2000,
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / update_cadence
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "at": {
      +          "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
      +          "type": "string"
      +        },
      +        "day": {
      +          "maximum": 31,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "every": {
      +          "enum": [
      +            "daily",
      +            "weekdays",
      +            "weekly",
      +            "monthly"
      +          ],
      +          "type": "string"
      +        },
      +        "weekday": {
      +          "maximum": 6,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "every",
      +        "at"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / fill
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "fields": {
      +      "description": "Columns edited in base row 0. Image values are image URLs.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "key": {
      +            "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
      +            "type": "string"
      +          },
      +          "label": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "max": {
      +            "maximum": 500,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "polish": {
      +            "type": "boolean"
      +          },
      +          "type": {
      +            "enum": [
      +              "text",
      +              "longtext",
      +              "image",
      +              "datetime",
      +              "url",
      +              "phone"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "key",
      +          "label",
      +          "type"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 64,
      +      "type": "array"
      +    },
      +    "lists": {
      +      "description": "Column groups edited across base rows, starting at row 0. Keys group the UI; cells stay scalar, never nested arrays.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fields": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "key": {
      +                  "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
      +                  "type": "string"
      +                },
      +                "label": {
      +                  "maxLength": 120,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "max": {
      +                  "maximum": 500,
      +                  "minimum": 1,
      +                  "type": "integer"
      +                },
      +                "polish": {
      +                  "type": "boolean"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "text",
      +                    "longtext",
      +                    "image",
      +                    "datetime",
      +                    "url",
      +                    "phone"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "key",
      +                "label",
      +                "type"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 64,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "key": {
      +            "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
      +            "type": "string"
      +          },
      +          "label": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "max_rows": {
      +            "maximum": 100,
      +            "minimum": 1,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "key",
      +          "label",
      +          "max_rows",
      +          "fields"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 8,
      +      "type": "array"
      +    },
      +    "table": {
      +      "description": "Base data table copied with the template; reader submissions are excluded.",
      +      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "table",
      +    "fields"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / manifest / properties / chrome / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "none",
      -      "shell"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "default": {
      -        "enum": [
      -          "open",
      -          "collapsed",
      -          "hidden"
      -        ],
      -        "type": "string"
      -      },
      -      "handle": {
      -        "enum": [
      -          "top-right",
      -          "top-left",
      -          "bottom-right",
      -          "bottom-left"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "none",
      +      "shell"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "default": {
      +        "enum": [
      +          "open",
      +          "collapsed",
      +          "hidden"
      +        ],
      +        "type": "string"
      +      },
      +      "handle": {
      +        "enum": [
      +          "top-right",
      +          "top-left",
      +          "bottom-right",
      +          "bottom-left"
      +        ],
      +        "type": "string"
      +      },
      +      "owner_bar": {
      +        "enum": [
      +          "shown",
      +          "hidden"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / manifest / properties / reader / properties / theme
      Added value: +{
      +  "enum": [
      +    "dark",
      +    "light",
      +    "system"
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / virusScan / properties / cached
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / virusScan
      Added value: +{
      +  "properties": {
      +    "at": {
      +      "maxLength": 40,
      +      "type": "string"
      +    },
      +    "by": {
      +      "anyOf": [
      +        {
      +          "maxLength": 64,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "digest": {
      +      "maxLength": 64,
      +      "type": "string"
      +    },
      +    "files": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "jobId": {
      +      "maxLength": 26,
      +      "type": "string"
      +    },
      +    "state": {
      +      "enum": [
      +        "pending",
      +        "clean",
      +        "blocked",
      +        "unavailable"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "jobId",
      +    "digest",
      +    "files",
      +    "at"
      +  ],
      +  "type": "object"
      +}
  7. Changed4 schema fields changed
    • removedInput schema / properties / manifest / properties / chrome / additionalProperties
      Removed value: -false
    • addedInput schema / properties / manifest / properties / chrome / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "none",
      +      "shell"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "default": {
      +        "enum": [
      +          "open",
      +          "collapsed",
      +          "hidden"
      +        ],
      +        "type": "string"
      +      },
      +      "handle": {
      +        "enum": [
      +          "top-right",
      +          "top-left",
      +          "bottom-right",
      +          "bottom-left"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / manifest / properties / chrome / properties
      Removed value: -{
      -  "default": {
      -    "enum": [
      -      "open",
      -      "collapsed",
      -      "hidden"
      -    ],
      -    "type": "string"
      -  },
      -  "handle": {
      -    "enum": [
      -      "top-right",
      -      "top-left",
      -      "bottom-right",
      -      "bottom-left"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / manifest / properties / chrome / type
      Removed value: -"object"
  8. Changed1 schema field changed
    • changedInput schema / properties / manifest / properties / forms / additionalProperties / properties / fields / items / properties / type / enum
      Previous value: -[
      -  "text",
      -  "textarea",
      -  "select",
      -  "multiselect",
      -  "number",
      -  "phone",
      -  "email",
      -  "image"
      -]New value: +[
      +  "text",
      +  "textarea",
      +  "select",
      +  "multiselect",
      +  "number",
      +  "phone",
      +  "email",
      +  "image",
      +  "location"
      +]
  9. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / share / properties / auto_excerpt
      Added value: +{
      +  "maxLength": 600,
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • changedInput schema / properties / manifest / properties / forms / additionalProperties / properties / fields / items / properties / type / enum
      Previous value: -[
      -  "text",
      -  "textarea",
      -  "select",
      -  "multiselect",
      -  "number",
      -  "phone",
      -  "email"
      -]New value: +[
      +  "text",
      +  "textarea",
      +  "select",
      +  "multiselect",
      +  "number",
      +  "phone",
      +  "email",
      +  "image"
      +]
  11. Changed7 schema fields changed
    • addedInput schema / properties / manifest / properties / analytics
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "replay": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / manifest / properties / folder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / manifest / properties / folder_link
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / manifest / properties / forms
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "append_open": {
      +        "type": "boolean"
      +      },
      +      "fields": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "key": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "label": {
      +              "maxLength": 40,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "max": {
      +              "type": "number"
      +            },
      +            "min": {
      +              "type": "number"
      +            },
      +            "options": {
      +              "items": {
      +                "maxLength": 40,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 50,
      +              "type": "array"
      +            },
      +            "required": {
      +              "type": "boolean"
      +            },
      +            "type": {
      +              "enum": [
      +                "text",
      +                "textarea",
      +                "select",
      +                "multiselect",
      +                "number",
      +                "phone",
      +                "email"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "label",
      +            "type"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 20,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "members_only": {
      +        "type": "boolean"
      +      },
      +      "title": {
      +        "maxLength": 40,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "fields"
      +    ],
      +    "type": "object"
      +  },
      +  "propertyNames": {
      +    "maxLength": 64,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / manifest / properties / name
      Added value: +{
      +  "maxLength": 256,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / manifest / properties / path
      Added value: +{
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / manifest / properties / tag
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 40,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    {
      +      "properties": {
      +        "name": {
      +          "maxLength": 40,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "note": {
      +          "maxLength": 2000,
      +          "type": "string"
      +        },
      +        "title": {
      +          "maxLength": 200,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name"
      +      ],
      +      "type": "object"
      +    }
      +  ]
      +}
  12. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / blankCheck
      Added value: +{
      +  "properties": {
      +    "at": {
      +      "maxLength": 40,
      +      "type": "string"
      +    },
      +    "backfill": {
      +      "type": "boolean"
      +    },
      +    "bytes": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "chars": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "code": {
      +      "enum": [
      +        "blank_swallowed",
      +        "blank_redirect_missing",
      +        "blank_no_content",
      +        "blank_tiny_text"
      +      ],
      +      "type": "string"
      +    },
      +    "file": {
      +      "maxLength": 512,
      +      "type": "string"
      +    },
      +    "line": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "override_at": {
      +      "maxLength": 40,
      +      "type": "string"
      +    },
      +    "sev": {
      +      "enum": [
      +        "hold",
      +        "warn"
      +      ],
      +      "type": "string"
      +    },
      +    "tag": {
      +      "maxLength": 16,
      +      "type": "string"
      +    },
      +    "tags": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "target": {
      +      "maxLength": 512,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "sev",
      +    "file"
      +  ],
      +  "type": "object"
      +}
  13. Changed1 schema field changed
    • changedInput schema / properties / manifest / properties / chrome / properties / default / enum
      Previous value: -[
      -  "open",
      -  "collapsed"
      -]New value: +[
      +  "open",
      +  "collapsed",
      +  "hidden"
      +]
  14. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / reader
      Added value: +{
      +  "properties": {
      +    "accent": {
      +      "pattern": "^#[0-9a-fA-F]{6}$",
      +      "type": "string"
      +    },
      +    "position": {
      +      "enum": [
      +        "br",
      +        "bl",
      +        "tr",
      +        "tl"
      +      ],
      +      "type": "string"
      +    },
      +    "style": {
      +      "enum": [
      +        "pill",
      +        "round"
      +      ],
      +      "type": "string"
      +    },
      +    "subscribe": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  15. Changed1 schema field changed
    • addedInput schema / properties / manifest / properties / chrome
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "default": {
      +      "enum": [
      +        "open",
      +        "collapsed"
      +      ],
      +      "type": "string"
      +    },
      +    "handle": {
      +      "enum": [
      +        "top-right",
      +        "top-left",
      +        "bottom-right",
      +        "bottom-left"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  16. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations already declare read-only, idempotent, non-destructive behavior, and the description adds substantial semantics beyond them: the diff result shape, inheritance rules for omitted downloads, empty-array clearing, first-version defaults, and concurrency detection via basis. This is strong behavioral disclosure for a read-only preview tool.

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?

The definition is front-loaded and compact, with each sentence carrying lifecycle, output, or parameter semantics. The telegraphic style is dense but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only preview with a large nested manifest schema, the description supplies the essential lifecycle, diff output, defaults, and concurrency guidance. It leaves some edge cases implicit, such as exactly how to resolve missing files, but is otherwise complete.

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 description coverage is 0%, so the description must compensate, and it does for the key manifest.downloads field by explaining omitted, first-version, and [] semantics. It also explains the basis token returned and its use as download_basis, though it does not describe version_id in any detail.

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?

The description states a specific operation: comparing a proposed manifest with the current version before finalization, and it explains the preview/diff output of added, removed, replaced and missing files. It distinguishes itself from finalize_upload by naming the handoff of the basis token, though it does not explicitly contrast with get_downloads or set_downloads.

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?

It gives clear lifecycle context: call after creating an upload session and before finalizing, and notes that the CLI handles this step. It also names finalize_upload as the next step and explains how to pass the basis, though it does not explicitly state when not to use this tool beyond the CLI note.

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