Skip to main content
Glama

get_fastest

Retrieve the N lowest-latency available models by pinging providers and ranking results; filter by quality tier, provider, or free-only, and optionally verify non-empty outputs.

Instructions

Get the N fastest available models right now. Use when the user wants recommendations or "best/fastest/free" models.

Pings configured providers and returns top N by latency. Use model_id from results as the code name when inserting or configuring (e.g. run(prompt, model_id=..., provider=...)). Example: get_fastest(free_only=True, min_tier="A", count=5) for "5 free A-or-better models".

When verified=True, also sends a real prompt to each model to confirm it produces non-empty output. Models that ping as UP but return empty content are excluded.

Args: min_tier: Minimum quality tier (default "A" — shows S+, S, A+, A) provider: Limit to specific provider count: How many results (default 5) free_only: If true, only Lane A (never invoices) include_paid: Include funded Lane C hosts verified: If true, verify models produce non-empty output (default false)

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

Input Schema

NameRequiredDescriptionDefault
countNo
min_tierNoA
providerNo
verifiedNo
free_onlyNo
include_paidNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / include_paid
      Added value: +{
      +  "default": false,
      +  "title": "Include Paid",
      +  "type": "boolean"
      +}
  2. First observedv0.7.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it discloses that the tool actively pings providers, that `verified=True` sends a real prompt to each model (a genuine side effect with cost/latency implications), and that empty-output models are excluded. It never mentions rate limits, timeouts, or whether verification incurs billing, which is the remaining gap.

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?

Core behavior and usage trigger are front-loaded in the first two sentences, and the example is well placed. The trailing Args block partially restates the schema, but it is where the substantive parameter semantics live, so it earns most of its space; the trade-off is a slightly bloated definition.

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?

Six optional parameters are all explained, and an output schema exists so return values need no prose. What remains underspecified is the domain vocabulary an agent would need to reason about results — what a tier means, what latency ranking implies about stability, and whether verification consumes credits.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: every one of the six parameters is given meaning beyond its name — min_tier expands to 'S+, S, A+, A', free_only is defined as 'Lane A (never invoices)', include_paid as 'funded Lane C hosts', and verified's output-checking behavior is spelled out. The only weakness is that 'Lane A/C' jargon is used without definition.

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?

A specific verb and resource ('Get the N fastest available models') plus the mechanism ('Pings configured providers and returns top N by latency') make the operation unambiguous. It also names the downstream role of the result ('Use model_id from results as the code name'), so an agent knows what the output feeds into.

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?

It gives an explicit trigger ('Use when the user wants recommendations or "best/fastest/free" models') and a concrete worked example mapping a natural-language request to arguments. What's missing is any exclusion — no statement of when to prefer a catalog-style sibling or when not to use this tool.

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