Skip to main content
Glama

mistral chat completions

mistral_chat_completions
Read-only

OpenAI-compatible chat completions on Mistral Small 3.1 24B, tool calling and image input. Set your OpenAI SDK base URL to https://agentrxi.com/v1/mistral and pay per token with x402 instead of an API key: $1.053 per million input and $1.665 per million output tokens, minimum $0.002 a call, at most $0.0124. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, image input, streaming supported), up to 2048 output tokens. Costs $0.0124 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoIgnored; always mistral-small-3.1-24b
toolsNoOpenAI function tools
streamNo
messagesYes
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint, and the description adds substantial behavioral context on top: billing model (per-token x402), the $0.002 floor and $0.0124 ceiling, that 'upto' payers are charged only for tokens used, and a 2048 output-token cap. For a paid inference endpoint this cost/limit disclosure is unusually helpful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, which is good. However the pricing is restated redundantly ('at most $0.0124' mid-text and again as 'Costs $0.0124 USDC per call' at the end), and that final flat-cost phrasing sits awkwardly against the earlier 'minimum $0.002 / per-token' framing, adding noise rather than signal.

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?

With no output schema, the description correctly notes the response matches OpenAI's shape, and it covers auth/payment, token limits, and capabilities. It leaves a few request fields (max_tokens, temperature) unaddressed, but for an OpenAI-compatible endpoint the agent has enough to call it correctly.

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 coverage is only 33%. The description clarifies that 'model' is ignored and that streaming and tool calling are supported, but max_tokens and temperature are undocumented in both schema and description, and the messages/content shape is left unexplained. Partial compensation only.

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 ('chat completions') plus the exact backing model ('Mistral Small 3.1 24B') and its distinguishing capabilities (tool calling, image input). This is exactly what an agent needs to separate it from the many sibling chat_completions tools (glm, deepseek, qwen, etc.).

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?

Gives concrete usage context: point the OpenAI SDK base URL at the Mistral endpoint and pay per token via x402 rather than an API key. It doesn't explicitly say when to prefer this model over the sibling chat_completions variants, so no exclusion guidance exists, but the integration context is clear.

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