Skip to main content
Glama
gto1seoul

MCP OpenAI Server

by gto1seoul

openai_chat

Send messages to OpenAI's chat completion API using models like GPT-4o, GPT-4o-mini, o1-preview, or o1-mini for AI-generated responses.

Instructions

Use this tool when a user specifically requests to use one of OpenAI's models (gpt-4o, gpt-4o-mini, o1-preview, o1-mini). This tool sends messages to OpenAI's chat completion API using the specified model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYesArray of messages to send to the API
modelNoModel to use for completion (gpt-4o, gpt-4o-mini, o1-preview, o1-mini)gpt-4o
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 of behavioral disclosure. The description mentions the action ('sends messages') and model options, but it doesn't disclose key behavioral traits such as authentication requirements, rate limits, error handling, or what the response looks like (e.g., format, content). For a tool interacting with an external API, this is a significant gap in transparency.

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 concise and well-structured with two sentences: the first sets usage context, and the second explains the core action. Every sentence adds value without redundancy, making it efficient and front-loaded for quick comprehension.

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

Completeness3/5

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

Given the tool's complexity (interfacing with an external API) and the absence of annotations and output schema, the description is moderately complete. It covers purpose and usage but lacks details on behavior, error handling, and response format. For a tool with no structured safety or output information, it should provide more context to be fully helpful.

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 input schema has 100% description coverage, with clear documentation for both parameters (messages and model). The description adds minimal semantic value beyond the schema—it reiterates the model options but doesn't explain parameter interactions or usage nuances. With high schema coverage, the baseline score of 3 is appropriate, as the description doesn't significantly enhance parameter understanding.

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: 'sends messages to OpenAI's chat completion API using the specified model.' It specifies the verb ('sends messages') and resource ('OpenAI's chat completion API'), but since there are no sibling tools, it doesn't need to differentiate from alternatives. It's specific but lacks sibling context, which isn't required here.

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

Usage Guidelines4/5

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

The description provides explicit guidance on when to use this tool: 'when a user specifically requests to use one of OpenAI's models (gpt-4o, gpt-4o-mini, o1-preview, o1-mini).' This gives clear context for usage. However, it doesn't mention when NOT to use it or discuss alternatives, which is less critical since no sibling tools exist.

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/gto1seoul/openai-mcp'

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