Skip to main content
Glama
Ka1y0
by Ka1y0

Test streaming LM Studio tool calling

lmstudio_test_streaming_tool_calling

Verify real streamed Chat Completions tool-call round trips, covering fragmented delta reassembly, strict argument validation, fixture execution, streamed continuation, progress, and cancellation.

Instructions

Verify a real streamed Chat Completions tool-call round trip, including fragmented delta reassembly, strict argument validation, fixture execution, streamed continuation, progress, and cancellation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
stepsYes
errorsYes
successYes
endpointYes
warningsYes
latencyMsYes
toolExecutedYes
toolCallCountYes
argumentsValidYes
classificationYes
streamCompletedYes
finalAnswerCorrectYes
toolResultDeliveredYes
continuationObservedYes
fragmentedToolCallReassembledYes
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It details multiple internal behaviors (delta reassembly, argument validation, fixture execution, continuation, progress, cancellation) that go beyond a generic 'test' phrase, providing good transparency. It does not address side effects or prerequisites, but the test-oriented nature and output schema mitigate that gap.

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, front-loaded sentence that efficiently packs a comprehensive list of behaviors without any fluff. Every word contributes meaning, and it is easy to parse the tool's core purpose and scope.

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 the presence of an output schema, the description covers the key functional areas (streaming, tool calling, validation, continuation, cancellation). It lacks explicit usage context or relationship to siblings, but the detailed behavior list makes it sufficiently complete for a test tool.

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

Parameters2/5

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

The schema has one optional parameter 'model' with 0% description coverage, and the tool description does not mention it at all. The parameter name is somewhat self-explanatory, but no semantics or format details are provided beyond the type and length constraints, failing to compensate for the lack of 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 uses a specific verb 'verify' and clearly identifies the resource: 'a real streamed Chat Completions tool-call round trip.' It further enumerates distinct aspects (fragmented delta reassembly, strict argument validation, fixture execution, etc.), which distinguishes it from sibling tools like lmstudio_test_tool_calling.

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 clearly implies usage for streaming tool-call scenarios, which separates it from non-streaming alternatives. However, it does not explicitly mention when not to use it or reference sibling tools as alternatives, so it narrowly misses a 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/Ka1y0/lmstudio-mcp'

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