Skip to main content
Glama

Apply Product

apply_product
Read-onlyIdempotent

Product photography. Choose: clean studio hero shot, real-world lifestyle, extreme macro detail, or top-down flat lay. Returns the styled prompt stack for your shot and the aspect_ratio to make it at — pair it with generate_image and pass that aspect_ratio along.

Input Schema

NameRequiredDescriptionDefault
styleYesclean_studio = seamless backdrop hero. lifestyle = product in use. macro_detail = extreme close-up texture. flat_lay = top-down catalog.
subjectNoWhat you want to shoot. E.g. "a woman walking through a hotel lobby" or "morning coffee on the balcony".
aspect_ratioNoOptional frame shape. Replaces the shape the style uses by default. The answer carries aspect_ratio: pass it to generate_image so the picture is made at that shape.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / aspect_ratio
      Added value: +{
      +  "description": "Optional frame shape. Replaces the shape the style uses by default. The answer carries aspect_ratio: pass it to generate_image so the picture is made at that shape.",
      +  "enum": [
      +    "9:16",
      +    "16:9",
      +    "1:1",
      +    "4:5",
      +    "5:4",
      +    "3:2",
      +    "2:3",
      +    "4:3"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description adds real value by saying the return is a prompt stack plus an aspect_ratio that must be forwarded, making clear this is a non-generating planning step.

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?

Two short sentences, front-loaded with the domain and the choice set, then the return and next step. The style enumeration mildly duplicates the schema enum descriptions, but it usefully supports selection before opening the schema.

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 three parameters and no output schema, the description correctly explains what comes back (prompt stack and aspect_ratio) and what to do with it. Only minor gaps remain — e.g., whether the prompt stack is reusable across subjects.

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 coverage is 100% and both enums carry their own descriptions, so the schema already carries the parameter burden. The description restates the style choices and the aspect_ratio hand-off but adds no syntax or interpretation beyond that; baseline 3 applies.

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 specific domain (product photography) plus the four concrete style modes, and discloses that the tool produces a prompt stack rather than an image. It is clearly separable from the many sibling apply_* tools (travel, wellness, UGC, editorial) by subject matter.

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?

Explicitly names the downstream tool ('pair it with generate_image and pass that aspect_ratio along'), which is the key usage context for a prompt-builder. It gives no exclusions, though — nothing says when to prefer apply_style or list_styles instead.

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