Skip to main content
Glama

Agent Toolbox

Chat Qwen3 30b

chat_qwen3_30b
Read-only

OpenAI-compatible chat completion with Qwen3 30B (fast mixture-of-experts model): set the base URL to /v1/llm/qwen3-30b 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.002 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.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing input/output token limits, no streaming, fixed per-call pricing (USD 0.002), the x402/USDC-on-Base payment requirement, and that failed calls are not charged. These are precisely the operational facts an agent needs before calling a paid endpoint.

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 the core capability and SDK usage, then packs limits and pricing. It is efficient, though the parenthetical and semicolon clauses make it slightly harder to scan than an ideal multi-sentence layout.

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?

Complete for a paid chat-completion endpoint with no output schema: it covers input constraints, output limits, pricing, payment method, and failure billing. Return structure is only implied by 'OpenAI-compatible', which is slightly less explicit than it could be.

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?

With 75% schema description coverage, the baseline is 3. The description's '32,000 characters in and 2,048 tokens out' largely repeats what the schema already states in the messages description and max_tokens maximum, and it adds no guidance on temperature or response_format.

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 and resource ('OpenAI-compatible chat completion with Qwen3 30B') and names the exact model variant, which distinguishes it from the sibling chat_gpt_oss_120b tool 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 ('set the base URL to /v1/llm/qwen3-30b in any OpenAI SDK') and gives model characteristics that aid selection, but never explicitly contrasts when to choose it over chat_gpt_oss_120b or when not to use it.

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