Skip to main content
Glama

ask_gpt

Call an OpenAI model as an expert subagent. Select the model, provide instructions and a prompt, and optionally set reasoning effort for coding or analysis tasks.

Instructions

Ask an OpenAI model as an expert subagent. ONE tool for everything: you choose the model, write the instructions (its system prompt), and optionally set reasoning_effort. There is no separate 'worker' vs 'architect' tool — the difference is the orchestration PATTERN you apply plus your model/effort choice: a fast model (e.g. gpt-5.6-terra, or gpt-5.6-luna for high-volume) with the worker-orchestrator pattern for concrete code work (patches, debugging, tests, repo inspection); a strong model (gpt-5.6-sol) + reasoning_effort 'high' or above with the two-layer-cross-model-expert pattern for hard reasoning, architecture, security/threat modeling, and review. Call list_patterns / get_pattern first for non-trivial work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesThe OpenAI model id (required): gpt-5.6-sol (frontier — deepest reasoning, architecture, hard review), gpt-5.6-terra (balanced general-purpose/coding), gpt-5.6-luna (fast/cheap, high-volume). The bare 'gpt-5.6' alias routes to sol. Any valid OpenAI model id is accepted (older gpt-5.5 etc. still work).
promptYesThe task or question for the model.
contextNoCode snippets, error messages, stack traces, constraints, or other relevant context.
instructionsYesSystem instructions for the model (required): its role and how to respond. Write these for the task at hand — e.g. a coding-subagent prompt for worker-style work, or a reviewer/architect prompt for analysis.
reasoning_effortNoReasoning effort (higher = deeper but slower). gpt-5.6 supports the full scale none→max; gpt-5.5 tops out at xhigh, older models at high. Use 'high' or above for deep audits / architecture review; reserve 'max' for the hardest quality-first work.
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It mentions that higher reasoning_effort is deeper but slower, and that models have different capabilities (e.g., max effort per model). However, it fails to disclose potential behavioral traits such as token limits, cost implications, or timeout behavior.

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?

The description is dense but every sentence adds value. It front-loads the core purpose, then provides clear guidelines and examples. No redundant or filler content.

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?

Given the absence of an output schema, the description does not explain what the tool returns (e.g., plain text response). It covers usage patterns well but lacks details on error handling or maximum response size. Still, it provides sufficient context for an AI agent to use correctly with the sibling tools.

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 coverage is 100% (all parameters have descriptions), so baseline is 3. The description adds significant value by explaining model aliases and use cases (sol for reasoning, terra for coding, luna for high-volume), the reasoning_effort scale with model-specific caps, and how to write instructions. This goes beyond the schema's minimal 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 the tool's purpose: 'Ask an OpenAI model as an expert subagent. ONE tool for everything.' It specifies the key parameters (model, instructions, reasoning_effort) and distinguishes from sibling tools (list_patterns, get_pattern) by noting they are for patterns, not LLM calls.

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?

Provides extensive guidance: when to use fast models (gpt-5.6-luna) for high-volume work, strong models (gpt-5.6-sol) for reasoning, different reasoning_effort levels, and the orchestration patterns (worker vs two-layer-cross-model-expert). Explicitly recommends calling list_patterns/get_pattern first for non-trivial work.

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/Wally-Ahmed/gpt-subagents'

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