Skip to main content
Glama

Place another photo on a photo

photo_place

Put another picture your user gave you onto a photo canvas, as a photo layer above the photo (a logo, a product shot, a second view): src (an https URL or a data: URL) or upload: true for a file you have (the reply has an address to send its bytes to with curl). It is taken in as the first photo was (location removed, the same plan limits: megapixels and MB) and checked the same way. box {x, y, w, h?, deg?}: where it goes, fractions of the picture (x and w of its width, y and h of its height; h left out keeps its shape; deg turns it), centred at half the width when left out; name names its layer; at places the layer as photo_edit's at does. It is stretched to its box; photo_edit changes it after ({layer: name, set: {box, blend, opacity, mask}}, {add: {...}, layer: name} for its own adjustments). Up to 4 photos on a canvas, the first included. Where the photo engine runs in the page, it is processed when the photo's page is open, and placed then.

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_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNowhere among the layers, as photo_edit: a position (1 just above the photo), "top" (default), "bottom", {before: name}, {after: name}
boxNo{x, y, w, h?, deg?}: fractions of the picture
srcNoan https URL or a data: URL of the picture
nameNo
canvasNo
uploadNotrue: reply with an upload address for a file you have (send it with curl --data-binary)
previewNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description goes well beyond them by disclosing location stripping, the same megapixel/MB plan limits, the same validation, the four-photo-per-canvas cap, and the deferred processing behaviour when the engine runs in the page.

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 purpose is front-loaded, but the body is a dense run-on with nested parentheticals that are hard to parse in one pass. Several clauses repeat the same idea (the box is described twice, photo_edit's 'at' is cross-referenced twice).

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 seven-parameter, nested-object tool with no output schema, the description covers placement geometry, sources, layer naming, caps and processing timing well. It leaves the canvas and preview parameters undefined, which an agent would need to guess at.

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?

With only 57% schema coverage, the description carries real weight: it explains that src accepts https or data: URLs, that upload:true yields an address to POST bytes to via curl, that box values are fractions (x/w of width, y/h of height), that omitting h preserves aspect ratio, that deg rotates, and that the box is centred at half width by default. canvas and preview remain unexplained, so it does not fully close the 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?

States a concrete verb and resource ('Put another picture ... onto a photo canvas, as a photo layer above the photo') and immediately distinguishes the operation from photo_edit, which 'changes it after'. The examples (logo, product shot, second view) pin down what kind of picture is meant.

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

Usage Guidelines3/5

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

Use cases are illustrated and the follow-up path is named ('photo_edit changes it after'), which implies when this tool is the right first step. However, there is no explicit when-to-use or when-not-to-use statement, and the relationship to siblings like photo_drop or photo_pick is left to inference.

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.