Skip to main content
Glama

suggest_model_for_task

Find a cost-effective AI model for your task. Get a recommended model, live cost estimate, and savings vs current provider.

Instructions

Suggest the best and cheapest AI model for a given task. Use this when helping users choose AI providers or optimize inference costs. Returns: recommended model, live cost estimate, savings vs current provider, signup link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
current_providerNoCurrent LLM provider for cost comparison.openai
task_descriptionYesWhat task the model should perform (e.g. 'chatbot', 'code generation', 'summarization').
monthly_budget_usdNoCurrent monthly API spend in USD (0 = unknown). Optional.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description must carry the burden. It discloses return values (recommended model, cost estimate, savings, signup link) and implies optimization behavior. It does not mention auth requirements or rate limits, but for a recommendation tool this is reasonable.

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 three sentences long, with the purpose and usage in the first two sentences and return values in the third. It is front-loaded and contains no unnecessary words.

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

Completeness5/5

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

With an output schema present, the description does not need to explain return values, but it does so anyway. It covers purpose, usage, and outputs completely for a tool with three well-documented parameters.

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%, so the baseline is 3. The description does not add additional parameter semantics beyond what the schema already provides, which is acceptable.

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 tool suggests the best and cheapest AI model for a task, using specific verb 'suggest' and resource 'model'. It distinguishes from siblings like compare_providers and get_available_models by focusing on cost optimization.

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

Usage Guidelines4/5

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

The description explicitly says 'Use this when helping users choose AI providers or optimize inference costs', which provides clear usage context. It does not mention when not to use, but sibling names like calculate_savings and get_pricing imply alternatives.

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/bystray/gonka-mcp-server'

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