Skip to main content
Glama

Upload offer archive

upload_offer_archive
DestructiveIdempotent

Replace the page of a local offer (dest_kind local) with a new ZIP archive — index.html at the root, assets beside it; {click_id} and other {macros} in the HTML are filled per click. zip_base64 takes up to 10 MB; larger archives go to the REST endpoint as multipart zip_file.

Input Schema

NameRequiredDescriptionDefault
idYesOffer id
zip_base64YesThe ZIP archive, base64-encoded

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description explains what is replaced, the required ZIP layout, how macros are filled per click, and the 10 MB size limit. That adds meaningful operational context for a destructive, idempotent upload.

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 description is two tightly packed sentences with the main action front-loaded. Every clause contributes constraints or routing information without unnecessary repetition.

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-parameter destructive upload tool, the description covers the target, archive format, size constraints, macro behavior, and larger-archive alternative. Annotations already cover safety semantics, so no critical caller context 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?

The schema already documents both parameters at 100% coverage, but the description adds important constraints for zip_base64: size limit, root index.html requirement, adjacent assets, and macro substitution. The id parameter receives no additional meaning beyond the schema.

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?

The description states a specific verb and resource: replace the page of a local offer with a ZIP archive. It also scopes the operation to dest_kind local, making it distinguishable from general offer update tools.

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 clearly indicates the tool is for local offers and gives an alternative path for archives over 10 MB via the REST endpoint. It does not explicitly mention sibling tools such as update_offer, so the routing guidance is strong but not fully exhaustive.

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