Skip to main content
Glama

Make a photo collage

make_collage
Read-onlyIdempotent

Arrange up to 9 photos into a collage layout (duo, trio, focus, quad, six, nine) with a gap and background color, and get back a square PNG.

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": {
      "images": "<images>"
    },
    "name": "make_collage"
  }
}

Input Schema

NameRequiredDescriptionDefault
gapNoGap between cells in pixels.
widthNoOutput width in pixels; the collage is square.
imagesYesPhotos as base64, data URIs, or public URLs. Private addresses are refused. 10 MB cap each.
layoutNoLayout id: duo, duo-stack, trio, focus, quad, six, nine. Unknown ids fall back to quad.quad
backgroundNo#000000

Output Schema

NameRequiredDescriptionDefault
pngYesPNG bytes, base64 encoded.
cellsYesCells in the layout; cells beyond the image count stay background-colored.
widthYes
heightYes
mimeTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety and repeat-safety are covered. The description adds the output format (square PNG) and the 9-photo ceiling, but omits the input-source restrictions (private/local URLs refused, 10 MB decode cap) and the unknown-layout fallback, both of which live only in the schema.

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?

One tight sentence with the core action, the layout options, the styling inputs and the return format, all front-loaded with zero filler.

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?

With an output schema present, return values needn't be explained, and the description covers the main workflow adequately for a 5-parameter image-composition tool. The remaining gaps (accepted input sources, fallback behavior) are documented in the schema, though the incomplete layout list is a small inconsistency.

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 80%, so the schema already documents gap, width, layout, background and the images entries in detail. The description adds little beyond echoing layout, gap and background, and its layout enumeration is slightly out of sync with the schema's accepted values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Arrange up to 9 photos into a collage layout'), enumerates the layouts, and names the output ('square PNG'). This is clearly distinguishable from generic siblings like convert_image or crop_image, though the layout list omits 'duo-stack', which the schema includes.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no alternative tool is named. The photo-count cap and layout names imply the applicable scenario, but the agent gets no routing help beyond the tool's own name.

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.