Skip to main content
Glama

Place or remove a website photo

soclo_page_media_save
DestructiveIdempotent

Place an owned Library image (asset_id) in a renderer section and role, or remove it with remove:true. Needs the exact displayed if_unchanged revision, and a description (alt_text) or decorative:true. Free. Without confirm:true it returns a preview only; pass confirm:true only after the owner approves. A lost write reply must be reconciled with soclo_page_get and soclo_page_versions before retrying.

Input Schema

NameRequiredDescriptionDefault
cropNo
roleYesThe photo slot within the section.
removeNotrue to remove the image from that section and role instead of placing one.
confirmNotrue only after the owner approved the exact change. Omit or pass false to get a preview: nothing is sent.
page_idNoWhich page of the site, from soclo_page_pages (or soclo_page_design_get). Omit for the home page — changing a child page without this changes the home page instead.
alt_textNoA description of the photo, required unless it is decorative or removed.
asset_idNoAn owned image from Library, resolved by the server.
decorativeNotrue if the photo is purely decorative (then no description is needed).
focal_pointNo
if_unchangedYesExact displayed site, page-list or History revision, as last read; never refresh it invisibly.
section_id_or_kindYesThe renderer section receiving the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond the destructive/idempotent annotations: the default dry-run preview, the confirm-gate tied to owner approval, the fact that it is free, and the reconciliation procedure for a lost write reply. This is exactly the behavioral detail annotations cannot convey.

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 dense sentences, front-loaded with the primary action and gated by the confirm/preview rule, then the reconciliation caveat. Every sentence earns its place, though the requirement list is packed tightly enough to read slightly dense.

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 an 11-param destructive mutation with nested objects and no output schema, the description covers the critical semantics (confirm gate, alt_text/decorative, if_unchanged, recovery). Minor gaps remain around crop/focal_point behavior, but the essentials an agent needs to invoke correctly are present.

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?

Schema coverage is high (82%) so the schema already documents most params, but the description adds semantics: asset_id is an owned Library image resolved by the server, alt_text is required unless decorative:true, and if_unchanged must be the exact displayed revision. It does not mention crop/focal_point, but those are schema-documented.

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 verb+resource pair (place/remove a Library image in a renderer section and role) with the exact discriminator (remove:true). An agent can distinguish this from siblings like soclo_page_design_save or soclo_library_update without opening a 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?

Gives clear context: preview by default, pass confirm:true only after owner approval, and reconcile lost writes with soclo_page_get and soclo_page_versions before retrying. Names concrete alternatives for the recovery path, though it doesn't contrast against other image-editing siblings.

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