Skip to main content
Glama

Generate a chat completion with Llama 3.3 70B

chat
Read-only

LLM chat completion with Llama 3.3 70B (fast): send messages or a prompt, up to 1,024 output tokens. Price: $0.004 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoA single user message (use this or messages), up to 24,000 characters
messagesNoChat history as [{role: system|user|assistant, content}], up to 50 messages
max_tokensNoUp to 1024 (default 1024)
temperatureNo0 to 2, default 0.6; lower is more predictable

Output Schema

NameRequiredDescriptionDefault
modelNo
usageNo
responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / max_tokens / description
      Previous value: -"Up to 2048 (default 1024)"New value: +"Up to 1024 (default 1024)"
  2. Changed5 schema fields changed
    • changedInput schema / properties / max_tokens / description
      Previous value: -"Up to 2048"New value: +"Up to 2048 (default 1024)"
    • changedInput schema / properties / messages / description
      Previous value: -"[{role, content}]"New value: +"Chat history as [{role: system|user|assistant, content}], up to 50 messages"
    • addedInput schema / properties / prompt / description
      Added value: +"A single user message (use this or messages), up to 24,000 characters"
    • addedInput schema / properties / temperature / description
      Added value: +"0 to 2, default 0.6; lower is more predictable"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "model": {},
      +    "response": {},
      +    "usage": {}
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The description goes well beyond the readOnlyHint/openWorldHint annotations by disclosing a concrete price ($0.004 USDC), the payment mechanism (x402 on Base, Solana or Arc), and the important policy that failed calls are not charged. That billing detail is materially useful for an agent deciding whether to invoke a paid endpoint. Remaining gaps are rate limits and latency expectations, which are not mentioned.

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?

Two tight sentences with zero filler; capability, model, output cap, price, payment rails, and failure-charge policy are all front-loaded in that order. Nothing is repeated and no sentence could be dropped without losing information.

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?

An output schema exists, so return values need not be explained, and the description correctly focuses on cost and payment, which is what an agent needs before spending money. It is nearly complete for a simple inference call, falling short only on operational details like rate limits, latency, and mutual exclusivity of prompt vs messages.

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 baseline applies: the schema already documents prompt, messages, max_tokens, and temperature. The description only echoes the 1,024 output-token cap, which is already in the schema, and adds no format or interaction nuance (e.g., what happens if both prompt and messages are supplied).

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?

States a concrete verb and resource ('LLM chat completion'), names the specific model (Llama 3.3 70B), and indicates the two input modes (messages or prompt). An agent can tell this is a general-purpose inference endpoint, though it does not explicitly differentiate itself from similar siblings such as text_answer, summarize, or classify.

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?

Usage is only implied: the description says 'send messages or a prompt', which hints at conversational vs single-shot usage but never states when to pick this over the many text-processing siblings (summarize, classify, text_answer, extract). No exclusions or prerequisites are given, so the agent must infer routing from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources