Skip to main content
Glama

Geprüfte Bildmaße veröffentlichen

publish_website_image_dimensions
Idempotent

Only after the user explicitly requested image-dimension publication: stage and atomically activate the exact reviewed prepared snapshot through the existing Sites replacement workflow. Requires current Owner and sites:media:publish plus sites:read and sites:media:write. Copy snapshot/hash, active predecessor/hash and plan digest from preparation. Original bytes, current source, policy-state concurrency, live OAuth and Owner authority are checked again. Only geometry changes; content, pricing, rights, domains, route paths and other draft work stay preserved. On ambiguity read get_website_image_publication for the same snapshot before any retry; no new request identity or blind replay. Already active snapshots return read-only status. Verify actual public HTML and published acceptance afterwards. POST /api/v1/tenant/write/publish_website_image_dimensions.

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>",
      "snapshotId": "<snapshotId>",
      "expectedContractSha256": "<expectedContractSha256>",
      "expectedActiveSnapshotId": "<expectedActiveSnapshotId>",
      "expectedActiveContractSha256": "<expectedActiveContractSha256>",
      "expectedPlanSha256": "<expectedPlanSha256>"
    },
    "name": "publish_website_image_dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
websiteYes
snapshotIdYes
expectedPlanSha256Yes
expectedContractSha256Yes
expectedActiveSnapshotIdYes
expectedActiveContractSha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses required Owner authority and scopes, revalidation of bytes, source, concurrency, OAuth and Owner authority, atomic activation, preservation of content and other draft work, read-only behavior for already active snapshots, and post-publication verification. This is unusually rich behavioral context for a high-stakes mutation.

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 front-loaded, beginning with the strict usage precondition before operational details. Every sentence carries relevant information, though the single-paragraph packing of auth, concurrency, preservation, retry and verification makes it somewhat heavy to parse.

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

Completeness5/5

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

For a six-parameter, high-stakes mutation with no output schema, it covers prerequisites, authorization, atomicity, preservation guarantees, ambiguity handling, idempotent behavior and post-call verification. An agent has enough context to call it correctly and safely.

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?

With zero schema description coverage, the description compensates by explaining that the snapshot and hashes, active predecessor and hash, and plan digest come from preparation. It does not fully explain the nested website object or map every expected hash parameter individually, so it is strong but not complete.

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 and resource: stage and atomically activate the exact reviewed prepared snapshot through the Sites replacement workflow. It clearly distinguishes this publication step from preparation and application siblings by emphasizing activation of an already-prepared snapshot.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit precondition: only after the user explicitly requested image-dimension publication. It also names the alternative get_website_image_publication for ambiguous outcomes and warns against blind replay, which is strong when-to-use and when-not-to-use guidance.

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