Skip to main content
Glama

Update photo

cms_update_photo
DestructiveIdempotent

Update photo. Guidance: Update one CMS photo gallery item by photo id. | context: id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPhoto item id returned by cms_list_photos.
titleNoReplacement photo title; non-empty string.
statusNoReplacement publication status.
contentNoReplacement photo description or caption. Send an empty string to clear the stored description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already flag idempotent, destructive, and readOnly behavior; description adds no additional side-effect or overwrite details beyond 'Update'.

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?

Very concise and direct, with no unnecessary prose; slight redundancy in 'Guidance' and 'context: id' but not harmful.

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?

Essential call information is present, but it does not clarify whether omitted optional fields are left unchanged or reset, and no response/return behavior is mentioned.

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?

All 4 parameters are covered by the schema, and the description adds useful detail: id source from cms_list_photos, status enum, and empty-string-clears-content semantics for content.

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?

Description uses specific verb 'Update' and identifies resource 'photo' (CMS photo gallery item), clearly distinguishing it from create/delete/get/list sibling tools.

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?

It states the target (one photo by id) and action, but does not explicitly contrast with cms_create_photos or cms_delete_photo; relies on sibling tool names for disambiguation.

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.