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

io.github.ufhouck/aicost-cli

list_ai_models

List AI models with effective pricing across text, image, video, audio, and gateway providers; compare costs and filter by provider, modality, tag, or currency, with optional live OpenRouter catalog.

Instructions

List AI models and their effective pricing across text, image, video, audio, and gateway providers. Supports curated flagship models plus optional 400+ live OpenRouter catalog.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_ai_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoFilter by capability tag (e.g., 'coding', 'cheap', 'fast', 'agentic', 'vision', 'reasoning', 'long-context')
currencyNoTarget currency code (e.g., 'USD', 'TRY', 'EUR', 'GBP'). Defaults to 'USD'.
providerNoFilter by provider name (e.g., 'OpenAI', 'Anthropic', 'Google', 'xAI', 'DeepSeek', 'Meta', 'Mistral', 'OpenRouter')
model_typeNoFilter by modality/model type
include_liveNoInclude 400+ live models from OpenRouter catalog (default: false)
include_legacyNoInclude older/superseded models tagged as legacy (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add useful context that the default catalog is curated flagship models while a 400+ live OpenRouter catalog is opt-in, and that pricing returned is 'effective'. It does not state that the call is read-only/non-mutating, whether results are cached, or whether live lookups have latency or rate constraints.

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?

Two sentences with no filler, front-loading the resource and scope before the catalog-size detail. Nothing is repeated from the title and no sentence is wasted.

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?

For a zero-required-parameter, read-only list tool with a fully documented schema, the description covers the catalog source and pricing intent adequately. The main gap is the absence of any hint about the return shape or volume, which matters since there is no output schema.

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 description coverage is 100%, so the schema already documents all six parameters, making 3 the baseline. The description adds a little meaning by explaining the curated-vs-live distinction behind include_live, but says nothing about include_legacy, currency conversion behavior, or how tag/provider filters interact.

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?

The description gives a specific verb and resource ('List AI models and their effective pricing') and states the coverage surface (text, image, video, audio, gateway providers). It is clear enough to separate from siblings like compare_ai_models or calculate_ai_cost, though it never explicitly names those alternatives as out of scope.

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 only implied: 'List' plus 'effective pricing' suggests a catalog-browsing tool rather than a cost calculator or comparison tool, but no sentence states when to prefer this over the siblings. There are no exclusions or prerequisites given.

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