Skip to main content
Glama

Arrange the workspace home page

set_home

Turn the workspace home page https://.24hw.cn/ into one link that holds everything (for a social-media bio, a WeChat signature or a business-card QR code): 1–3 pinned large cards, section headings, external link cards (website, shop, social accounts…) and contact buttons (add-on-WeChat QR code, phone, email, or one item). Call with no arguments to read the current state (layout, links, contact buttons, clicks in the last 7 days). Items are refs: p:, f:, l: (add links first with links_add; with section they go straight into that section).

  • layout replaces the whole layout {pinned, sections:[{title, items}], rest:"auto"|"none", hidden}; null restores the automatic layout. Or pass only sections / rest, or use pin / unpin / hide / show.

  • rest=auto: public pages not placed anywhere follow, newest first; none: only pinned and sectioned items show.

  • hide: do not list a page / folder on the home page without changing its own visibility (its link still works); show undoes it. ★ The home page is a showcase, not a key: it only shows content that is itself public or passcode-protected; private items placed in the layout stay invisible to readers (the result names them). The home page is members-only by default; to share it, ask the user and then use set_visibility(home: true). ★ External links accept https / tel / mailto only; readers first see a “leaving LivePage” page, which also counts the click. ★ Free: pinning, sections, external links, contact buttons. Premium (workspace owner): theme colour and banner image. Editors and owners can call it.

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_home"
  }
}

Input Schema

NameRequiredDescriptionDefault
bioNo头像下的简介,≤80 字,最多 3 行;null = 去掉
pinNo置顶(最多 3 项,只能是页面或合集)
hideNo在主页上隐藏(不改它自己的可见性)
restNo
showNo取消隐藏
themeNo配色(高级);null = 品牌色
unpinNo
layoutNo整份版式(替换);null = 回到自动排法
contactNo
sectionsNo只换分组(标题 ≤16 字,每组 ≤50 项)
links_addNo
links_removeNo要删的外链 id(或 l:<id>)
banner_base64No横幅图(高级,PNG / JPEG 的 base64);空串 = 去掉

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations: layout replaces wholesale with null restoring automatic layout, hide keeps the item's own visibility intact, private items in the layout stay invisible and are named in the result, external links trigger a 'leaving LivePage' interstitial that also records clicks, and the home page defaults to members-only. Loses a point only because atomicity/partial-failure behavior for multi-field updates is not stated.

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?

Front-loaded purpose sentence followed by clearly grouped bullets, and the two ★ warnings are well placed. Dense and occasionally awkward in phrasing, but no bullet is filler.

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 13-parameter mutation tool with no output schema, it covers the return of a no-arg call (layout, links, contact buttons, 7-day clicks) and the key failure narrative (private items silently hidden, named in the result). Some secondary fields and error/permission failure modes remain unaddressed.

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?

Adds real meaning over the 69%-covered schema: the p:/f:/l: ref encoding, the difference between the top-level sections/pin/hide aliases and the full layout object, the rest=auto vs none behaviour, and that section on links_add creates the section if missing. bio, theme, unpin and banner_base64 are left to the schema, which covers them.

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 concrete verb and resource ('Turn the workspace home page ... into one link') and enumerates the configurable surface (pinned cards, sections, external links, contact buttons), which unambiguously separates it from siblings like set_visibility and links_add. An agent knows exactly what object is being shaped.

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?

Explicitly says to call with no arguments to read current state, tells the agent to add links first with links_add (or pass section inline), and routes the sharing case to set_visibility(home: true) after asking the user. Also names prerequisites (editors/owners only) and free vs premium gating.

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