Skip to main content
Glama

xhs_open_home

Read-only

Opens the selected RedNote or Xiaohongshu homepage in a new Chromium tab while preserving existing tabs for manual browsing.

Instructions

在现有 Chromium 打开指定站点首页并保留新标签页供用户使用;不会关闭已有标签页。

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

Input Schema

NameRequiredDescriptionDefault
siteNo站点:rednote 海外版、xiaohongshu 国内版;auto 优先已登录的海外版,也可通过 XHS_MCP_SITE 固定默认站点。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is largely covered. The description does add genuinely new behavioral facts beyond that: the new tab is kept open for the user and no existing tabs are closed. What remains unstated is failure behavior, such as what happens if the site is not logged in or the browser is not running.

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?

A single compact sentence with zero filler, and the scope (existing Chromium) is front-loaded ahead of the side-effect guarantee. The semicolon-separated clause states the non-destructive guarantee crisply.

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 one-optional-parameter tool with full annotation coverage and no output schema, the description covers what the tool does, where it acts, and its tab side effects. Only edge-case behavior such as missing browser or unauthenticated sessions is left uncovered.

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 description coverage is 100% and the single enum parameter already documents rednote versus xiaohongshu and the auto default with XHS_MCP_SITE override. The description adds nothing about the site parameter beyond "指定站点", so baseline 3 applies.

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 concrete verb plus target ("打开指定站点首页" in the existing Chromium) and names the container context and tab-retention behavior, so an agent can distinguish this from content-reading siblings like xhs_home_feed. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "保留新标签页供用户使用" implies the use case is handing a live browser tab to the user, which is useful implied guidance. However, there is no explicit when-to-use versus when-not-to-use, and nothing tells the agent whether to prefer xhs_home_feed or xhs_session_status for related tasks.

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