Skip to main content
Glama

Upload exact bytes from a private receipt

upload_file
Destructive

Uploads a bounded local file to Google Storage using a selected private upload receipt, preserving exact size and Content-Type after explicit confirmation with no redirects.

Instructions

Explicitly confirmed Google Storage PUT using a selected private upload receipt and a bounded local regular file. Exact size/Content-Type and x-goog-content-length-range are preserved. No Fourthwall credentials or redirects, no automatic registration/publishing.

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.
input_fileYes
receipt_fileYes

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 destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered; the description still adds real value by scoping the operation (Google Storage PUT, exact size/Content-Type and x-goog-content-length-range preserved, no credentials or redirects, no automatic registration/publishing). It omits what happens to an existing object at the target path, which matters given destructiveHint.

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?

Three dense sentences that lead with the core action and then the constraints; little waste. The jargon ("private upload receipt", "bounded local regular file") is compact but slightly costly to parse on a first read.

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, non-idempotent write with no output schema and half the params undocumented, the definition covers safety boundaries but not the full invocation loop: receipt provenance, overwrite semantics, and failure behavior are all absent. Adequate to recognize the tool, thin for calling it confidently.

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 coverage is only 50%: account and confirm are documented, while input_file and receipt_file carry no schema description. The description partially compensates by clarifying that the receipt is a selected private receipt and the input is a bounded local regular file, but it never says where a receipt comes from or what "bounded" means numerically, leaving the two required params under-specified.

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: an explicit PUT of exact bytes to Google Storage using a receipt plus a local file. The mechanics are clear, but it never names the siblings that produce the receipt (e.g. request_digital_file_upload_url, request_media_upload_url) or distinguishes itself from confirm_digital_file_upload, so an agent must infer the relationship.

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?

"Explicitly confirmed" and "a selected private upload receipt" imply a prerequisite receipt and a user-confirmation gate, but the description never says to call an upload-URL tool first or when this is preferable to confirm_digital_file_upload. Usage is implied rather than stated, and no exclusions are given.

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