Skip to main content
Glama

Upload Dropped Photo

mcp_upload_intake_photo
Idempotent

Store one photo dropped on the Shoot Board, sent inline as base64, for a host that cannot upload files itself. Returns a receipt (sha256, size, stored, image_url, image_url_expires_at); pass image_url to mcp_intake_files and mcp_commit_intake. Without data, stores nothing and returns the receipt of the photo already stored under sha256 (a fresh image_url), or stored: false.

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": {
      "sha256": "<sha256>"
    },
    "name": "mcp_upload_intake_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoThe image bytes, standard base64, at most 4 MiB decoded (downscale larger photos). Omit it to ask for the receipt of a photo already stored
sha256YesHex SHA-256 of the dropped file as the user picked it (the intake tools take the same value), even when data is a downscaled copy
content_typeNoImage MIME type of data (required with data)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations declare not-read-only and idempotent, and the description goes further by explaining the mechanism behind idempotency: omitting data stores nothing and returns the receipt of the photo already stored under sha256, or stored:false. It also enumerates the receipt contents (sha256, size, stored, image_url, expiry), which no annotation provides.

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?

Purpose is front-loaded in the first clause, then return contract, then the empty-data edge case. Dense but every sentence carries information; the parenthetical receipt list is slightly heavy but justified since no output schema exists.

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?

With no output schema, the description fully specifies the return receipt fields and their downstream use, and it covers the no-data branch explicitly. An agent has everything needed to call the tool correctly and to handle both success and dedup outcomes.

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 100% and the schema already documents data, sha256 and content_type including the downscale/omit behavior. The description largely restates the no-data path rather than adding syntax, format, or cross-parameter nuance the schema lacks, so the baseline 3 is appropriate.

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?

States a specific verb and resource ('Store one photo dropped on the Shoot Board') plus the exact transport ('sent inline as base64') and the audience constraint ('a host that cannot upload files itself'). An agent can distinguish this from sibling uploaders without opening the 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?

The condition that selects this tool is explicit ('for a host that cannot upload files itself'), and it routes downstream work to mcp_intake_files and mcp_commit_intake. It stops short of naming a competing sibling (e.g. upload_garment_from_public_url) as the alternative when a host CAN upload, leaving that inference to the agent.

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