Skip to main content
Glama

agnes_chat

Generate text and reason through multi-turn conversations. Supports system prompts, tool calling, streaming, and thinking mode with models offering up to 1M-token context.

Instructions

Capability 1 — Text generation & reasoning. OpenAI-compatible chat completions. Supports multi-turn conversation, system prompts, tool/function calling, streaming, and Thinking mode. Models: agnes-2.0-flash, agnes-1.5-flash. agnes-2.0-flash supports up to 1M-token context (set max_tokens up to 1048576). Vision is also available here by passing image_url content parts; use agnes_vision for a simpler image-understanding interface.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoChat model name.agnes-2.0-flash
messagesYesConversation messages (system/user/assistant/tool).
temperatureNoSampling randomness. Lower = more deterministic.
top_pNoNucleus sampling probability.
max_tokensNoMax output tokens. agnes-2.0-flash supports a 1M context window; bound here is 1,048,576.
streamNoEnable SSE streaming (consumed server-side, full text returned).
toolsNoTool/function definitions for agent workflows.
tool_choiceNoHow the model uses tools.
enable_thinkingNoEnable Thinking mode via chat_template_kwargs.enable_thinking (OpenAI-compatible).
thinking_budgetNoAnthropic-compatible thinking budget_tokens (implies thinking.type='enabled'). Recommended: 2048+.
frequency_penaltyNoReduce repetition (agnes-1.5-flash).
presence_penaltyNoEncourage new topics (agnes-1.5-flash).
repetition_penaltyNoRepetition control coefficient (agnes-1.5-flash).
stopNoCustom stop sequences (agnes-1.5-flash).
seedNoRandom seed for reproducibility (agnes-1.5-flash).
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It covers streaming behavior (server-side consumed, full text returned), thinking mode, tool calling, and vision support. However, it lacks details on potential issues like error handling, destructive actions, rate limits, or cost implications, leaving gaps in transparency.

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 concise and structured: four sentences covering main capability, features, models, and vision. No redundant information, and key points are front-loaded.

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 complexity (15 parameters, no output schema), the description covers the core purpose and capabilities well. However, it does not explain the return format or output structure, which would be helpful for an AI agent invoking the tool. Still, the description is largely complete for the main functionality.

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 coverage is 100% with descriptions for all 15 parameters. The description adds minor context (e.g., 1M-token context limit, vision via image_url), but most parameter semantics are already well-documented in the schema. Baseline of 3 is appropriate.

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 it is for text generation and reasoning, OpenAI-compatible chat completions, and lists capabilities including multi-turn conversation, system prompts, tool calling, streaming, thinking mode, and vision. It also specifies supported models and context lengths, distinguishing it from siblings like agnes_vision which provides a simpler interface for image understanding.

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 mentions vision is available but suggests using agnes_vision for a simpler interface, providing some guidance. However, it does not explicitly state when to use this tool vs. alternatives like agnes_image or agnes_video_* tools, nor does it provide when-not-to-use scenarios.

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/nontracey/agnes-mcp'

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