Skip to main content
Glama

Chat with Preset

chat_with_preset

Select a model preset (smart, cheap, creative, fast, or coder) and send a prompt to generate a chat completion.

Instructions

Generate a chat completion using a predefined model preset (smart, cheap, creative, fast, coder)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
presetYesThe preset to use
promptYesThe prompt to send
system_promptNoOptional system prompt
Behavior2/5

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

The description only restates the tool's purpose without adding behavioral details such as response format, rate limits, or non-determinism. The openWorldHint annotation exists but is not elaborated in the description, and no additional transparency is provided.

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 a single, concise sentence that front-loads the action and lists the presets efficiently, with no unnecessary words.

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?

For a tool with many siblings and no output schema, the description lacks usage context, differentiation from alternatives, and expected response information, leaving the agent under-informed for proper selection and invocation.

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 schema already provides full descriptions for all three parameters, including an enum for preset. The description merely lists the preset values, adding no additional semantic context beyond what the schema already contains.

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 'Generate a chat completion using a predefined model preset' with a specific verb and resource, and lists the preset options (smart, cheap, creative, fast, coder), differentiating it from sibling chat tools that do not mention presets.

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 when to use (when a preset is desired) but provides no explicit guidance on when to choose this tool over alternatives like chat_completion or chat_ensemble. No exclusions or alternative references are given.

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/villagertim/universal-mcp-for-openrouter'

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