Skip to main content
Glama

Boatwork - Marine Businesses MCP

request_photo_upload

Reserve a durable upload for a local photo (max 10MB). PUT the exact sizeBytes to uploadUrl using EVERY requiredHeaders entry exactly as returned; do not add an ACL. A successful PUT is not public and not yet in the library. Then call complete_media_upload with uploadId and metadata; that tool safely polls malware scanning and idempotent publication. On a same-clientUploadId retry, S3 412 means skip another PUT and resume completion with this uploadId. During the zero-downtime backend rollout only, mode=legacy instead returns publicUrl and explicit add_photo instructions. Allowed types: image/jpeg, image/png, image/webp, image/gif.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>",
      "contentType": "<contentType>",
      "sizeBytes": "<sizeBytes>",
      "clientUploadId": "<clientUploadId>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "request_photo_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
sizeBytesYes
contentTypeYes
clientUploadIdYesRequired idempotency key. Generate it before the request and reuse it only when retrying the exact same file.
proAccessTokenYesThe proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses that a successful PUT is neither public nor in the library until completion, that completion handles malware scanning and idempotent publication, the 412 retry semantics, and the transient legacy-mode response shape. It also warns 'do not add an ACL' to requiredHeaders, which is a non-obvious constraint an agent would otherwise violate.

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 purpose and size limit are front-loaded, and nearly every sentence carries operational information the agent needs. The middle sentences are densely packed with multiple clauses, which slightly hurts scannability but avoids redundancy.

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?

With no output schema, the description must convey return values, and it names uploadUrl, requiredHeaders, uploadId, and the legacy publicUrl. It covers the happy path, the retry path, and the rollout branch for a 5-parameter all-required tool. Failure modes other than S3 412 (e.g., quota or type rejection responses) are not described.

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 description coverage is only 40%, so the description needs to compensate, and it largely does: it clarifies that sizeBytes must match the PUT exactly, enumerates the allowed content types, and explains the clientUploadId retry contract beyond the schema's basic 'idempotency key' note. filename and proAccessToken are left to their schema descriptions, so coverage is not fully closed.

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 opens with a specific verb and resource: 'Reserve a durable upload for a local photo (max 10MB)'. It also distinguishes this tool from its siblings by naming the follow-up step (complete_media_upload) and the legacy alternative (add_photo), so an agent can place it in the workflow without opening another schema.

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 gives explicit sequencing ('Then call complete_media_upload with uploadId and metadata') and a clear retry rule ('On a same-clientUploadId retry, S3 412 means skip another PUT and resume completion'). The conditional 'mode=legacy' branch is also documented. It stops short of stating when to pick this tool over upload_and_register_photo, which is the only real guidance gap.

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