Skip to main content
Glama

responses

Read-only

OpenAI Responses API compatible text generation — Drop-in OpenAI Responses API (POST /v1/responses) backed by Llama 3.3 70B on Workers AI. Body JSON: input (string, or array of {role, content} messages where content is a string or [{type:input_text,text}]), optional instructions, max_output_tokens (16-4096, default 1024), temperature, top_p, metadata. Returns the standard response object with output[0].content[0].output_text, a top-level output_text convenience field and token usage. developer role maps to system; images and tools are ignored; stream is not supported. Failed model calls return 502 and are never charged. Price: $0.01 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "responses"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesWrite a two-sentence product update announcing faster API responses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive, and the description goes well beyond that: developer role mapping to system, silent dropping of images and tools, no streaming support, 502 on failed model calls with no charge, and an explicit $0.01 USDC x402 price. The cost and silent-ignore behaviors are exactly the kind of context an agent cannot get from structured fields.

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?

One dense, front-loaded paragraph: identity first, then body shape, then return shape, then caveats and price. No filler sentences, though the middle section packs many low-level fields together, making it slightly heavy to scan.

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

Completeness5/5

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

With no output schema, the description carries return-value disclosure and does so precisely (output[0].content[0].output_text, top-level output_text, token usage). Combined with the error and pricing notes, an agent has everything needed to call this correctly and interpret success or failure.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics: input may be a string or an array of {role, content} messages with content as string or [{type:input_text,text}], plus max_output_tokens bounds (16-4096, default 1024). It also documents fields (instructions, temperature, top_p, metadata) that the declared schema omits, which borders on schema mismatch but still conveys useful meaning.

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: OpenAI Responses API-compatible text generation via POST /v1/responses on Llama 3.3 70B. It is clear what the tool does, but it never distinguishes itself from the many sibling text-generation tools (ai_chat, ai_ask, ai_generate), so an agent gets no differentiation signal.

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?

Usage constraints are stated negatively rather than as routing guidance: 'images and tools are ignored; stream is not supported' effectively tells the agent what not to send it for. There is no explicit when-to-use-this-vs-alternatives statement, so selection among the ai_* siblings is left to inference.

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