Skip to main content
Glama

Bildmaß-Veröffentlichung vorbereiten

prepare_website_image_publication
Idempotent

Freeze the exact reviewed image-only plan through the existing Sites snapshot workflow. Requires current Owner and separately consented sites:media:publish plus sites:read and sites:media:write. Supply unchanged media revisions and planSha256 from get_website_image_publication. Original bytes are measured again. Creates an immutable review snapshot; does not activate, publish other draft changes, change domains or widen routing. POST /api/v1/tenant/write/prepare_website_image_publication.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "website": "<website>",
      "expectedMediaRevision": "<expectedMediaRevision>",
      "expectedDraftMediaRevision": "<expectedDraftMediaRevision>",
      "expectedPlanSha256": "<expectedPlanSha256>"
    },
    "name": "prepare_website_image_publication"
  }
}

Input Schema

NameRequiredDescriptionDefault
websiteYes
expectedPlanSha256Yes
expectedMediaRevisionYes
expectedDraftMediaRevisionYes

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?

Annotations already declare the write/idempotent/non-destructive profile, and the description adds context the annotations cannot: the required Owner role and consented scopes, the fact that original bytes are re-measured, and that the output is an immutable snapshot rather than a live change. It does not say what the caller receives back or what happens to a previously prepared snapshot, which keeps it short of a 5.

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?

Roughly five sentences, front-loaded with the action and side effect, then prerequisites, then explicit non-effects. Nearly every clause carries operational weight; the trailing raw endpoint path contributes little to tool selection but is harmless.

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 a complex optimistic-concurrency mutation with four required parameters, a nested object and no output schema, the description covers authorization, input provenance, re-validation, and the boundary of the side effect. The notable remaining gap is the return value (no output schema exists, so the snapshot identifier or receipt is undocumented).

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 description coverage is 0%, so the description must carry parameter meaning, and it only partially does: it identifies planSha256 and the media revisions as values to copy unchanged from get_website_image_publication. It never explains why expectedMediaRevision and expectedDraftMediaRevision are two separate hashes, nor does it describe the nested website object's state/surfaceKey/host fields beyond what their const/pattern constraints imply.

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 gives a specific verb and resource ('Freeze the exact reviewed image-only plan') and scopes it precisely as creating an immutable review snapshot through the existing Sites snapshot workflow. It explicitly separates itself from activation/publishing siblings by stating what it does NOT do ('does not activate, publish other draft changes, change domains or widen routing'), so an agent can distinguish it from publish_website_image_dimensions and apply_website_image_dimensions 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?

It states a clear precondition chain: current Owner plus separately consented sites:media:publish, sites:read, sites:media:write, and it routes the agent to get_website_image_publication as the source of the required hashes ('Supply unchanged media revisions and planSha256 from get_website_image_publication'). The 'does not activate/publish' clause implies the publish siblings are the correct tool for activation, though no alternative is named explicitly.

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