Skip to main content
Glama

Mark digital download as downloaded

mark_download_complete
Destructive

Marks a digital order's download as downloaded, creating one from defaultFileUrl if none exists. Use it to track completed digital fulfillment.

Instructions

Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.

Marks digital download as downloaded. If no downloads exist for a digital order and defaultFileUrl is provided in the request body, creates a download with that URL and marks it as downloaded.

Input Schema

NameRequiredDescriptionDefault
accountNoExact private shop profile label; not a provider identity or authorization proof.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete current native JSON body; cannot mix with native body flags or payload_file.
order_idYesNative orderId
payload_fileNoAbsolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags.
defaultFileUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval for this exact provider effect or local private-file operation."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotentHint=false, readOnlyHint=false, and openWorldHint=true. The description adds genuinely useful context beyond them: an explicit rate limit (100 req/10s per shop) and the fact that the call can silently create a download record when none exists. It does not say what state is destroyed or whether the action is reversible.

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 sentences, no filler, with the rate limit called out up front as a separate note. The purpose and the conditional behavior are packed efficiently, though the leading rate-limit block before the tool's actual function is a slightly awkward front-load.

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 destructive, non-idempotent mutation with no output schema, the description covers the key behavioral facts (rate limit, conditional creation) and relies on a rich schema for the rest. It stops short of stating permissions or the effect on existing download records, but is largely 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 coverage is 83%, so the schema carries most parameter documentation (account, confirm, payload, payload_file, order_id). The description adds meaning the schema lacks by tying defaultFileUrl to the conditional creation path, which the schema only lists as a bare string.

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 ('Marks digital download as downloaded') and adds the non-obvious conditional side effect (creating a download from defaultFileUrl when none exists). It is clear enough to distinguish from siblings like confirm_digital_file_upload and remove_digital_file, though it never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains a conditional behavior but gives no when-to-use guidance, no prerequisites, and no routing to related digital-file tools. An agent is left to infer when this tool is appropriate versus request_digital_file_upload_url, confirm_digital_file_upload, or remove_digital_file.

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