Skip to main content
Glama

create_response

Generate a non-streaming response from TokenLab using text or structured input. Requires a valid API key.

Instructions

Create a non-streaming TokenLab Responses API call with text or native structured input. Requires TOKENLAB_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoOptional deterministic seed.
textNoOptional native text formatting configuration.
userNoOptional end-user identifier.
inputYesResponses API input as text or native structured input items.
modelYesPublic TokenLab model ID.
toolsNoNative Responses API tool definitions.
includeNoAdditional response sections to include.
metadataNoOptional request metadata.
temperatureNoOptional sampling temperature.
tool_choiceNoTool choice policy or explicit tool selection.
instructionsNoOptional system/developer instructions.
service_tierNoOptional service-tier hint.
reasoning_effortNoReasoning-effort hint for compatible models.
max_output_tokensNoOptional output token cap.
parallel_tool_callsNoWhether the model may issue parallel tool calls.
truncation_strategyNoOptional truncation strategy.
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. The description mentions it is non-streaming and requires an API key, but fails to disclose other behavioral traits such as error handling, rate limits, or idempotency. It does not describe the side effects (e.g., creating a record), nor does it warn about potential failures due to missing keys or invalid inputs. For a mutation-like tool, this is inadequate.

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 sentences long, front-loading the purpose and then stating the requirement. Every word is meaningful; there is no redundancy or fluff. It adheres to the principle of conciseness while delivering essential information.

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's complexity (16 parameters, nested objects, no output schema), the description is minimal. It does not explain the return value format, error scenarios, or advanced usage patterns. While it covers the key requirement (API key) and input format, it lacks sufficient context for an agent to fully understand the tool's behavior in multi-step workflows.

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?

The input schema has 100% coverage, meaning all parameters have descriptions. The description adds marginal value by summarizing the input as 'text or native structured input,' which aligns with the 'input' parameter schema. It does not elaborate on any parameter beyond what the schema already provides. Thus, the description does not significantly enhance parameter understanding beyond the schema.

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's action: 'Create a non-streaming TokenLab Responses API call with text or native structured input.' It uses a specific verb (Create) and resource (TokenLab Responses API call), and the phrase 'non-streaming' distinguishes it from potential streaming variants. The sibling tools include other creation tools for different APIs (e.g., create_chat_completion, create_anthropic_message), so this tool is clearly for TokenLab's specific API.

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 mentions a prerequisite: 'Requires TOKENLAB_API_KEY.' It also specifies 'non-streaming', implying that if streaming is needed, a different tool should be used. However, it does not explicitly name alternative tools or provide exclusions for when not to use this tool. Despite this, the context is clear enough for an agent to infer usage from the sibling list.

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/hedging8563/tokenlab-mcp-server'

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