Skip to main content
Glama

Set site slug

set_site_slug
Idempotent

Change a site's slug, the last segment of its address on the workspace host and, for a landing page, of its snaphost.ai/lp address. The share permalink (nanoId) keeps working; the old slug address and any campaign link to it stop. Normalised to lowercase letters, digits and hyphens; refused when another site on the same drive holds it. Needs a workspace on Pro, which publishes on its own host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe new slug
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.7/5.0
Behavior5/5

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

The description discloses several behaviors beyond annotations: the share permalink continues to work, old slug address and campaign links break, slug normalization rules, uniqueness constraint, and the Pro workspace requirement. This is rich behavioral context that goes beyond the provided annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (three sentences) and front-loaded with the main action. Each sentence provides unique information without filler, making it efficient for an agent to parse.

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?

The description covers the purpose, effects, constraints, and prerequisites. With no output schema, return values are not expected. The description is complete enough for an agent to invoke the tool correctly without additional context.

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?

The schema already describes each parameter (100% coverage), but the description adds meaning to the slug parameter by explaining normalization and uniqueness, and to workspace_id by mentioning the Pro requirement. This adds value 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?

The description clearly states the action ('Change a site's slug') and defines the slug's role in the URL, distinguishing it from sibling tools like rename_site and set_folder_slug. It is specific about what the tool does and what the slug is.

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 provides context on when to use it (changing a slug) and explains the effects (old URLs stop, permalink continues). It also mentions a prerequisite (Pro workspace). It does not explicitly name alternatives, but the context is sufficient for an agent to understand when to apply this tool.

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.