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 from list_models (e.g. 'openai/gpt-4o-mini', 'anthropic/claude-sonnet-4.6', 'google/gemini-2.5-flash'). Use 'auto' for smart routing.
messagesYesChat messages array.
max_tokensNoMaximum tokens to generate. Optional.
temperatureNoSampling temperature (0-2). Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Model ID (e.g. 'gpt-4o', 'claude-sonnet-4-6-20250514', 'gemini-2.0-flash'). Use 'auto' for smart routing."New value: +"Model ID from list_models (e.g. 'openai/gpt-4o-mini', 'anthropic/claude-sonnet-4.6', 'google/gemini-2.5-flash'). Use 'auto' for smart routing."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It discloses the OpenAI-compatible request shape, the auto-routing behavior, and the absence of per-provider setup, which is genuinely useful. It omits cost/billing implications (notable given the aip_estimate_cost and aip_execute_with_budget siblings), auth requirements, and whether responses stream.

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?

Three short sentences, front-loaded with the core action and endpoint, then routing, then the pitch. Efficient overall, though the closing 'One tool, every frontier model, no per-provider setup' is promotional restatement rather than operational information.

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?

For a 4-parameter tool with a fully documented schema but no output schema and no annotations, the description is adequate but leaves gaps an agent would want: the response shape (no output schema exists to cover it), cost/budget behavior, and error/latency characteristics.

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 the schema already documents model, messages, max_tokens, and temperature. The description only reinforces the 'auto' option for model, which the schema also states, so it adds no meaningful semantics beyond structured data. 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?

States a specific verb (send a chat completion) and resource (any model via one OpenAI-compatible endpoint), naming concrete examples (GPT, Claude, Gemini, DeepSeek). An agent immediately understands this is a unified chat/LLM call tool. It stops short of distinguishing itself from the sibling aip_execute_with_budget, which may also reach models.

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?

Gives real usage guidance for the model parameter ('pass a specific model ID or use auto for smart routing') and points at list_models as the source of IDs. However it never states when to prefer this tool over the aip_execute_with_budget / aip_estimate_cost siblings, leaving the boundary to inference.

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.