Skip to main content
Glama

Mistral Small 3.1 chat API: pay per call, no API key

ai_model_mistral_small
Read-only

Chat with Mistral AI's Mistral Small 3.1 24B model (Apache 2.0) through one paid HTTP call: send a prompt and an optional system prompt, get the answer, up to 1,024 output tokens. Also reachable as model "mistral-small" on the OpenAI-compatible /v1/chat/completions. No account or provider key. Use when an agent wants this model by name. Example: prompt=Explain x402 in one sentence.. Price $0.005/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
promptYesUser prompt, up to 8,000 characters
systemNoOptional system prompt, up to 2,000 characters
maxTokensNoMaximum output tokens, 1-1024 (default 400)
temperatureNo0-1.5 (default 0.6)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context the annotations cannot carry: price ($0.005/call), failed calls free, payment paths (x402 USDC or card key /credits), no account or provider key required, and the 1,024 output-token cap. The "reads or computes only and changes nothing" statement is consistent with readOnlyHint=true, and "repeats are not free" aligns with idempotentHint=false.

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?

Front-loaded with model identity and payment model, which are the deciding facts. Slightly run-on and marred by a doubled period in the example, but nearly every sentence carries distinct information.

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 4-parameter stateless chat tool with no output schema, the description covers cost, limits, auth, and the alternate endpoint, so an agent can call it correctly. The response format (plain answer text) is only implied by "get the answer."

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 100%, so the schema already defines prompt, system, maxTokens, and temperature with ranges and defaults. The description only echoes the prompt/system pair and the output token cap, adding no syntax or format detail beyond structured data — baseline 3 applies.

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 (chat with) plus the exact resource: Mistral Small 3.1 24B, with license and OpenAI-compatible alias. This makes it trivially distinguishable from sibling model tools like ai_model_qwen3_30b or ai_model_deepseek_r1.

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?

"Use when an agent wants this model by name" gives an explicit selection condition, and the /v1/chat/completions alias offers an alternative access path. It does not compare against the other ai_model_* siblings, so an agent choosing between models gets no comparative guidance.

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.