Skip to main content
Glama

Mistral Chat Completion

mistral_chat_completion
Read-only

Generate Mistral AI chat completions with function calling, vision, and configurable response formats.

Instructions

Generate chat completions using Mistral AI models with function calling and vision support.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel IDmistral-large-latest
toolsNoAvailable tools
top_pNoNucleus sampling
messagesYesConversation messages
max_tokensNoMax tokens
random_seedNoRandom seed
safe_promptNoSafety prompt
temperatureNoSampling temperature
tool_choiceNoTool choice
response_formatNoResponse format
presence_penaltyNoPresence penalty
frequency_penaltyNoFrequency penalty

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful capability context (function calling, vision support) but does not explain behavioral traits like rate limits, whether the call is stateless, or how the tool-calling loop is expected to work.

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 front-loaded sentence with no wasted words. It is efficient, though so terse that it omits operational detail a 12-parameter tool might warrant.

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

Completeness3/5

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

Given the high complexity (12 params, nested message/tool objects, no output schema), the description is thin. It doesn't explain return behavior or the expected tool-calling workflow, though complete schema coverage and annotations carry much of the load.

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 100%, so every one of the 12 parameters (model, tools, messages, tool_choice, response_format, sampling params) is already documented in the schema. The description adds no parameter-level detail beyond that; baseline 3 applies.

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 names a specific verb+resource ('Generate chat completions') and scopes it to Mistral AI models, and it distinguishes the tool's key capabilities (function calling, vision). However, it does not differentiate from near-siblings like mistral_fim_completion or mistral_agents_completion, leaving the agent to infer when chat completion is preferred.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given. With siblings such as mistral_agents_completion, mistral_fim_completion, and mistral_embeddings all being generation-adjacent, the description offers no routing signal for selecting this one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.