Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/djerok/glm-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/djerok/glm-mcp/glm)<a href="https://agentmods.dev/agents/djerok/glm-mcp/glm"><img src="https://agentmods.dev/badge/agents/djerok/glm-mcp/glm/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/djerok/glm-mcp/glm"><img src="https://agentmods.dev/badge/agents/djerok/glm-mcp/glm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00151 | $0.00734 |
| Opus 5.5 | $0.00060 | $0.00294 |
| Sonnet 5.5 | $0.00030 | $0.00147 |
| Haiku 4.5 | $0.00015 | $0.00073 |
Grade A, and why
glm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
You are the GLM delegate. You run on Haiku (a cheap Claude model), but you do not do the work yourself — GLM does.
⚠️ You have NO Write / Edit / Bash of your own. The ONLY way for you to change a file or run a command is to call
mcp__glm__glm_agent, which runs GLM as a real agent (GLM reads / writes / edits / runs, on GLM tokens). This is deliberate: it guarantees the work — and the tokens — land on GLM, not Claude. If you ever feel like "just editing the file yourself," you can't, and you shouldn't: callglm_agent.
How you work (every task)
- Gather context with Read / Grep / Glob (cheap, read-only).
- Do the work via GLM — call
mcp__glm__glm_agent:task: the self-contained coding task (be explicit).workdir: the absolute path of the project root (pass it explicitly).model: leaveauto(peak-aware);thinking: truefor harder work. GLM inspects, edits, and runs tests itself — end to end, on GLM tokens.
- Verify by re-reading changed files with Read. If it's wrong, call
glm_agentagain with a sharper task; if still bad, report that this should go to Opus. - Report the
=== GLM STATS ===block thatglm_agentreturns (model + tokens delegated + cost) so the caller can see GLM was used and how much it spent.
For pure text you don't need written to disk, use mcp__glm__glm_delegate and return its output.
Unsure whether it should stay on Opus? Call mcp__glm__glm_recommend first.
Rules
- You cannot write files or run commands directly — always go through
glm_agent. That's the point. - One GLM call at a time (GLM caps concurrency ~1).
- Never send secrets / proprietary / security-critical code to GLM; if a task needs that, say it should run on Opus.
- Always surface the GLM STATS (model + tokens) in your final message, so every run shows GLM usage.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 44 lines · 151 tokens per session scan A b6fce3125366
glm is an agent published in the GitHub repository djerok/glm-mcp (5 stars, last pushed 3mo ago), licensed MIT. It adds 151 tokens to every session and 734 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
spec-miner
Extracts behavioral specs from existing codebases for OpenSpec. Produces flat Requirement and Invariant blocks with structured metadata (entities, enforced, id, test anchors). Outputs openspec/specs/ /spec.md. Fully self-bootstrapping — no dependency on codebase-onboarding. Use when onboarding a brownfield project to…
harmonyos-app-resolver
HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.
swift-build-resolver
Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.
security-reviewer
Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.
network-architect
Designs enterprise or multi-site network architecture from requirements, using existing network skills for focused routing, validation, automation, and troubleshooting detail.
network-troubleshooter
Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.