Skip to main content
Glama

anansi_price_current

FREE. Current per-token prices for LLMs as recorded at our last poll: usd_per_prompt_token and usd_per_completion_token (USD per single token, not per million), context window in tokens, and the observation timestamp (unix seconds). Use this to check what a model costs right now, or to compare a handful of models before routing. Do NOT use it to see how a price MOVED — it returns only the latest observation; use anansi_price_changes_recent (free) or anansi_price_history (paid). Input: model_id is a substring match, so 'gpt-5' matches every gpt-5 variant; resolve exact IDs with anansi_search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
model_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description fully carries behavioral details: it is free, returns only the latest observation, and uses substring matching. It also discloses the return fields and timestamp, making behavior transparent.

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 description is packed but not bloated; every sentence adds value. It is front-loaded with 'FREE' and key output fields, but a bit long and could be tightened without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description explains the output fields (per-token prices, timestamp), usage context, and provides cross-references and hints. It fully covers what an agent needs to know to decide when to use this tool and what results to expect, despite lacking an output schema.

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?

The description explains model_id's substring behavior but entirely omits the 'limit' parameter. Since schema coverage is 0%, it should explain both parameters; the limit's purpose (likely result cap) is not mentioned.

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 clearly states the tool's function: retrieving current per-token prices for LLMs, with specific fields listed. It distinguishes itself from siblings by explicitly noting it returns current prices and not price movements, with alternatives named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit use cases ('check what a model costs right now, or compare a handful of models') and anti-use cases ('Do NOT use it to see how a price MOVED'), pointing to specific alternative tools. Also explains substring matching and how to resolve exact IDs.

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