Skip to main content
Glama

Start a photo

photo_new

Start editing a photo your user gave you: a canvas people watch while you adjust it, one named adjustment at a time. Give src (an https URL, or a data: URL); or, for a file you can send with curl (you run commands), upload: true: the reply has an address to send its bytes to; or neither, for a photo attached in a chat: the reply has both an upload address, for when your code tool has the file and can reach this site (Claude's keeps attachments in /mnt/user-data/uploads), and a link where your user drops it if you can't. JPEG, PNG or WebP; HEIC is not read yet (ask for JPEG). Its limits are your user's plan's (megapixels, MB). The original is never changed: location data is removed when it is taken in, and edits are a list you change, switch off or reorder (photo_edit). Give the watch link to your user right away. Nothing is generated: you can crop, straighten, correct exposure and color, blur, sharpen, vignette and add grain, through shapes that limit where each applies, cover a small spot or blemish with clone, heal or spot, which copy pixels from elsewhere in the same photo, and build layers: adjustment layers, colour and gradient fills, text and shapes, and other photos your user gives you placed on it (photo_place); there is no generative fill and no extending the picture. Only photos your user may use; never edit a real person to sexualize, humiliate or impersonate them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "photo_new"
  }
}

Input Schema

NameRequiredDescriptionDefault
srcNoan https URL or a data: URL of the photo
nameNothe file's own name (IMG_2041.jpg), kept with the photo so photo_look can say which it is
titleNo
uploadNotrue: reply with an upload address for a file you have (send it with curl --data-binary). Leave out src and upload for a photo attached in a chat: an upload address and a link where your user drops it
privateNotrue (default while your user's plan has room): only people invited can open it

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?

Annotations only declare non-read-only, non-destructive, closed-world, so the description carries real weight and delivers: the original is never changed, location data is stripped on intake, edits are a reversible ordered list, limits follow the user's plan (megapixels, MB), and the response payload differs by input mode. It also discloses capability ceilings (no generative fill, no extending the picture, HEIC unread) and a use restriction for real people, none of which is inferable from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, and virtually every clause supplies distinct information, so there is little padding. However, the body collapses parameters, reply shapes, format limits, tool routing and policy into one long run-on paragraph of semicolons and nested colons ('or, for a file you can send with curl (you run commands), upload: true: the reply has…'), which makes the three input modes hard to scan for an agent that just wants the branch it needs.

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 five all-optional parameters and no output schema, the description compensates by describing what the reply contains for each input mode, which formats are accepted, what the plan limits are, and what must happen after the call (share the watch link). For a creation tool that is also a collaboration surface, nothing an agent needs in order to call it correctly appears to be missing.

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 80%, so the baseline is 3, but the description adds meaning the schema does not carry: it explains that upload:true makes the reply contain a byte-sink address for curl --data-binary, that supplying neither yields both an upload address and a drop link, and it references where Claude keeps attachments. These are reply-shape semantics tied to parameters, which is genuinely additive rather than restated schema text.

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?

Opening clause gives a specific verb and resource ('Start editing a photo your user gave you') and immediately frames the mental model: a watchable canvas with one named adjustment at a time. It draws explicit boundaries against siblings by naming photo_edit for changing the edit list and photo_place for placing other photos, and it states a hard negative scope ('nothing is generated').

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 three entry paths are spelled out with the condition that selects each: src for an https/data URL, upload:true when the agent's code tool can reach the site and has the file, and neither for a chat attachment where the reply carries both an upload address and a user-facing drop link. It also tells the agent to hand the watch link to the user right away. It stops short of routing among the other intake siblings (photo_pick, photo_select, photo_drop, photo_list), so the guidance is strong but not exhaustive.

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.