glm_ask
Obtain quick answers and explanations from GLM's cost-efficient model for brainstorming, analysis, and general questions.
Instructions
Quick question to GLM - no tools, fast response.
Use for: explanations, analysis, brainstorming, quick answers. Does NOT have access to files or tools - pure generation.
Cost: ~10x cheaper than Claude Haiku. Use liberally.
Args: question: Your question or prompt model: "haiku" (fastest) or "sonnet" (better quality)
Returns: GLM's response
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question": "<question>"
},
"name": "glm_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | haiku | |
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |