Skip to main content
Glama

Set link status

set_link_status
Idempotent

Use when the user wants to take it down, unpublish it, pause the link, or bring it back. Takes a site offline or brings it back. enabled: false unpublishes it (the link returns "not available" for everyone, a landing page's /lp address answers 404 inside the marketing chrome, and any custom domains are suspended) without deleting it; enabled: true republishes it. This is the single way to take a site offline; there is no separate unpublish tool. A website is public or offline, so this is the way to take one down at its domain; to hide it from search only, use set_search_listing. A website: Bringing it back online is limited to 10 times an hour; taking it offline never is.

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>",
      "enabled": "<enabled>"
    },
    "name": "set_link_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue makes the site live; false takes it offline
site_idYesThe id of the site
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.8/5.0
Behavior5/5

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

Beyond the annotations (which only say non-read-only, idempotent, non-destructive), the description discloses exactly what 'enabled: false' produces: the link answers 'not available', a landing page's /lp address 404s inside marketing chrome, and custom domains are suspended — without deleting the site. It also discloses a rate limit of 10 republish operations per hour and that taking a site offline is not rate limited.

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 trigger phrases and the alternative-tool routing are front-loaded, and the rate limit is saved for last. There is some redundancy — 'A website is public or offline, so this is the way to take one down at its domain' restates the earlier 'single way to take a site offline' claim — and the parenthetical about /lp addresses is dense.

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 three-parameter, annotation-covered mutation tool with no output schema and fully documented parameters, the description supplies everything needed: triggers, alternatives, side effects, reversibility, and rate limits. The workspace_id parameter is fully explained in the schema, so the description need not repeat it.

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 baseline is 3, but the description adds real meaning beyond the schema's 'true makes the site live; false takes it offline' by spelling out the concrete consequences of the false state (404s, suspended custom domains) and by framing the operation as reversible rather than destructive.

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 names a specific verb and resource — taking a site offline or bringing it back online — and explicitly states 'This is the single way to take a site offline; there is no separate unpublish tool.' It also distinguishes itself from set_search_listing by describing that tool as the hide-from-search-only path.

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 opens with concrete trigger phrasings ('take it down, unpublish it, pause the link, or bring it back') and names the alternative: 'to hide it from search only, use set_search_listing.' Both when-to-use and when-to-use-something-else are covered.

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.