Skip to main content
Glama

chat

Send a chat completion to any model on JarvisClaw through one OpenAI-compatible endpoint — GPT, Claude, Gemini, DeepSeek, and more. Pass a specific model ID or use 'auto' for smart routing to the best fit. One tool, every frontier model, no per-provider setup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel ID (e.g. 'gpt-4o', 'claude-sonnet-4-6-20250514', 'gemini-2.0-flash'). Use 'auto' for smart routing.
messagesYesChat messages array.
max_tokensNoMaximum tokens to generate. Optional.
temperatureNoSampling temperature (0-2). Optional.

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must disclose behavior on its own. It discloses unified multi-provider access and smart auto-routing, but omits response shape, streaming/async behavior, rate limits, or cost implications. This is adequate but not rich.

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?

Three short, front-loaded sentences; every sentence carries value. Avoids restating schema boilerplate and includes a memorable value proposition.

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?

Covers tool purpose, model breadth, and routing strategy in minimal space; 'OpenAI-compatible' hints at response format. However, without output schema it leaves return details and error/cost behavior implicit, which is acceptable for a simple chat-completion tool but not exhaustive.

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?

Input schema covers all four parameters with descriptions, so baseline is 3. The description reiterates the 'auto' option already present in the model parameter schema and adds provider examples, but adds no new semantics for messages, max_tokens, or temperature.

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?

Opening verb 'Send' plus object 'a chat completion' clearly states the action, and 'any model on JarvisClaw through one OpenAI-compatible endpoint' defines the resource and scope. Mentioning GPT/Claude/Gemini/DeepSeek and auto-routing differentiates it from sibling list/search/discovery tools.

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?

Description gives clear context: use this for chat completions across models, with 'auto' routing as a notable option. It implies it supersedes per-provider setup but doesn't explicitly name alternatives or state when not to use it (e.g., for model discovery or cost estimation).

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

A3.9/5.0
Disambiguation3/5

Most tools target distinct resources, but aip_estimate_cost and aip_resolve both provide pre-execution pricing, and chat overlaps with the chat intent inside aip_execute_with_budget. Descriptions clarify the differences reasonably well, but an agent could still pick the wrong one when estimating cost or sending a chat.

Naming Consistency4/5

Tool names mostly follow an imperative snake_case verb_noun pattern such as list_models, search_apis, and discover_agents, with AIP functions sharing an aip_ prefix. Minor deviations like 'chat' and 'aip_resolve' lacking object nouns are easy to predict and do not create confusion.

Tool Count5/5

With 9 tools, the set covers model listing, chat, AIP routing/execution, API discovery, and agent discovery without bloating. Each major workflow has a focused set of tools, and none feel unnecessary.

Completeness3/5

The AIP lifecycle is well covered — list intents, resolve, estimate cost, and execute with budget — and chat has list_models + chat. However, as an API Marketplace there is no direct call_api or invoke tool, and no publish/management surface, so search_apis and get_api_detail lead to an external action rather than completing the loop in-server.