Skip to main content
Glama

Web sitemin görünürlüğünü değiştir

set_website_visibility
DestructiveIdempotent

Publish a website or take it offline. Both changes require conversation confirmation. Operations: set. Returns the response envelope; nextActions list what the user can do next, primary first. Use confirm: false for a preview, then repeat identical inputs with confirm: true and the preview confirmationToken after the user confirms.

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": {
      "operation": "<operation>",
      "confirm": "<confirm>"
    },
    "name": "set_website_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesSet to true only after the user has explicitly confirmed this action in the conversation. Describe what will change to the user first.
operationYesChoose the task. Each operation accepts only its own fields.
visibilityNoThe visibility supplied by the user. Follow the type and allowed values in this schema.
confirmationTokenNoToken returned by the preview. Send it unchanged with confirm: true; it is valid for 15 minutes and only for the previewed inputs.
personalWebsiteIdNoOptional when exactly one candidate item exists: omit its ID to use that item. Ask which saved item to use only when several exist.

Output Schema

NameRequiredDescriptionDefault
dataNo
pageNo
errorNo
linksNo
statusYes
noticesNo
pollingNo
summaryYes
agentHintNo
nextActionsYes
appliedDefaultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "operation": {
      -          "enum": [
      -            "set"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "operation"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "confirm"
      -      ]
      -    }
      -  }
      -]
    • addedInput schema / properties / confirmationToken
      Added value: +{
      +  "description": "Token returned by the preview. Send it unchanged with confirm: true; it is valid for 15 minutes and only for the previewed inputs.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=true, so the description's main added value is the two-step preview/confirm protocol, which is genuinely useful behavioral context. It doesn't say what happens if the token expires during the call, or whether a preview consumes rate limit, leaving some mutation behavior undisclosed beyond what the annotations imply.

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 front-loaded with the effect, then the confirmation requirement, then the protocol, which is a sensible order and has no filler. "Operations: set" restates the single-value enum and takes up space, so a small trim was possible.

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 destructive, open-world mutation with an output schema, this description covers the critical pieces: what changes, that confirmation is mandatory, and how preview-then-confirm works. It stops short of the visibility toggle's direction (publish vs. offline mapping to the enum), which would have made it fully self-sufficient on the call itself.

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 100%, so all five parameters are already documented in the schema, and the description adds the key interaction semantics: confirm:false returns a preview and confirm:true requires the same inputs plus the token. It never mentions the visibility enum (PUBLIC/PRIVATE) or when personalWebsiteId may be omitted, so it adds little beyond the schema for those fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition opens with a specific verb and resource: "Publish a website or take it offline", which makes the tool's effect concrete and immediately distinguishable from read-only siblings such as check_website_domain. It never names an alternative tool, so the agent must infer the boundary with manage_website_domain and update_item on its own.

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 gives clear context for the two-phase use: first preview with confirm:false, then resend identical inputs with confirm:true and the token after the user confirms. It doesn't state exclusions, e.g. when to pick this tool over manage_website_domain, so an explicit alternative would have pushed it higher.

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