Skip to main content
Glama

routara_chat

Create OpenAI-compatible chat completions through Routara, supporting single messages, multi-turn conversations, system prompts, and tool calls with access to 48+ models.

Instructions

Create an OpenAI-compatible chat completion through Routara.

Use message for a simple single-turn request, or messages for system prompts, multi-turn chat, multimodal content, and tool-call continuations. The complete upstream response is returned, including usage, reasoning_content, and tool_calls when supplied by the model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stopNo
modelYesModel slug from routara_list_models
toolsNoOpenAI-compatible function tools
top_pNo
messageNoConvenience single user message; use messages for multi-turn input
messagesNoOpenAI-compatible conversation messages
max_tokensNo
temperatureNo
tool_choiceNoOpenAI-compatible tool choice
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that the response includes usage, reasoning_content, and tool_calls, but does not mention rate limits, authentication, or potential side effects.

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 two concise sentences, front-loading the core purpose and immediately providing usage guidance without redundancy.

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?

Given the tool's complexity and lack of output schema, the description adequately covers the main functionality and response format. It references the model from a sibling tool and explains the two input modes, though it omits preconditions like API keys or error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 56% schema coverage, the description adds value by clarifying the distinction between 'message' and 'messages' and explaining their use cases, which is not fully captured in the schema descriptions.

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 clearly states the tool creates an OpenAI-compatible chat completion. The verb 'create' and resource 'chat completion' are specific, and it distinguishes from siblings like routara_list_models and routara_generate_image by focusing on chat.

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?

The description explicitly advises when to use 'message' vs 'messages' for different scenarios (single-turn vs multi-turn, tool calls). It provides clear context but does not explicitly exclude use cases or mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/36412749-collab/routara-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server