Skip to main content
Glama
djerok

GLM Subagent MCP

Delegate a subtask to GLM

glm_delegate

Handle text-only subtasks via GLM subagent for reduced cost. Provide complete context in the task description since file access is unavailable.

Instructions

Text-in/text-out subtask on GLM (~10x cheaper than Opus); returns text only. GLM has no file/tool access -- put everything in task+context. For file edits use glm_agent instead. Not for sensitive, long-debugging, large-refactor, or parallel work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesThe instruction for GLM. Be explicit and self-contained, e.g. 'Write a React component that...'.
modelNoModel id or 'auto' (default). e.g. glm-5.2, glm-4.7, glm-4.5-air. 'auto' picks peak-aware.
formatNoconcise (default) or detailed metadata.
systemNoOptional system prompt to steer GLM's role/format.
contextNoSupporting material GLM needs: code to modify, file contents, specs, examples. GLM has no file access.
thinkingNoEnable GLM reasoning mode for harder tasks (slower). Default false.
max_tokensNoMax output tokens (ceiling; billed for actual). Default generous.
Behavior4/5

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

Description discloses that GLM has no file/tool access (beyond annotations), cost comparison, and that output is text only. It does not detail potential side effects, but annotations (readOnlyHint=false, destructiveHint=false) provide baseline; the description adds context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences: first covers purpose and cost, second states limitations and alternatives. No redundant words, front-loaded with key info.

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?

Description covers purpose, limitations, alternatives, and parameter usage. No output schema exists, but 'returns text only' is sufficient. Missing details on error handling, but overall adequate for typical use.

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?

Schema has 100% coverage, but the description adds value by advising 'put everything in task+context' and emphasizing self-contained instructions. This clarity goes beyond basic schema descriptions.

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?

The description clearly states it is for delegating a text-in/text-out subtask to GLM, highlights cost advantage over Opus, and distinguishes from sibling 'glm_agent' for file edits.

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 when to use (simple text subtasks) and when not to ('Not for sensitive, long-debugging, large-refactor, or parallel work'), and recommends 'glm_agent' for file edits.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/djerok/glm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server