Skip to main content
Glama

chatgpt_ask

Send a prompt to ChatGPT Web and get the assistant's response, with web search, model selection, and file/image attachment support.

Instructions

Send a question or prompt to ChatGPT Web (chatgpt.com) and get the assistant response. Supports Web Search, o1/o3-mini reasoning, model selection, code extraction, image/file attachments, and Chrome profiles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoTarget ChatGPT model name (e.g. "gpt-4o", "o3-mini", "o1", "canvas").
messageYesThe message, question, or instruction to send to ChatGPT Web.
profileNoOptional Chrome profile name or ID (e.g. "Default", "Profile 1", or email/name) to send this question through.
new_chatNoSet to true to start a new chat conversation before asking.
file_pathsNoList of absolute file paths to documents/code files to upload/attach.
timeout_msNoOptional timeout in milliseconds to wait for the complete answer.
web_searchNoEnable live Web Search toggle in ChatGPT for up-to-date web information.
image_pathsNoList of absolute file paths to images to upload/attach for multimodal analysis.
refresh_pageNoSet to true to reload/refresh the ChatGPT page before sending this message (useful when stuck).
auto_continueNoAutomatically click "Continue generating" if response is cut off (default: true).
conversation_idNoOptional conversation ID (e.g. "67b...") or conversation URL (e.g. "https://chatgpt.com/c/...") to continue a specific thread.
reasoning_effortNoSet reasoning effort for o-series models (low, medium, high).
extract_code_onlyNoIf true, extracts and returns only the code blocks from the ChatGPT response.
Behavior2/5

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

With no annotations, the description must disclose behavior but only lists supported features. It omits critical details like state changes to chat history, authentication/login requirements, potential hang or failure modes, and what exactly 'get the assistant response' returns.

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 a single sentence that front-loads the action ('Send a question...'), enumerates key features efficiently, and contains no filler—every clause adds meaningful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 13 parameters and no output schema, the description is underspecified. It does not explain return format, error handling, or how to combine features (e.g., web_search + reasoning), and lacks guidance on prerequisites like login or browser state.

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

Parameters3/5

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

The schema covers all parameters with descriptions, so baseline is 3. The description adds a high-level summary mapping capabilities to parameters but does not provide deeper semantics or usage nuances beyond what the schema already states.

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 sends a prompt to ChatGPT Web and returns a response, lists key capabilities (web search, reasoning, models, attachments, profiles), and implicitly distinguishes it from siblings like chatgpt_get_latest_response which only retrieves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is the primary ask tool by listing its features, but it does not explicitly state when to use it versus alternatives (e.g., chatgpt_new_chat, chatgpt_get_latest_response) or mention any exclusions—leaving context inferred.

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/JonusNattapong/mcp-chatgpt'

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