Skip to main content
Glama

Create Response (v4)

lyzr_create_response_v4

Generate model responses through the v4 endpoint by providing a prompt or structured inputs, with support for tools, streaming, and reasoning options.

Instructions

OpenAI-compatible v4 responses endpoint (model + input + tools).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText output format options
userNoEnd-user identifier
inputYesA plain text prompt, or a list of structured input items
modelYesThe model name
storeNoWhether to store the response (default true)
toolsNoTool definitions
top_pNoTop-p
streamNoWhether to stream (default false)
includeNoAdditional fields to include in the response
reasoningNoReasoning options
truncationNoTruncation strategy
temperatureNoSampling temperature
tool_choiceNoTool choice strategy
instructionsNoSystem instructions
max_output_tokensNoMax output tokens
previous_response_idNoPrevious response id to continue from
Behavior2/5

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

Annotations already indicate readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false. The description adds no extra behavioral context about what the endpoint actually does, what side effects it has, or what the response looks like. It merely restates the endpoint name.

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?

The description is a single sentence with zero fluff, which is concise and front-loaded. But, it is so short that it omits important decision-making information. Still, from a pure conciseness and structure standpoint, it is efficient and earns a 4.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 16 parameters, no output schema, and a one-line description, it is inadequate for an agent to understand the full behavior, return values, or when to use it. The description provides only a bare label without any situational or operational context.

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 all 16 parameters. The description mentions model, input, and tools, but these are trivially understandable from their names. The description adds no extra semantic meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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?

The description clearly identifies the tool as an OpenAI-compatible v4 responses endpoint with 'create response' semantics, which distinguishes it from many siblings. However, it doesn't explicitly differentiate it from closely related tools like lyzr_chat_completions_v4 or lyzr_create_inference_v4, so it's clear but not fully distinguishing.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It simply states what the endpoint is without any context on when it should be preferred over chat/completions or other response-generation tools.

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