Skip to main content
Glama

Create photos

cms_create_photos

Upload images to a CMS photo gallery section as a batch. Guidance: Upload one or more images to a CMS photo gallery section as a single batch. | context: section, photos

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
photosYesNon-empty array of up to 10 image entries. Each entry must be an object with an image source.
statusNoOptional batch publication status applied to every photo without its own status. Omit to default to published.
titlesNoOptional photo titles in the same order as photos.
sectionYesPhoto gallery section id returned by cms_list_cms_sections with type='photo'.
contentsNoOptional photo descriptions or captions in the same order as photos.
photo_statusesNoOptional per-photo publication statuses in the same order as photos. Values are published or stock.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare non-read-only, non-destructive, and non-idempotent behavior. The description adds context about batch creation and default publication status, but does not disclose potential side effects like partial failures or response format, so it goes slightly beyond annotations but not fully.

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?

The description is extremely concise—two sentences—and directly conveys the essential purpose and batch behavior without redundant wording or unnecessary details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description references a prerequisite (section id from cms_list_cms_sections) but does not mention what the tool returns after successful creation, any error conditions, or the 10-item limit. Given the absence of an output schema, this leaves some ambiguity for an agent.

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 descriptions cover 100% of parameters with detailed semantics (e.g., order alignment, source formats, defaults). The tool description itself adds no additional parameter-level meaning, so the baseline score of 3 is appropriate.

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 clearly states the action ('Upload'), the resource ('CMS photo gallery section'), and the batch nature, making it unambiguous. It is distinct from sibling tools that create other content types (e.g., articles, events).

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 description explicitly indicates batch upload and provides a default for publication status, giving practical usage direction. It does not explicitly contrast with alternatives, but the tool name and content type make the appropriate scenario clear.

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.