Skip to main content
Glama

Agent Toolbox

Chat Gpt Oss 120b

chat_gpt_oss_120b
Read-only

OpenAI-compatible chat completion with gpt-oss-120b (OpenAI's open-weight reasoning model): set the base URL to /v1/llm/gpt-oss-120b in any OpenAI SDK. Up to 32,000 characters in and 2,048 tokens out per call, a fixed price per call, no streaming. Costs USD 0.005 per call, paid with x402 (USDC on Base); calls that fail are not charged.

Input Schema

NameRequiredDescriptionDefault
messagesYesOpenAI chat messages: [{role: system|user|assistant, content}] (up to 32,000 characters in total)
max_tokensNoDefault 2048
temperatureNo
response_formatNo{"type": "json_object"} for JSON output

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds context annotations don't carry: fixed price USD 0.005 per call, x402/USDC-on-Base payment, failed calls not charged, no streaming, and hard token/character limits. That covers cost and failure semantics well; it could still mention rate limiting or error response format, so not a 5.

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?

A single dense sentence that front-loads model, endpoint, and integration path, then tacks on limits, pricing, and payment. Every clause is useful, though the pricing/payment tail makes it run slightly long.

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

Completeness4/5

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

For a paid inference endpoint with no output schema, the description supplies the key facts an agent needs: compatibility, limits, cost, payment mechanism, and failure charging. Missing only peripheral details like error shape or rate limits.

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 75% and the schema already documents messages, max_tokens bounds, and response_format. The description reinforces the 32,000-character input and 2,048-token output caps but adds no syntax or format detail for temperature or response_format beyond what's structured.

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?

States a specific verb+resource (chat completion), names the exact model (gpt-oss-120b), and gives the concrete endpoint path (/v1/llm/gpt-oss-120b), which distinguishes it from chat_qwen3_30b without opening either schema.

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?

Explains how to invoke it (point any OpenAI SDK base URL at /v1/llm/gpt-oss-120b) and states constraints like no streaming and per-call pricing. It does not explicitly say when to choose it over the sibling chat_qwen3_30b, so it stops short of a 5.

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