Skip to main content
Glama

Agent Data Tools: Full list (every tool as its own definition)

Chat completions (LLM): Llama 4 Scout

ai_chat
Read-only

Send a prompt, get an answer from Meta's Llama 4 Scout (17B active, 16 experts), with an optional system prompt, up to 1,024 output tokens and adjustable temperature. Fast and cheap. Use for drafting, reasoning steps, Q&A and any quick LLM call without an AI provider account; other open models by name at /v1/chat/completions, harder reasoning at ai_chat_large. Example: prompt=Explain HTTP status code 402 in one sentence.. Price $0.002/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "ai_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsNoOptional OpenAI tools array as JSON (function calling, up to 32 functions); the answer then carries tool_calls
promptYesUser prompt, up to 8,000 characters
systemNoOptional system prompt, up to 2,000 characters
messagesNoOptional OpenAI messages array as JSON (system, user, assistant with tool_calls, tool); replaces prompt and system. Together with tools, at most 20,000 characters
maxTokensNoMaximum output tokens, 1-1024 (default 400)
temperatureNo0-1.5 (default 0.6)
tool_choiceNoOptional: auto, none, required, or a JSON object naming one function
response_formatNoOptional OpenAI response_format as JSON: {"type":"json_object"} or a json_schema

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.