Skip to main content
Glama

Etuki FinOps & LLM Pricing Oracle

check_context_cliff

Read-onlyIdempotent

Check one LLM request's token counts against a pricing snapshot and return a deterministic decision: allow, pre-cliff warning, hard-cliff reroute, or budget-gate block, with estimated costs and a cheaper fallback model where one exists. Estimates only, not billing. Receives model name and token counts only, never prompt content.

Input Schema

NameRequiredDescriptionDefault
modelYesModel ID from list_supported_models (gpt-6-1-sol, claude-haiku-5-5, claude-sonnet-5-5, claude-opus-5-5, gpt-6-luna)
pass_rateNo
request_idNoOptional trace ID (1..64 alphanumeric/underscore/hyphen chars).
retry_rateNo
prompt_tokensYes
cache_hit_rateNo
budget_gate_usdNo
allow_async_batchNo
completion_tokensYes
routed_cache_hit_rateNo
cold_start_cache_writeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real context beyond that: the decision is deterministic, results are cost estimates rather than billing records, and no prompt content is consumed. It omits how the eight tuning knobs (budget_gate_usd, cache_hit_rate, retry_rate, etc.) alter the decision, which keeps it below a 5.

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?

Two front-loaded sentences: the outcome space first, then the estimation caveat and the input-privacy constraint. No filler, and the most decision-relevant information leads.

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?

The return shape is described (decision plus estimated costs plus fallback model), which is necessary since no output schema exists. But for an 11-parameter tool with 18% schema coverage, an agent has no guidance on how the optional cost-model parameters interact or which defaults govern the decision, leaving a meaningful gap.

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

Parameters2/5

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

Schema coverage is only 18% — just 'model' and 'request_id' are documented — so the description must compensate and largely does not. It mentions model name and token counts, but the eight optional behavioral parameters (budget_gate_usd, cache_hit_rate, routed_cache_hit_rate, cold_start_cache_write, retry_rate, pass_rate, allow_async_batch) are left entirely unexplained in both schema and description.

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?

Names a specific verb and resource ('check one LLM request's token counts against a pricing snapshot') and enumerates the exact decision space: allow, pre-cliff warning, hard-cliff reroute, budget-gate block. This is clearly distinguishable from sibling read tools like list_supported_models and get_audit_evidence without opening the schema.

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?

'Estimates only, not billing' establishes the scope boundary and 'Receives model name and token counts only, never prompt content' implies a pre-flight check, but the description never states explicitly when to call this versus list_supported_models or the search/audit siblings. Usage is inferable rather than declared.

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