Skip to main content
Glama

Responses

post_responses

Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model’s response. Group: OpenAI Endpoints. Billing per call: Credits: metered (~207 avg).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "post_responses"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body. Example: {"model":"gpt-6.1-sol","input":"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose genuinely useful behavior: the call is billed in credits and is metered (~207 average), which signals a cost-incurring operation, and it names the tool-calling and retrieval behaviors. It omits whether responses are stored, whether streaming is supported, and any auth or rate-limit context, leaving meaningful gaps for a generative endpoint with no annotation coverage.

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 verb leads and the whole definition is three short sentences with no filler. The trailing "Group: OpenAI Endpoints" is mild metadata bloat, but the billing note earns its place. The middle sentence is long and stacks three separate capabilities, which slightly hurts scanability.

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?

There is no output schema, and the description compensates partly by stating that output is text or JSON. However, the single parameter is a free-form nested object whose real structure (model, input, tools, etc.) is only hinted at by one example, so an agent still needs outside knowledge of the API to build a valid body. Adequate but not self-sufficient.

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?

There is a single parameter whose schema description coverage is 100% and which already carries a worked example body. The description adds only loose mapping ("text or image inputs," tool use) rather than clarifying any body field. Baseline 3 applies since the schema does the heavy lifting.

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 states a specific verb and resource ("Creates a model response") and enumerates the capabilities it covers: text/image input, text or JSON output, custom code tool calls, web search and file search. That is far more informative than the title "Responses." It stops short of 5 because it never distinguishes this endpoint from siblings such as post_chat_completions or post_messages, so an agent cannot tell which one to pick.

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

Usage Guidelines2/5

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

The text describes what the tool can do but gives no when-to-use or when-not-to-use guidance. There is no mention of how to choose between this and the other completion-style siblings, and no prerequisites or exclusions are stated. An agent must already know the OpenAI API surface to place this correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources