Skip to main content
Glama

Mark digital download as downloaded

mark_download_complete
Destructive

Marks a digital order's download as completed; if none exists and a default file URL is supplied, creates the download and marks it downloaded.

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

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private shop profile label; not a provider identity or authorization proof.
confirmNoExplicit approval for this exact provider effect or local private-file operation.
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. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=false, so the safety profile is partly covered. The description adds concrete behavioral context (conditional download creation with defaultFileUrl) and includes an explicit rate limit (100 req/10s per shop), which goes beyond annotations.

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 rate limit and the primary action, then adds the conditional creation clause. Every sentence carries meaning. Slightly dense but no waste.

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?

Covers the core action, the conditional creation path, and rate limit for a mutation tool whose safety profile is already in annotations. No output schema exists, but the description needn't explain returns for a mark-complete operation. Could still note auth/confirmation expectations given the 'confirm' parameter.

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 83%, so the schema already documents params well. The description references defaultFileUrl and adds business semantics (creates a download when none exists) that the schema text does not, but does not clarify account/confirm/payload_file constraints.

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 ('Marks digital download as downloaded') and adds a conditional behavior (creating a download when none exists and defaultFileUrl is supplied). Distinct from sibling tools like confirm_digital_file_upload or remove_digital_file.

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

Usage Guidelines3/5

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

Implied usage via the conditional creation clause, but no explicit when-to-use vs alternatives or when-not-to-use guidance. The agent must infer this tool applies to digital-order fulfillment flows.

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