Skip to main content
Glama

Who can open a site

get_site_protection
Read-only

Who can open one site, in plain words: its previews (only people in the workspace after they sign in, or anyone with a preview's address), each part of its live site with its address (anyone, or only people in the workspace after they sign in), whether each can be switched, whether it has a pass for automated tools, and the settings page where the person sees it all. Changing it is set_site_protection; the pass is create_automation_pass, show_automation_pass and remove_automation_pass.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_site_protection"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe site (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

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 readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the shape of the answer (per-preview and per-live-part visibility modes, whether they are switchable, presence of an automation pass, and the settings page location), which an agent needs to interpret the result.

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 core capability is front-loaded in the first clause, and every element listed maps to a real part of the returned configuration. It is a single dense sentence with nested parentheticals that take a second pass to parse, which costs a little readability but not substance.

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?

With no output schema, the description must convey what comes back, and it does so item by item, so an agent knows what to expect. It stops short of noting access requirements or failure cases (e.g., when the caller cannot see the site), but nothing essential for calling it correctly is missing.

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%, including the hint that list_projects supplies project_id and whoami supplies workspace_id, so the schema already carries parameter meaning. The description only implies single-site scope and adds no syntax or format detail beyond that, making the baseline 3 appropriate.

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?

Names the exact resource (one site's access/protection settings) and enumerates what it covers: preview visibility, live-site part visibility, switchability, automation pass, and the settings page. It also explicitly contrasts itself with set_site_protection, so an agent can distinguish read from write without opening either 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?

Routing is clear through named alternatives: 'Changing it is set_site_protection' and the three automation-pass tools are called out, which tells the agent when to pick a different tool. There is no explicit 'use this when...' clause and no stated prerequisites, but the read-vs-modify split is unambiguous.

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