Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

compose_image_grid

Destructive

Create an image mosaic from uploaded project assets. Cells fill row by row; fewer images repeat in order. Supports per-image cover/contain, source crop and focal point. Inputs and source hashes are saved as asset.image_grid and returned by get_project. Recompose a saved recipe with a new key to preserve the old mosaic, then bind with assign_asset_slot.

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": {
      "projectId": "<projectId>",
      "columns": "<columns>",
      "rows": "<rows>",
      "key": "<key>",
      "cells": "<cells>"
    },
    "name": "compose_image_grid"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
rowsYes
cellsYes
columnsYes
cellSizeNo
projectIdYes
backgroundNoHex colour, with optional alpha.#FFFFFF

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare a destructive, non-idempotent, non-read-only mutation, and the description substantiates that: reusing a key overwrites the saved recipe, while a new key preserves the old mosaic. It further discloses ordering behavior (row-by-row fill, images repeat in order when fewer are supplied), per-cell fit/crop/focal handling, and where the inputs plus source hashes are persisted. Return shape and any size/limits on the generated mosaic are not described.

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?

Four tight sentences, front-loaded with the core action and followed by layout rules, persistence, and the safe-recompose workflow. Nothing is redundant, though some phrasing is telegraphic ('Cells fill row by row; fewer images repeat in order') and would read more cleanly as a full sentence.

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 destructive 7-parameter mutation with no output schema, the definition covers the essentials an agent needs: how cells map to the grid, what per-cell options exist, where the result is stored, how to retrieve it, and how to avoid clobbering a prior mosaic. It stops short of describing the generated asset's properties or limits on total mosaic size, but the remaining gaps are modest.

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 schema description coverage at only 14%, the description carries real weight and mostly delivers: it explains how cells are consumed and ordered, that they repeat when fewer images than cells are given, and that each cell accepts fit (cover/contain), source crop, and focal point. It also conveys key semantics for preservation versus overwrite. cellSize and background are left to the schema, where they have defaults, ranges, or a pattern, so the omission is minor rather than crippling.

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?

The description opens with a specific verb and resource ('Create an image mosaic from uploaded project assets') and then scopes it further with layout, repetition, and per-image fit/crop behavior. It also positions the tool in its workflow by naming get_project for retrieval and assign_asset_slot for binding, so an agent can place it without opening the 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?

It gives concrete workflow guidance: the result is saved as asset.image_grid, is retrievable via get_project, and must be bound with assign_asset_slot. It also explains the key-reuse decision ('recompose a saved recipe with a new key to preserve the old mosaic'), which is effectively a when-to-use-this-way rule. No explicit when-not-to-use or alternative composition tool is offered, so it stops short of a 5.

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