Skip to main content
Glama

Set visibility

set_visibility
Idempotent

Use when the user says only certain people should see it, make it private, or open it to anyone with the link. Sets a site's visibility. public lets anyone with the link view; allowlist restricts to verified people on the allowlist, on every plan. A website is always public, so this is refused on one: take a website down with set_link_status instead. Email entries work on every plan (a Free page can name up to 3 people, Pro has no limit); domain entries need Pro.

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": {
      "site_id": "<site_id>",
      "visibility": "<visibility>"
    },
    "name": "set_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe id of the site to update
visibilityYes`public` or `allowlist`
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare it is not read-only, is idempotent and non-destructive, so the bar is lower; the description still adds real behavior: refusal on websites and plan-gated allowlist semantics (email entries work everywhere, a Free page caps at 3 people, domain entries need Pro). It does not say what happens to existing allowlist entries when switching back to public, which is the main remaining gap.

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?

Front-loaded with the user-facing trigger phrases, then mode semantics, then the website exception and plan constraints — a sensible ordering with no filler sentences. The plan-detail clause is parenthetical-heavy but each fact is decision-relevant.

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 three-parameter mutation with no output schema, the description covers trigger conditions, mode semantics, a hard refusal case, and plan gating — enough to call it correctly and to predict failure modes. It stops short of describing what happens to prior allowlist entries when reverting to public or the exact error surface.

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 100%, so the schema baseline is 3; the description adds meaning beyond it by explaining that `allowlist` means verified people on the allowlist and that email versus domain entries carry different plan requirements. It adds no extra detail on site_id or workspace_id beyond the schema.

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 and resource ('Sets a site's visibility') and enumerates the two modes with their meaning. It also names the sibling tool set_link_status as the correct path for websites, so an agent can distinguish it from alternatives 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 Guidelines5/5

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

Opens with concrete user intents ('only certain people should see it, make it private, or open it to anyone with the link') that map directly to invocation triggers. It also states an explicit when-not case — websites are always public and this tool is refused — and points to set_link_status instead.

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.