Skip to main content
Glama

Carryo Website Publisher

Edit Website Images

website.edit_images
Destructive

Adds, replaces, or removes hosted images on an existing Carryo website without replacing its HTML. Reusing a path replaces that image without consuming another image slot; new paths are subject to the website image allowance. Returns hosted-image metadata and URLs. New paths appear in the page when referenced by its HTML. Image assets use relative HTML paths and exactly one source: a fileId matching a host-supplied imageFiles attachment, or a fetchable HTTP(S) sourceUrl. Carryo imports and hosts its own copy. Base64 image bytes and data URLs are unsupported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetsNoOptional image assets to add or replace. Each entry requires a relative HTML path and exactly one of fileId (matching imageFiles[].file_id) or sourceUrl (a fetchable HTTP(S) image URL). Existing images are preserved when omitted. The hosted-image allowance applies to the final website collection; replacing an existing path does not use another slot. Base64 bytes and data URLs are unsupported.
linkIdYesCarryo page link identifier to update
imageFilesNoOptional image attachments supplied by a compatible host, with file_id and download_url. Each attachment is mapped to a relative HTML path by an assets entry with the matching fileId. Temporary download URLs are import sources, not hosted image URLs. Clients without file input support can omit this field.
removeAssetPathsNoOptional relative asset paths to remove from the page asset bundle.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
formsNo
linkIdNoCarryo page link identifier
statusNo
messageNo
guidanceNo
shareUrlNoPrimary share URL
assetUrlsNoURLs for added or replaced assets
updatedAtNoISO-8601 update timestamp
currentVersionNumberNo
publicationPerformedNo

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 already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is known. The description adds valuable behavioral context: reusing a path doesn't consume another image slot, new paths are subject to allowance, Carryo imports and hosts its own copy, and base64/data URLs are unsupported. This goes beyond the annotations without contradicting them.

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?

The description is dense but well-structured, front-loading the core action and then explaining key constraints. Every sentence adds information. It's slightly long but justified given the complexity of the tool's behavior (allowance, path reuse, source types).

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?

The description covers the essential behavioral rules: path reuse, allowance, source requirements, and unsupported formats. The output schema exists, so return values don't need explanation. Minor gaps: it doesn't explicitly state what happens when removeAssetPaths conflicts with assets, or whether the operation is atomic, but these are edge cases.

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 description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds meaningful context beyond the schema: the distinction between reusing a path (no extra slot) vs new paths (allowance applies), and the import/hosting behavior. This is above the baseline 3 because it clarifies the semantics of the assets array and the relationship between fileId and sourceUrl.

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 states a specific verb ('Adds, replaces, or removes') and resource ('hosted images on an existing Carryo website'), and explicitly distinguishes itself from website.edit by noting it does not replace HTML. This clearly differentiates it from sibling tools like website.edit and website.save_draft.

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 explains when to use this tool (to manage images without touching HTML) and provides clear context about path reuse, image allowance, and source requirements. It doesn't explicitly name alternatives or say 'use X instead', but the context is strong enough for an agent to select it appropriately among 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