GLM Search & Tools

v1.1.0

OpenClaw plugin: GLM/Z.AI web search, page reader, and GitHub repo reader via MCP servers

@conanwhf/openclaw-glm-search·runtime glm-search·by @conanwhf
Code Pluginsource linkedCommunity code plugin. Review compatibility and verification before install.

README

GLM Search & Tools Plugin for OpenClaw

GLM/Z.AI tools for OpenClaw via MCP servers: web search, page reader, and GitHub repo reader.

Tools

ToolMCP ServerDescription
glm_searchweb_search_primeSearch the web via GLM (currently returns empty results due to a GLM service-side issue)
glm_readerweb_readerRead and extract content from any URL — handles anti-bot pages
glm_zreadzreadBrowse GitHub repo structure and read files

All three tools are standalone — available regardless of your default search provider.

Install

openclaw plugins install clawhub:@conanwhf/openclaw-glm-search

Or from source:

openclaw plugins install /path/to/glm-search-plugin

Configuration

API Key

Set one of these environment variables in your OpenClaw gateway:

export Z_AI_API_KEY="your-api-key"
# or: ZAI_API_KEY, GLM_API_KEY, ZHIPU_API_KEY

Region (optional)

To force CN endpoints, add to your OpenClaw config:

tools:
  web:
    search:
      glm:
        region: cn

Get API Key

Usage Examples

# Read a web page
glm_reader url="https://example.com/article"

# Browse a GitHub repo
glm_zread action="structure" repo_name="openclaw/openclaw"

# Read a specific file from a repo
glm_zread action="file" repo_name="openclaw/openclaw" path="package.json"

# Search the web (when GLM fixes their service)
glm_search query="latest AI news"

Known Issues

  • glm_search returns empty results ([]) for all queries. This is a GLM/Z.AI service-side issue, not a plugin bug. Other tools (reader, zread) work fine.

Development

# Test locally
openclaw plugins install ./glm-search-plugin

# Publish to ClawHub
clawhub package publish ./glm-search-plugin --dry-run
clawhub package publish ./glm-search-plugin

License

MIT

Capabilities

configSchema
Yes
Executes code
Yes
HTTP routes
0
Runtime ID
glm-search

Compatibility

Built With Open Claw Version
2026.4.12
Min Gateway Version
2026.3.24-beta.2
Plugin Api Range
>=2026.3.24-beta.2
Plugin Sdk Version
2026.4.12

Verification

Tier
source linked
Scope
artifact only
Summary
Validated package structure and linked the release to source metadata.
Commit
99c31e065dde
Tag
99c31e065dde5b02a582bc25c0aa4384655d5443
Provenance
No
Scan status
suspicious

Tags

latest
1.1.0