Skip to main content
Glama

AI models (LLM prices)

ai_models
Read-onlyIdempotent

~450 LLMs: items[] {id, provider, context, max_output, input_per_1m, output_per_1m (USD per 1M tokens), modalities_in, tools, structured_outputs, reasoning}. Filters q (name search, e.g. mimo), provider, needs (tools,json,vision,reasoning,audio,pdf), min_context; sort newest|price|context. $0.002/call. Use to list or filter LLMs by price, context and capabilities.

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": "ai_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
sortNo
limitNo
needsNo
providerNo
min_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / q
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare this a safe, idempotent, read-only, open-world query, so the description needn't carry the safety burden. It adds genuinely useful context beyond them: the catalog size (~450), the exact per-call price ($0.002/call), and the concrete item fields returned, including units (USD per 1M tokens).

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?

Dense and telegraphic, but front-loaded with the response shape, then the filters, then cost and the one-line use statement, so nothing trails unnecessarily. The field-list style is terse to the point of being hard to parse on first read, which keeps it from a 5.

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?

With no output schema, the description correctly describes the returned item fields and units, and it discloses cost and catalog scale. Gaps are minor: the 'limit' parameter, default page size, and whether results are paginated are unstated.

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 description coverage is 0%, so the description must compensate, and it largely does: q is defined as name search with an example ('mimo'), needs is expanded to concrete capability tokens (tools,json,vision,reasoning,audio,pdf), sort values are listed, and min_context/provider are named. Only 'limit' goes undefined.

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 gives a concrete resource ('~450 LLMs') and an explicit verb ('list or filter'), and enumerates the filtering axes (price, context, capabilities). An agent can distinguish this catalog-listing tool from narrower siblings such as ai_cheapest or ai_models_by_task purely from this text.

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?

'Use to list or filter LLMs by price, context and capabilities' states the intended use, but offers no when-not guidance and names no alternative for agents that want a single cheapest model rather than a filtered list. Usage is implied from the filters rather than routed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.