Skip to main content
Glama
nekobato

ChatGPT WebSearch MCP

by nekobato

ask_chatgpt

Get answers from ChatGPT through the MCP server. Submit prompts to receive AI-generated responses using various models with configurable parameters like temperature and reasoning effort.

Instructions

Ask ChatGPT a question and get a response. Supports both regular models (with temperature) and reasoning models (with effort/verbosity).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe prompt to send to ChatGPT
modelNoThe model to use (default: from OPENAI_DEFAULT_MODEL env var or gpt-5). Unless specified by the user, you should not set this model parameter. Supported models: gpt-5, gpt-5-mini, gpt-5-nano, o3, o3-pro, o4-mini, gpt-4.1, gpt-4.1-minigpt-5
systemNoSystem prompt to set context and behavior for the AI
temperatureNoTemperature for response generation (0-2). Not available for reasoning models (gpt-5, o1, o3, etc.)
effortNoReasoning effort level: minimal, low, medium, high (default: from REASONING_EFFORT env var). For reasoning models only.
verbosityNoOutput verbosity level: low, medium, high (default: from VERBOSITY env var). For reasoning models only.
searchContextSizeNoSearch context size: low, medium, high (default: from SEARCH_CONTEXT_SIZE env var). For reasoning models only.
maxTokensNoMaximum number of output tokens
maxRetriesNoMaximum number of API retry attempts (default: from OPENAI_MAX_RETRIES env var or 3)
timeoutMsNoRequest timeout in milliseconds. Auto-adjusts based on effort level: high=300s, medium=120s, low/minimal=60s. Can be overridden with OPENAI_API_TIMEOUT env var.
useStreamingNoForce streaming mode to prevent timeouts during long reasoning tasks. Defaults to auto (true for medium/high effort reasoning models).
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions model types and parameter support but fails to disclose critical behavioral traits such as rate limits, authentication needs, error handling, or what the response format looks like (since no output schema exists). The description is too vague for a tool with 11 parameters and complex functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and front-loaded, stating the core purpose in the first sentence. The second sentence adds useful context about model types without redundancy. However, it could be slightly more structured by explicitly separating regular and reasoning model guidelines.

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?

Given the tool's complexity (11 parameters, no annotations, no output schema), the description is inadequate. It lacks details on response format, error conditions, rate limits, and practical usage scenarios. The high parameter count and absence of output schema require more comprehensive guidance than provided.

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?

Schema description coverage is 100%, so the schema fully documents all 11 parameters. The description adds minimal value by hinting at model categories (regular vs. reasoning) but does not provide additional syntax, format details, or usage examples beyond what the schema already specifies. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ChatGPT a question and get a response.' It specifies the verb ('ask') and resource ('ChatGPT'), and distinguishes between model types (regular vs. reasoning). However, with no sibling tools, differentiation is not applicable, preventing a perfect score.

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 usage by mentioning support for both regular and reasoning models, suggesting when to use different parameter sets. However, it lacks explicit guidance on when to use this tool versus alternatives (e.g., for simple queries vs. complex reasoning), and there are no siblings to compare against, so the guidance is limited to internal model selection.

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

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