Skip to main content
Glama

Simple Chat Completions

lyzr_simple_chat_completions

Send chat messages directly to any OpenAI-compatible model or provider without pre-building an agent. Select model, provider, and credentials to get completions.

Instructions

OpenAI-compatible chat/completions endpoint that selects the model/provider directly, without a pre-created agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesThe model name
top_pNoTop-p (default 1.0)
messagesYesOpenAI-style chat messages
session_idNoOptional session id
provider_idNoOptional provider id
temperatureNoSampling temperature (default 0.7)
credential_idNoLLM credential id to use
Behavior3/5

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

Annotations already indicate the operation is not read-only, non-idempotent, and non-destructive. The description adds the key behavioral trait that this is 'OpenAI-compatible', which hints at the expected request/response format, and notes the lack of an agent. It does not disclose details like rate limits, authentication requirements, or streaming behavior, but with annotations present, the description provides adequate supplementary context.

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 a single, focused sentence that conveys the essential purpose and key distinguishing feature. It is front-loaded with the core action ('OpenAI-compatible chat/completions endpoint') and adds only the critical clarification about not requiring an agent. No redundant or filler text.

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 moderate complexity (7 parameters) and the absence of an output schema, the description does enough to guide invocation by establishing the OpenAI-compatible interface and the no-agent differentiation. The schema comprehensively documents all parameters. It could be more complete by mentioning how this relates to other chat/completions variants (v4, agent-based), but the current description is sufficient for selecting and invoking this tool in most cases.

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%, with all 7 parameters having clear descriptions such as 'The model name', 'Optional session id', and 'Sampling temperature'. The tool description adds no additional parameter-level meaning, so the baseline of 3 applies. The description's focus on 'model/provider' does echo the model and provider_id parameters, but not beyond what the schema already states.

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 identifies this as an OpenAI-compatible chat/completions endpoint with a specific verb/action ('chat/completions') and the resource (model/provider). It explicitly distinguishes itself from siblings by noting it operates 'without a pre-created agent', which is a specific and useful differentiator against the many agent-based chat 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?

The description states when to use this tool: when you want to select the model/provider directly without needing a pre-created agent. This implies a clear usage context and contrasts with agent-based alternatives. However, it does not explicitly enumerate when NOT to use it or mention alternative tools like lyzr_agent_chat_completions, so it stops short of a full 5.

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/nandanNM/lyzr-mcp'

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