Skip to main content
Glama

ai_chat

Read-only

Send a message to any of 30+ AI models (OpenAI, Anthropic, Google, Groq, xAI). Returns the model's response. Supports conversation history via the messages array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel to use, e.g. 'claude-sonnet-4.6', 'gpt-4.1', 'llama-3.1-8b'. Defaults to llama-3.1-8b
messagesYesArray of chat messages, each with 'role' (user/assistant/system) and 'content' (text)
max_tokensNoMaximum tokens to generate in the response. Default 1024

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=true, covering the safety profile. The description adds useful context about supporting conversation history via the messages array and supporting multiple AI providers, but it does not disclose external API dependencies, rate limits, or response structure in detail. There is no contradiction with annotations.

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

Conciseness5/5

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

The description is three short sentences, front-loaded with the primary action. Each sentence adds value: model variety, return value, and conversation history. There is no redundant or wasteful wording.

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 tool with 3 parameters and no output schema, the description covers the essential aspects: purpose, supported models, return value, and conversation history. While a more detailed response format would be beneficial, the description is adequate for a chat tool and is supported by clear annotations.

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% with well-described parameters (model, messages, max_tokens). The description reiterates and reinforces the messages parameter by mentioning conversation history, but it does not add significant format or syntax details beyond the schema.

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?

The description states a specific verb+resource combination: 'Send a message' to '30+ AI models', which clearly distinguishes it from sibling tools like ai_embeddings, ai_images, ai_speech, and ai_transcribe. It also mentions conversation history, making the chat-focused purpose unambiguous.

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

Usage Guidelines3/5

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

Usage is implied through the description (message-based chat interaction), but there are no explicit when-to-use or when-not-to-use guidelines. The sibling tool names suggest different modalities, yet the description does not explicitly say 'use this for chat rather than embeddings/images'.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct capability: chat, embeddings, image generation, speech synthesis, transcription, currency exchange, translation, and weather. There is no overlap or ambiguity between them.

Naming Consistency4/5

The five AI tools follow a consistent 'ai_' prefix pattern (ai_chat, ai_embeddings, etc.), but the three utility tools (currency, translate, weather) break this convention, creating a minor inconsistency.

Tool Count5/5

With 8 tools, the server is well-scoped for a multi-purpose AI and utility toolkit. The count is neither too sparse nor overly heavy, and each tool has a clear role.

Completeness4/5

The toolset covers a broad range of AI modalities (text, embedding, image, audio) plus common utilities (currency, translation, weather). Minor gaps exist, such as video generation or web search, but these are not essential for the apparent scope.

Resources