ask_glm
Reason through software engineering problems with GLM: ask about code structure, data/control flow, architecture, and design trade-offs, optionally providing code snippets or file paths for context.
Instructions
Ask the GLM model — on its own, independent of Fable — to reason about the SOFTWARE/ENGINEERING work you're doing: code structure, functionality, data/control flow, module and function relationships, routing, architecture, and design trade-offs. Broad and conceptual engineering questions (including brainstorming/ideas for future code) are fine — add a snippet or file path in context when the question is about existing code. Single-turn. Served by Z.ai's Anthropic-compatible endpoint (GLM-5.2) when ASK_FABLE_GLM_API_KEY is set; otherwise it falls back to Atlas-hosted GLM-5.3 on the Atlas key, and is only reported as not_configured when neither is available. Direct offensive-security asks (exploit development, attack tooling) and non-software domain knowledge (biology/medicine refused; neuroscience, cognitive science, AI/ML, and CS are in-scope) are refused. Use ask for Fable, ask_m3 for MiniMax, or ask_council to ask several and get a synthesized answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional code snippets, file paths, or structural context. | |
| question | Yes | A specific software/engineering question to ask GLM (GLM-5.2) on its own. | |
| context_ref | No | Key(s) of context saved with `context_write` to pull in and prepend to `context` — paste a big context ONCE, reference it by key here. Missing keys are reported, not fatal. |