Skip to main content
Glama

Reader-side settings (premium: hide the LivePage bar)

set_reader_view
Idempotent

[Premium feature — the workspace owner must have a premium account] Hide the LivePage bar across the top of reader pages (capsule:"hide"; the parameter keeps its old name), or show it again ("show"). With it hidden readers see only your content.

  • Omit proposal_id for the workspace default (owner only); pass it for one page, effective immediately with no new version; capsule:null on a page clears its setting so it follows the workspace.

  • Precedence: this page’s setting > this version’s manifest (chrome.default:"hidden") > workspace default > shown.

  • With it hidden, readers do not see the bar’s comments / forward / follow entries or “published with LivePage”; with comments on, a comments button shows at the bottom right; buttons in the page body marked data-space="subscribe" (follow) or data-space="form" (fill in) still work.

  • On a free account hide is refused (pro_required) and nothing changes; show is always allowed.

  • Page style page_style (per page, needs proposal_id): "livepage" = LivePage style (default; comments, subscribe, share and reading stats: reports, dailies, proposals, sign-up pages) · "website" = Website style (Pro; opens full-screen like your own website, no LivePage badge: product or brand sites, mini games, tools, landing pages) · null clears it and follows what this version was published with. Immediate, no new version; a free account can set website too, readers keep seeing LivePage style and it switches automatically once the owner upgrades to Pro.

  • Owner bar owner_bar (per page, needs proposal_id): the bar at the top when a workspace member opens this page themselves (who can view, copy link, history); readers never see it. "hide" = hidden by default (see the page as readers do) · "show" = shown (default) · null clears it and follows this version’s manifest (chrome.owner_bar: "hidden" / "shown"). Immediate, no new version; free accounts can set it too.

  • Follow, position, style, colour and brand are fixed: passing those keys is not an error and has no effect. Without capsule it only returns the explanation. To control who can view, use set_visibility.

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": "set_reader_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
capsuleNohide = hide the LivePage bar (premium) · show = show it · null = clear this page’s setting and follow the workspace
commentsNoComments: off, member (workspace members only), public (WeChat identity, reviewed before publication), or null to clear and follow the default. With proposal_id it applies to that page immediately; without it, it sets the workspace default (owner only; off / public / null).
owner_barNoOwner bar: hide = hidden by default when members open this page · show = shown · null = follow this version's manifest; immediate, no new version; needs proposal_id
page_styleNoPage style: livepage = LivePage style · website = Website style (Pro) · null = follow what this version was published with; immediate, no new version; needs proposal_id
proposal_idNoWhich page; omit for the workspace default
identity_gateNo读者用微信身份查看(四档,不改页面、不发新版本):guest 游客模式(推荐)· optional 可选 · required 强制(专业版)· off 关;表单与报名自动带读者昵称头像(可选档:授权了才带)。游客 / 可选所有套餐都能开,访问记录里看到是谁是专业版。要传 proposal_id
reader_subscribeNoThe “Subscribe” bar at the end of this page: true shows it (default) · false turns it off. Only readers of passcode / public pages see it; free accounts can set it; requires proposal_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / capsule / description
      Previous value: -"hide = hide the reader capsule (premium) · show = show it · null = clear this page’s setting and follow the workspace"New value: +"hide = hide the LivePage bar (premium) · show = show it · null = clear this page’s setting and follow the workspace"
  2. Changed4 schema fields changed
    • addedInput schema / properties / comments / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "off",
      +      "member",
      +      "public"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / comments / description
      Previous value: -"Comments: off (default), member (workspace members only), public (WeChat identity, reviewed before publication). Effective immediately; requires proposal_id."New value: +"Comments: off, member (workspace members only), public (WeChat identity, reviewed before publication), or null to clear and follow the default. With proposal_id it applies to that page immediately; without it, it sets the workspace default (owner only; off / public / null)."
    • removedInput schema / properties / comments / enum
      Removed value: -[
      -  "off",
      -  "member",
      -  "public"
      -]
    • removedInput schema / properties / comments / type
      Removed value: -"string"
  3. Changed4 schema fields changed
    • changedInput schema / properties / identity_gate / description
      Previous value: -"读者用微信身份查看:on:true 后读者先看第一屏,往下看时请他用微信授权昵称和头像、授权后看全文(游客模式,不改页面、不发新版本);表单与报名自动带读者昵称头像。所有套餐都能开,访问记录里看到是谁是专业版。要传 proposal_id"New value: +"读者用微信身份查看(四档,不改页面、不发新版本):guest 游客模式(推荐)· optional 可选 · required 强制(专业版)· off 关;表单与报名自动带读者昵称头像(可选档:授权了才带)。游客 / 可选所有套餐都能开,访问记录里看到是谁是专业版。要传 proposal_id"
    • addedInput schema / properties / identity_gate / properties / mode
      Added value: +{
      +  "description": "档位:required 强制(打开就要授权,不授权看不到正文;专业版;微信把强制登录列为不规范,有被判风险,只给特定的人看更建议口令 / 私密)· guest 游客模式(推荐:先看第一屏,往下看再授权)· optional 可选(全文都能看,底部一条邀请,读者自愿授权)· off 关",
      +  "enum": [
      +    "required",
      +    "guest",
      +    "optional",
      +    "off"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / identity_gate / properties / on / description
      Added value: +"旧写法:true = 打开(没开过时为游客模式),false = 关;给了 mode 时以 mode 为准"
    • removedInput schema / properties / identity_gate / required
      Removed value: -[
      -  "on"
      -]
  4. Changed1 schema field changed
    • addedInput schema / properties / comments
      Added value: +{
      +  "description": "Comments: off (default), member (workspace members only), public (WeChat identity, reviewed before publication). Effective immediately; requires proposal_id.",
      +  "enum": [
      +    "off",
      +    "member",
      +    "public"
      +  ],
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / identity_gate
      Added value: +{
      +  "description": "读者用微信身份查看:on:true 后读者先看第一屏,往下看时请他用微信授权昵称和头像、授权后看全文(游客模式,不改页面、不发新版本);表单与报名自动带读者昵称头像。所有套餐都能开,访问记录里看到是谁是专业版。要传 proposal_id",
      +  "properties": {
      +    "note": {
      +      "anyOf": [
      +        {
      +          "maxLength": 40,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "给读者看的一句说明(≤40 字,显示在授权说明里,过内容审核);不传 = 保持原样,null = 清掉"
      +    },
      +    "on": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "on"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / owner_bar
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "show",
      +        "hide"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Owner bar: hide = hidden by default when members open this page · show = shown · null = follow this version's manifest; immediate, no new version; needs proposal_id"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / page_style
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "livepage",
      +        "website"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Page style: livepage = LivePage style · website = Website style (Pro) · null = follow what this version was published with; immediate, no new version; needs proposal_id"
      +}
  8. Changed1 schema field changed
    • addedInput schema / properties / reader_subscribe
      Added value: +{
      +  "description": "The “Subscribe” bar at the end of this page: true shows it (default) · false turns it off. Only readers of passcode / public pages see it; free accounts can set it; requires proposal_id",
      +  "type": "boolean"
      +}
  9. Changed3 schema fields changed
    • addedInput schema / properties / capsule
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "show",
      +        "hide"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "hide = hide the reader capsule (premium) · show = show it · null = clear this page’s setting and follow the workspace"
      +}
    • addedInput schema / properties / proposal_id / description
      Added value: +"Which page; omit for the workspace default"
    • removedInput schema / required
      Removed value: -[
      -  "proposal_id"
      -]
  10. Changed6 schema fields changed
    • removedInput schema / properties / accent
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "pattern": "^#[0-9a-fA-F]{6}$",
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedInput schema / properties / brand
      Removed value: -{
      -  "description": "Fixed platform item: passing it changes nothing and only returns an explanation"
      -}
    • removedInput schema / properties / position
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "br",
      -        "bl",
      -        "tr",
      -        "tl"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedInput schema / properties / remix
      Removed value: -{
      -  "description": "Fixed platform item: passing it changes nothing and only returns an explanation"
      -}
    • removedInput schema / properties / style
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "pill",
      -        "round"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedInput schema / properties / subscribe
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
  11. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false); the description goes well beyond that with the premium prerequisite, the pro_required refusal path, the 'immediate, no new version' effect, and the precedence chain page > manifest > workspace default > shown. It also discloses reader-visible side effects (lost comments/forward/follow entries, bottom-right comments button) and that fixed keys like colour and brand are silently ignored. 'Without capsule it only returns the explanation' is a genuinely useful return-behavior note.

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

Conciseness3/5

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

The purpose is front-loaded and the bullet structure is scannable, but the block is long and repeats 'Immediate, no new version' three times. Several bullets pack two or three parameters into one dense sentence, which makes skimming harder than the content warrants.

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 seven-parameter mutating tool with a nested object and no output schema, the description covers the expensive things an agent cannot learn elsewhere: premium gating, refusal semantics, precedence, and immediate no-new-version application. The omission of identity_gate and reader_subscribe is partly offset by their full schema descriptions, but a one-line pointer to them would close the gap.

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 schema already defines each parameter; the description still adds meaning the schema lacks, notably the precedence ordering and the capsule:null behavior of falling back to the workspace versus the manifest fallback for owner_bar/page_style. It does not mention identity_gate or reader_subscribe at all, leaving those entirely to the schema.

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?

The opening states a concrete verb and resource ('Hide the LivePage bar ... or show it again') and the bullets extend it to page_style, owner_bar and comment behavior. It separates itself from access control by ending with 'To control who can view, use set_visibility.' The headline is narrower than the seven-parameter surface, so an agent must read the whole bullet list to learn the true scope.

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?

Explicit routing rules are given: omit proposal_id for the workspace default (owner only), pass it for a single page effective immediately, and use set_visibility for access control. Premium gating and the free-account fallback ('hide is refused (pro_required) and nothing changes; show is always allowed') tell the agent when the call will fail. No guidance on when to prefer this over the sibling read tool get_reader_view, hence not 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.

Resources