Skip to main content
Glama

Change publication settings

publication_settings
Destructive

Change an owned publication's title, tags, password, listing, badge, comments, link, hosting, storage, or code settings; apply disruptive address-changing actions alone and confirm them first.

Instructions

Change listing, badge, title, tags, password, storage, hosting, link name, comments, Page data or server code switches on an owned publication. Use a disruptive action alone. Ask before make_private or make_public: the current address stops working (after make_public it leads to the new one for 30 days). A secret ({"kind":"secret","id":} or its manage link) takes title, note and tags only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "publication_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID from the publication receipt, or a secret's 10-character ref
kindNoPublication kind, or secret: then only title, note and tags
noteNoSecrets only. Your own note; "" clears it
tagsNoYour private tags, replacing the set; [] clears. Up to 10, 1-32 characters, no commas, saved lowercase. Needs a profile publication
stateNo{} enables Page data, named rules merge, null disables and keeps entries
titleNoOne-line title; empty restores the content title
actionNoUse alone. make_private and make_public move it to a new address; make_private and rotate_link end the old address and any link name for good; make_private detaches a custom domain
extendNoSet true to extend storage to the profile limit
lambdaNoServer code switches of a page or site: enabled (false: the code does not run; saves follow the page's list rules), accountRead ("Reads your other pages", only from the profile that published the code); null reports them
listedNoList or unlist an eligible public publication
commentsNoWho may comment on a page, site, file or JSON: off, signed_in (people signed in to BrewPage) or everyone (with a human check); null reports it. People comment in the browser. Only the owning account changes it (connected account or a token held by the profile); a management link only reports it. Outside a profile it is fixed: public everyone, private off
linkNameNoReadable name for the public link of a page, site or file: 6-20 of a-z, 0-9 and hyphens, with a letter; null removes it. Needs a profile token, or an owner token added to a free BrewPage profile
passwordNoReader password; null removes it
manageUrlNoPrivate link as target and proof.
namespaceNoNamespace from the publication receipt
ownerTokenNoPrivate owner proof.
badgeHiddenNoHide or show the BrewPage badge
deliveryModeNo
expectedVersionNoHosting version, with deliveryMode only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.5.1
    • addedInput schema / properties / lambda
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "accountRead": {
      +          "type": "boolean"
      +        },
      +        "enabled": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Server code switches of a page or site: enabled (false: the code does not run; saves follow the page's list rules), accountRead (\"Reads your other pages\", only from the profile that published the code); null reports them"
      +}
  2. Changed1 schema field changedv3.4.0
    • addedInput schema / properties / comments
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "off",
      +        "signed_in",
      +        "everyone"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Who may comment on a page, site, file or JSON: off, signed_in (people signed in to BrewPage) or everyone (with a human check); null reports it. People comment in the browser. Only the owning account changes it (connected account or a token held by the profile); a management link only reports it. Outside a profile it is fixed: public everyone, private off"
      +}
  3. Changed5 schema fields changedv3.3.1
    • changedInput schema / properties / id / description
      Previous value: -"ID from the publication receipt"New value: +"ID from the publication receipt, or a secret's 10-character ref"
    • addedInput schema / properties / kind / description
      Added value: +"Publication kind, or secret: then only title, note and tags"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "html",
      -  "site",
      -  "file",
      -  "json",
      -  "kv"
      -]New value: +[
      +  "html",
      +  "site",
      +  "file",
      +  "json",
      +  "kv",
      +  "secret"
      +]
    • addedInput schema / properties / note
      Added value: +{
      +  "description": "Secrets only. Your own note; \"\" clears it",
      +  "type": "string"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "Your private tags, replacing the set; [] clears. Up to 10, 1-32 characters, no commas, saved lowercase. Needs a profile publication",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Changed3 schema fields changedv3.1.2
    • changedInput schema / properties / action / description
      Previous value: -"Use alone. Making private is one-way, replaces the public address and detaches its custom domain"New value: +"Use alone. make_private and make_public move it to a new address; make_private and rotate_link end the old address and any link name for good; make_private detaches a custom domain"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "make_private",
      -  "rotate_link",
      -  "reset_manage_link",
      -  "revoke_reader_access"
      -]New value: +[
      +  "make_private",
      +  "make_public",
      +  "rotate_link",
      +  "reset_manage_link",
      +  "revoke_reader_access"
      +]
    • addedInput schema / properties / linkName
      Added value: +{
      +  "description": "Readable name for the public link of a page, site or file: 6-20 of a-z, 0-9 and hyphens, with a letter; null removes it. Needs a profile token, or an owner token added to a free BrewPage profile",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  5. Addedv3.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the destructive/openWorld annotations: it explains that make_private and make_public move the publication to a new address, that the old address dies (with a 30-day redirect after make_public), and that make_private detaches a custom domain. It also flags the secret narrowing and that a management link can only report comments, not change them.

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?

Three front-loaded sentences with no filler, and the riskiest warning (ask before make_private/make_public) is emphasized early. The opening field enumeration is somewhat long and duplicates what the schema already lists, but it is not wasteful enough to harm scanability.

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 19-parameter, destructive, open-world mutation with no output schema, the description supplies the critical behavioral facts: action exclusivity, address loss, confirmation requirements, and secret handling. It leaves related switches such as expectedVersion/deliveryMode and any confirmation of return shape unexplained, which keeps it short of complete.

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 95%, so the schema already documents nearly every parameter including enums and the secret restriction. The description adds only the secret-subschema constraint, which largely restates the kind field's own description, so it contributes marginal meaning beyond structured data.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb plus resource ('Change ... switches on an owned publication') and enumerates the setting families it covers, so the agent knows this is the settings-mutation tool. It does not distinguish itself from sibling update_publication, leaving ambiguity about which mutation tool to pick.

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 explicit operational guidance: use a disruptive action alone, and ask the user before make_private or make_public because the address changes. It stops short of stating when to prefer this over update_publication or publish, so sibling routing is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.