Skip to main content
Glama

Boatwork - Marine Businesses MCP

upload_and_register_photo

Upload and register a small JPEG, PNG, WebP, or GIF through the durable private-media pipeline. The MCP decodes the data URI, reserves the exact bytes, PUTs with every signed required header, waits for malware scanning/publication, and returns the canonical library row. The MCP transport allows about 180KB decoded; use request_photo_upload for anything larger. Reuse clientUploadId when retrying the same photo.

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": {
      "base64DataUri": "<base64DataUri>",
      "proAccessToken": "<proAccessToken>"
    },
    "name": "upload_and_register_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
orderIndexNo
showOnSocialNo
base64DataUriYesCanonical data:image/<jpeg|png|webp|gif>;base64,<bytes> URI.
showOnWebsiteNoWhether the item shows in the public storefront gallery. Omit it when the upload is for a social post: on a storefront with Presence the server then follows the owner's setting 'Add photos and videos you post to your storefront gallery', which is off unless the owner turned it on (a storefront without Presence shows the item). Pass true only when the owner asked for this item on their storefront. Pass false to keep it out.
clientUploadIdNoRequired 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.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the multi-step server behavior (decode data URI, reserve exact bytes, signed PUT, malware scan, publication) and the return value (canonical library row). It omits what happens when scanning fails or a reservation is abandoned, and does not state whether a published item is publicly reachable, which are the remaining meaningful gaps for a write tool.

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?

Four tight sentences, front-loaded with what the tool does, then limits and the retry rule. No boilerplate or repetition; every sentence carries actionable information.

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?

For a 7-parameter write tool with no annotations and no output schema, the description covers the processing pipeline, transport limit, alternative routing, idempotency, and the shape of the return value. It could add failure/rollback behavior and the auth consequence of an expired proAccessToken, but an agent has enough to call it correctly.

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 57%, so several parameters (title, orderIndex, showOnSocial) are undocumented, and the description adds meaning only for clientUploadId's retry semantics - which the schema description already states. The payload-size note usefully contextualizes base64DataUri, but the description does not otherwise compensate for the coverage gap.

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 names a specific verb pair ('upload and register') plus the resource (a photo in the private-media pipeline) and constrains formats to JPEG/PNG/WebP/GIF. It explicitly distinguishes itself from the sibling request_photo_upload by size threshold, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

It states the concrete selection rule - this tool for payloads up to ~180KB decoded, request_photo_upload for anything larger - and adds retry guidance (reuse clientUploadId for the same photo). Both when-to-use and the named alternative are present with a quantitative threshold.

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