Skip to main content
Glama
io.github.ufhouck/aicost-cli

io.github.ufhouck/aicost-cli

recommend_ai_model

Finds cost-effective AI models for a described task, with filters for modality, budget, currency, and legacy models.

Instructions

Recommend the best cost-effective AI models for a task description. Supports keywords like 'coding', 'cheap', 'fast', 'agentic', 'vision', 'reasoning', 'video', 'image', 'music'.

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": {
      "task_description": "<task_description>"
    },
    "name": "recommend_ai_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of recommendations (default: 3)
currencyNoTarget currency code (default: 'USD')
model_typeNoOptional modality filter
include_legacyNoInclude legacy models (default: false)
max_input_costNoOptional maximum USD cost per 1M input tokens (or per unit)
task_descriptionYesDescription of the workload or task

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses how recommendation is driven (cost-effectiveness ranking, keyword recognition for modality and intent), which implies a read-only operation, but says nothing about output shape, result count behavior beyond the schema default, ranking criteria, or any rate/permission constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action, then the keyword guidance. The keyword list is dense but functional rather than filler; nothing is redundant.

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

Completeness3/5

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

With six parameters, no annotations, and no output schema, the description should say more about what comes back — e.g. that results are ranked by cost-effectiveness with cost figures. As written, the agent knows what to send but not what to expect or how modality filtering interacts with the keyword hints.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds genuine value by listing trigger keywords ('coding', 'cheap', 'fast', 'vision', 'reasoning', 'video'...) that tell the agent how to phrase the one required parameter to steer modality and cost trade-offs. It adds nothing about limit, currency, max_input_cost, or include_legacy, keeping it below 5.

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 specific verb and resource ('Recommend the best cost-effective AI models') plus the input that drives it ('for a task description'), which is enough for an agent to distinguish it from lookup-style siblings like list_ai_models or get_ai_cost. It stops short of naming or contrasting those siblings explicitly.

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 implied: supply a natural-language task description and get ranked model recommendations. There is no explicit 'use this instead of X when...' routing guidance against the several cost and comparison siblings, so the agent must infer that this is the open-ended discovery tool rather than a precise-cost lookup.

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