Skip to main content
Glama

Provider endpoints

aa_providers

Query provider endpoints to compare per-host pricing, precision, speed, and feature flags; filter by model or host, or find cost-effective endpoints globally.

Instructions

Provider endpoints: per-host pricing, precision, speed and feature flags.

Pass model for one model's serving endpoints (with per-endpoint $/task and precision), or host/filters for the 1,200-row provider board. With neither, returns the cheapest endpoints globally.

Args: model: model name or slug — switches to per-model endpoint detail. host: substring match on the serving host (e.g. "groq"). top: rows to return (default 15). sort: cost_per_task (default), price_in, price_out, tps, ttft, intelligence or context_tokens. Lower-is-better keys sort ascending. fields: comma list of columns; supports precision, cache_read, discount, e2e, function_calling, json_mode, context_tokens. open_weights: keep only endpoints for open- or closed-weights models. min_context: drop endpoints with a smaller context window (tokens). refresh: bypass the cache and re-fetch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
hostNo
sortNocost_per_task
modelNo
fieldsNo
refreshNo
min_contextNo
open_weightsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present, the description carries the full behavioral burden and does meaningfully cover it: it discloses the default result set when no arguments are given, that a cache exists and ``refresh`` bypasses it, that lower-is-better sort keys order ascending, and the default row count. It omits auth requirements, rate limits, and any failure behavior, so it is strong but not exhaustive for an unannotated tool.

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?

The mode-selection rule is front-loaded in the first paragraph before the Args list, so the most decision-relevant information comes first. The parameter block is long but each line adds distinct semantics rather than restating the schema, so little is wasted; a tighter single paragraph could have trimmed a few lines.

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?

There is no output schema, so the description must convey the return shape, and it does name the key outputs ($/task, precision, the 1,200-row provider board). Combined with the mode rules and full parameter documentation, an agent has enough to call it correctly, though a note on result shape for the board mode (columns, pagination) would close the remaining gap.

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 description coverage is 0%, yet all eight parameters are explained in the Args block with genuine meaning beyond the schema: ``sort`` enumerates six keys plus the lower-is-better ascending rule, ``fields`` lists the extra columns it unlocks (cache_read, discount, e2e, etc.), ``host`` gives an example substring, and ``min_context``/``open_weights`` state their filtering semantics. This fully compensates for the empty schema descriptions.

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 opening line states the resource and the data it exposes (per-host pricing, precision, speed, feature flags), and the body distinguishes three operating modes: per-model endpoints, the host/filtered provider board, and the global cheapest-endpoint fallback. It never references the sibling tools (aa_model, aa_leaderboard) that an agent might confuse it with, so it falls short of a 5.

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?

Explicit routing logic inside the tool: pass ``model`` for one model's serving endpoints, ``host``/filters for the provider board, and 'with neither, returns the cheapest endpoints globally.' That resolves the main ambiguity about how to invoke it. It gives no guidance on when to prefer this over siblings like aa_model or aa_leaderboard, which keeps it from a 5.

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