Skip to main content
Glama

ask_gpt

Delegate tasks to OpenAI expert models with custom instructions, model selection, and adjustable reasoning effort for code, architecture, or review work.

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.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that model aliases route (e.g., bare 'gpt-5.6' goes to sol), and explains reasoning effort scale per model. However, it does not mention any potential side effects (e.g., no state changes, costs, rate limits). Still, the core behavior is well described for a read-like API call.

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 single-paragraph description is front-loaded with the core purpose, uses bold sparingly for emphasis, and every sentence adds unique value. No redundancy; critical guidance (model selection, pattern reference) is packed efficiently. Ideal length for the information density.

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?

For a tool with 5 parameters and no output schema, the description covers model selection, instructions writing, effort levels, and orchestration patterns. It could explicitly mention the return format (text) or handling of streaming, but the core completeness is high given the tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters, establishing a baseline of 3. The description adds significant value by mapping model choices to use cases (fast vs strong), recommending reasoning effort levels for different tasks, and explaining how to write instructions for role-specific subagents. This goes well beyond the schema's enum values and max lengths.

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 asks an OpenAI model as an expert subagent, using a single interface for all models and patterns. It explicitly distinguishes from sibling tools by stating there is no separate worker vs architect tool, and refers to orchestration patterns.

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 explicit guidance: use fast models (gpt-5.6-terra, gpt-5.6-luna) with worker pattern for concrete coding, strong model (gpt-5.6-sol) with high reasoning for architecture/review. Tells agent to call list_patterns/get_pattern first for non-trivial work, giving clear when-to-use and alternatives.

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-api'

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