Skip to main content
Glama
Wardrowbe MCP Server

Wardrowbe MCP Server

by mjrealm

Upload a photo

upload_photo

Upload a base64 clothing photo (up to 300 KB) to get a single-use upload_id valid for 10 minutes, so add_item can attach the image to a new wardrobe item.

Instructions

Upload a photo of a clothing item so add_item can use it. Pass the image as base64. Keep it small: the limit is 300 KB, so use a reduced-size image. Returns an upload_id for add_item. The id is good for 10 minutes and works once.

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": {
      "image_base64": "<image_base64>",
      "mime_type": "<mime_type>"
    },
    "name": "upload_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNoFile name, e.g. blue-shirt.jpg
mime_typeYesImage type
image_base64YesThe image bytes, base64-encoded, without a data: prefix

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations to lean on, the description still discloses the key behavioral traits: a 300 KB size ceiling, an upload_id return value with a 10-minute lifetime, and single-use semantics ('works once'). It omits error/failure behavior and any permission or authentication expectations, which is the main remaining gap.

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 short sentences, front-loaded with the purpose and dependency, then encoding, size limit, and return contract. No sentence is filler and nothing important is buried.

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 small three-parameter tool with no output schema, the description covers the essentials an agent needs to call it correctly: what it feeds into, the encoding, the size ceiling, and what the returned id is worth and for how long. Little is left to guesswork.

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 coverage is 100%, so the baseline is 3, but the description earns a step up by adding a constraint the schema lacks: the practical 300 KB limit and the instruction to send a reduced-size image, plus the base64 encoding expectation. It adds real meaning beyond the field definitions without duplicating them.

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 ('Upload a photo of a clothing item') and immediately ties it to the sibling that consumes the result ('so add_item can use it'). An agent can tell this is the prerequisite upload step for item creation without opening any 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 description gives clear context for when to reach for this tool: before add_item, with a base64 image, downsized to stay under 300 KB. It does not name a case where an agent should not use it, but as the only upload-style tool among the siblings there is no meaningful alternative to route away from.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.