Skip to main content
Glama

Compare Prices Across Vendors

compare_prices
Read-onlyIdempotent

Compare AI model prices across vendors to find the lowest inference costs. Search specific models or families and sort by price for cost optimization and vendor selection.

Instructions

Cross-vendor price comparison for a specific model or model family.

Shows the same model (or family) priced across different vendors, sorted cheapest first. Essential for cost optimization and vendor selection.

Examples:

  • "Compare Llama 3.1 70B pricing across vendors" → model_name="Llama 3.1 70B"

  • "Cheapest GPT-4 family output pricing" → model_family="GPT-4", direction="Output"

  • "Claude pricing comparison" → model_family="Claude"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_nameNoModel name to compare prices for, e.g. 'GPT-4o', 'Llama 3.1 70B'
model_familyNoModel family to compare, e.g. 'GPT-4o', 'Claude 3.5'
directionNoFilter by pricing direction
modalityNoFilter by modality: Text, Image, Audio, etc.
limitNoMaximum results (default 50)
_atom_api_keyNoYour ATOM API key for full access. Omit for free tier (redacted data).
Behavior4/5

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

Adds crucial behavioral detail not present in annotations: results are 'sorted cheapest first.' Annotations already establish read-only/idempotent safety (readOnlyHint=true, destructiveHint=false), so description appropriately focuses on business logic behavior rather than safety. No contradictions with annotations.

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?

Perfectly structured with one-line purpose, behavioral constraint (sorting), use case context (cost optimization), and three targeted examples. Every sentence serves a distinct function; no redundancy or filler content.

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?

Given 6 parameters with complete schema coverage and safety annotations, the description provides excellent context through examples. Minor gap: no output schema exists, and description could briefly characterize the return value (e.g., 'returns list of vendor offers') to complete the picture.

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?

Despite 100% schema coverage, the examples section adds substantial semantic value by demonstrating the relationship between model_name and model_family parameters, and showing how to map user intent (e.g., 'Cheapest GPT-4 family') to specific parameter values including the direction enum.

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?

Description opens with specific verb 'Cross-vendor price comparison' and identifies the resource (prices for specific models/families). Distinct from siblings like get_vendor_catalog (which likely lists vendors without price comparison) and get_model_detail (which provides specifications rather than pricing).

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?

Provides three concrete examples mapping natural language queries to exact parameter combinations, giving clear context for how to use model_name vs model_family and direction parameters. Lacks explicit 'when not to use' or named sibling alternatives, but examples provide strong implicit guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A7OM-AI/atom-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server