Skip to main content
Glama

Remove a digital file from a product

remove_digital_file
Destructive

Delete a digital file from a Fourthwall product by its file URL. Use this to detach uploaded files tied to a specific product.

Instructions

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

Removes a digital file from the product by its file URL.

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.
fileUrlNo
payloadNoComplete current native JSON body; cannot mix with native body flags or payload_file.
product_idYesNative productId
payload_fileNoAbsolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is clear. The description adds a rate limit (100 req/10s per shop), which is useful behavioral context. However, it doesn't disclose consequences of removal (e.g., permanent deletion, effect on existing purchases) or any authentication requirements beyond what annotations imply, leaving gaps for a destructive operation.

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?

The description is very concise: a rate-limit line and a single sentence stating the purpose. It is front-loaded with the rate limit and then the core action. No extraneous information, though the rate limit could be considered slightly tangential to the core purpose.

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

Completeness3/5

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

For a destructive mutation tool with no output schema, the description is minimal. It states what it does and a rate limit, but omits important context such as whether the removal is permanent, what happens to associated downloads, or any required permissions. Annotations cover the safety profile, but the description could provide more operational context to help an agent understand the full impact.

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 most parameters. The description mentions 'by its file URL', which corresponds to the fileUrl parameter, but adds no format details or constraints beyond what the schema provides. With high coverage, baseline 3 is appropriate.

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 clearly states the verb ('Removes') and resource ('digital file from the product') and specifies the identifier ('by its file URL'). It doesn't explicitly differentiate from siblings like 'remove_product_images' or 'confirm_digital_file_upload', but the resource (digital file) and operation (remove) are specific enough to distinguish it.

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?

No guidance on when to use this tool versus alternatives is provided. There is no mention of prerequisites (e.g., digital file must exist), conflicts with other tools, or conditions under which removal should occur. The agent must infer usage entirely from the name and purpose.

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