Skip to main content
Glama

Set visibility

set_visibility
Idempotent

Flip a spawnpoint project between restricted (the default: only the owner and emails they share with can open the link, verified by a one-time code) and public (anyone with the link). Takes effect immediately at the share URL; the machine is reconfigured in the background within seconds (a sleeping project is woken for it, and a deploy in progress takes the change when it finishes). Setting the current value changes nothing. The share URL stays the same either way. The gate covers the app, not a public bucket (add_storage): a restricted project with a public bucket gets a warning to relay. Restricting keeps any paths listed with set_public_paths open to anyone, and the answer names them.

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

Input Schema

NameRequiredDescriptionDefault
project_idYesthe id of the project
visibilityYespublic (anyone with the link) or restricted (only the owner and shared emails)

Output Schema

NameRequiredDescriptionDefault
noteNo
warningNo
share_urlNo
project_idYes
visibilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: immediate effect at the share URL, background reconfiguration within seconds, waking a sleeping project, deferral during an in-progress deploy, unchanged share URL, and a warning to relay when a restricted project has a public bucket. Annotations only supply idempotent/non-destructive hints, so this added operational detail is substantial.

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 action and the two states are front-loaded in the first clause, and every sentence carries real information. It is dense, with several nested parentheticals about waking, deploys, and public buckets, which slightly slows scanning but does not waste words.

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?

Covers the state transition, timing, side effects, edge cases (sleeping project, in-flight deploy, public bucket warning, retained public paths), and side effects on shared paths. With an output schema present and annotations covering the safety profile, nothing an agent needs in order to call 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 coverage is 100% and the schema already defines both 'public' and 'restricted' with the same essence. The description adds only marginal meaning for the visibility value ('verified by a one-time code') and says nothing about project_id, so baseline 3 is 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?

States a specific verb and resource ('Flip a spawnpoint project between restricted ... and public') and defines both states inline. It also implicitly differentiates itself from the storage sibling by noting 'The gate covers the app, not a public bucket (add_storage)', so an agent can tell it apart from set_storage_visibility.

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?

Gives clear context for when this applies and notes that 'Setting the current value changes nothing', steering the agent away from redundant calls. It also clarifies the interaction with set_public_paths and add_storage. It stops short of an explicit 'use X instead when...' routing statement, so a 4 rather than a 5.

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.