# Send glm-web-search to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "glm-web-search",
    "name": "glm-web-search",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Thincher/glm-web-search",
    "canonicalUrl": "https://clawhub.ai/Thincher/glm-web-search",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/glm-web-search",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=glm-web-search",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "_meta.json",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/glm-web-search"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/glm-web-search",
    "downloadUrl": "https://openagent3.xyz/downloads/glm-web-search",
    "agentUrl": "https://openagent3.xyz/skills/glm-web-search/agent",
    "manifestUrl": "https://openagent3.xyz/skills/glm-web-search/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/glm-web-search/agent.md"
  }
}
```
## Documentation

### glm-web-search

使用 GLM 联网搜索 MCP 服务器进行网络搜索。

### 步骤 1: 检查并安装依赖

1.1 检查 mcporter 是否可用

npx -y mcporter --version

如果命令返回成功，说明 mcporter 可用，跳到步骤 2。

mcporter 可以直接通过 npx 使用，无需安装。

### 步骤 2: 检查 API Key 配置

cat ~/.openclaw/config/glm.json 2>/dev/null | python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('api_key', ''))"

如果返回非空的 API Key，跳到步骤 4。

### 步骤 3: 配置 API Key（如果未配置）

3.2 如果没有找到 Key，向用户索要

如果用户没有智谱 API Key，可以访问 https://www.bigmodel.cn/glm-coding?ic=OOKF4KGGTW 购买。

询问用户提供智谱 API Key。

3.3 保存 API Key

mkdir -p ~/.openclaw/config
cat > ~/.openclaw/config/glm.json << EOF
{
  "api_key": "API密钥"
}
EOF

### 步骤 4: 添加 MCP 服务器

使用 mcporter 添加 GLM 联网搜索 MCP 服务器：

mcporter config add glm-search \\
  --type sse \\
  --url "https://open.bigmodel.cn/api/mcp/web_search_prime/sse?Authorization=your-key"

注意：将 your-key 替换为实际的智谱 API Key。

### 步骤 5: 测试连接

mcporter list

确认 glm-search 服务器已成功添加。

### 步骤 6: 使用 mcporter 调用 MCP 进行网络搜索

6.1 使用 mcporter 调用 MCP 工具

使用 mcporter 调用 MCP 服务：

mcporter call glm-search.webSearchPrime search_query="<搜索查询>"

示例：

# 搜索今日新闻
mcporter call glm-search.webSearchPrime search_query="今天的热点新闻"

# 搜索技术信息
mcporter call glm-search.webSearchPrime search_query="Python 异步编程最佳实践"

6.2 API 参数说明

参数说明类型search_query搜索查询字符串string (必填)

### 支持的工具

重要提示：如果出现问题以官方说明为准
官方版说明 ： https://docs.bigmodel.cn/cn/coding-plan/mcp/search-mcp-server

GLM 联网搜索 MCP 服务器提供以下工具：

webSearchPrime - 搜索网络信息，返回结果包括网页标题、网页URL、网页摘要、网站名称、网站图标等

### MCP 配置

MCP 服务器名称：glm-search

MCP 服务器类型：HTTP

MCP 服务器 URL：https://open.bigmodel.cn/api/mcp/web_search_prime/mcp

认证方式：Bearer Token（Authorization header）
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Thincher
- Version: 1.0.6
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/glm-web-search)
- [Send to Agent page](https://openagent3.xyz/skills/glm-web-search/agent)
- [JSON manifest](https://openagent3.xyz/skills/glm-web-search/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/glm-web-search/agent.md)
- [Download page](https://openagent3.xyz/downloads/glm-web-search)