Skip to main content
Glama

create_anthropic_message

Create non-streaming Anthropic Messages calls via TokenLab, supporting native messages, multimodal blocks, tool use, and a prompt shortcut for simple inputs.

Instructions

Create a non-streaming TokenLab Anthropic Messages call with native messages, multimodal blocks, and tools. A prompt shortcut remains available for simple calls. Requires TOKENLAB_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesPublic TokenLab Claude-compatible model ID.
toolsNoNative Anthropic tool definitions.
top_kNoOptional top-k sampling cutoff.
top_pNoOptional nucleus sampling probability.
promptNoConvenience shortcut for one user text message; do not combine with messages.
systemNoOptional system prompt.
messagesNoNative Anthropic conversation messages.
metadataNoOptional request metadata.
thinkingNoThinking configuration for compatible models.
max_tokensNoMaximum output tokens.
temperatureNoOptional sampling temperature.
tool_choiceNoTool choice policy or explicit tool selection.
service_tierNoOptional service-tier hint.
stop_sequencesNoOptional stop sequences.
Behavior2/5

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

With no annotations, the description carries full burden but only discloses 'non-streaming' and 'requires TOKENLAB_API_KEY'. It does not cover success/failure behavior, rate limits, or destructive potential, missing critical behavioral context for an AI agent.

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 that front-load the core purpose and features. Every word adds value, with no redundancy or filler.

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

Completeness3/5

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

Given the tool's complexity (14 parameters, nested objects, no output schema) and lack of annotations, the description is adequate but leaves gaps such as return format, error handling, and streaming alternatives. It complements the schema but not exhaustively.

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?

The schema covers 100% of parameters with descriptions, so baseline is 3. The description adds value by explaining the 'prompt' parameter as a convenience shortcut not to combine with 'messages', and highlighting key features like multimodal blocks and tools.

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 verb 'Create', the resource 'non-streaming TokenLab Anthropic Messages call', and key features like native messages, multimodal blocks, and tools. It distinguishes from sibling tools like create_chat_completion by specifying the Anthropic Message API.

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

Usage Guidelines3/5

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

The description implies usage for Anthropic models via TokenLab and mentions an API key requirement, but does not explicitly state when to use vs. alternatives, nor does it provide when-not-to-use guidance or comparisons with sibling 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/hedging8563/tokenlab-mcp-server'

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