Skip to main content
Glama

TokenLedger: Live LLM Pricing & Agent Cost Calculator

search_llm_models

Search live LLM API pricing, context windows, prompt caching rates, and intelligence benchmarks.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 10, max 50)
queryNoSubstring filter on model name or ID (e.g. claude, deepseek)
providerNoProvider slug (e.g. anthropic, openai, google, deepseek)
min_contextNoMinimum context window in tokens
vision_onlyNoOnly include image/vision models
reasoning_onlyNoOnly include reasoning-capable models
max_blended_per_1mNoMaximum 3:1 blended USD price per 1M tokens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Search' implies a read-only lookup, but the description never says so explicitly, nor does it mention rate limits, result ordering, pagination beyond the limit param, or data freshness guarantees beyond the word 'live'.

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?

A single compact sentence lists the searchable dimensions with zero filler and is front-loaded with the action. Nothing in it is redundant or padded.

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?

For a seven-parameter tool with no annotations and no output schema, the description should say more: it partially covers return content by naming the four data categories, but leaves behavior, ordering, and differentiation from siblings unaddressed. Adequate but with clear gaps.

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 every one of the seven parameters is already documented in the schema. The description adds only marginal meaning by naming the attribute categories (pricing, context, caching, benchmarks) that the filters like min_context and max_blended_per_1m operate on. Baseline 3 is appropriate.

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 ('Search') and resource ('LLM API' models) and enumerates the attributes surfaced: pricing, context windows, prompt caching rates, intelligence benchmarks. It is clear what the tool does, though it never distinguishes itself from the sibling compare_llm_pricing, leaving the agent to infer the split.

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 word 'Search' plus the filterable attributes implies a lookup/filtering use case, but there is no explicit when-to-use, when-not-to-use, or pointer to siblings like compare_llm_pricing or estimate_agent_cost. Usage must be inferred from the tool's name and description.

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.

Resources