Skip to main content
Glama

Upload a picture file

start_project_picture

Step 1 of adding a picture that is a file on your computer (PNG, JPEG or WebP, up to 10 MB). Returns a one-time upload address: PUT the file's bytes there with its Content-Type, then call finish_project_picture with upload_id. rendering true (or a role) = one of the project's own pictures, shown large; item_id = that item's picture; neither = a project file. On a project Claude sources, role rendering shows it in the Design phase under its space (and its option), role layout in the Install phase. Owner only. Needs the owner's sign-in.

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": {
      "project_id": "<project_id>",
      "file_name": "<file_name>",
      "content_type": "<content_type>"
    },
    "name": "start_project_picture"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNorendering: a design picture, shown in the Design phase under its space; layout: an install map, shown in the Install phase
spaceNoFor a rendering: the space it shows, the same words as that space's item section, e.g. Lobby, Dragon's Den; empty clears
optionNoFor a rendering of a design option: its letter (A, B…), as on that option's items; empty clears
captionNoThe picture's title, e.g. "Lobby · front desk"
item_idNoItem id, for an item's picture
file_nameYesThe file's name, e.g. lobby_desk.jpg
renderingNotrue for a final rendering of the project
project_idYesProject id
content_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / option
      Added value: +{
      +  "description": "For a rendering of a design option: its letter (A, B…), as on that option's items; empty clears",
      +  "type": "string"
      +}
    • addedInput schema / properties / role
      Added value: +{
      +  "description": "rendering: a design picture, shown in the Design phase under its space; layout: an install map, shown in the Install phase",
      +  "enum": [
      +    "rendering",
      +    "layout"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / space
      Added value: +{
      +  "description": "For a rendering: the space it shows, the same words as that space's item section, e.g. Lobby, Dragon's Den; empty clears",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the one-time upload address return value, the required PUT with Content-Type, the 10 MB and format ceiling, and access constraints ('Owner only. Needs the owner's sign-in'). It also explains downstream effects of the role parameter (Design phase vs Install phase placement), which the annotations say nothing about.

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?

Front-loaded with the two-step flow and the return value, which is the highest-value information. The middle sentence packs three target modes into one dense clause, and the Design/Install phase detail duplicates the schema's enum text, adding slight redundancy.

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 and 9 parameters, the description carries the burden of explaining the return value, and it does: a one-time upload address plus the exact follow-up procedure. Combined with the access and size constraints, an agent has everything needed to invoke and complete this step correctly.

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 already 89%, so the bar is a baseline 3. The description adds genuine meaning by explaining the interaction between rendering, role, and item_id as mutually exclusive target selectors, which the schema documents individually but never relates. The role phase-mapping sentence largely restates the enum descriptions, keeping it from a 5.

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?

Names a specific verb+resource (start a picture upload) and immediately scopes it to a local file type and size limit. It also positions itself precisely as step 1 of a two-step handshake, naming finish_project_picture as the completion, so an agent can separate it from its sibling 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 Guidelines4/5

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

Gives explicit routing rules: rendering true or a role targets a project's own picture, item_id targets an item's picture, neither targets a project file. It also states the prerequisite follow-up call ('then call finish_project_picture with upload_id'). It does not compare against other upload-shaped siblings such as upload_file or add_photo, leaving that disambiguation 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