Skip to main content
Glama

Server Details

Cloudflare Workers MCP server: ai-cost-optimizer

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
Repository
lazymac2x/ai-cost-optimizer-api
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct aspect of cost optimization: tracking, forecasting, alerting, breakdown, and calculation. There is no functional overlap between any pair of tools, making selection unambiguous.

Naming Consistency5/5

All tool names follow a consistent pattern of two lowercase nouns joined by an underscore (e.g., cost_tracker, model_breakdown). The naming style is uniform and predictable.

Tool Count5/5

Five tools is a well-scoped size for an AI cost optimizer, covering the essential operations without unnecessary complexity. Each tool serves a clear and necessary function.

Completeness4/5

The core workflows are covered: recording, retrieving, forecasting, alerting, breakdown, and calculation. Minor gaps exist (no update or delete operations), but agents can accomplish the main lifecycle without significant friction.

Available Tools

5 tools
budget_alertAInspect

Set and check budget limits for teams. Raises a flag when a configurable spending threshold is reached.

Inputs: action (required), team, threshold, budgetLimit.

cost_forecastAInspect

Forecast future AI spend based on historical usage patterns using daily-average linear projection.

Inputs: team, forecastDays, historicalDays.

cost_trackerAInspect

Record and retrieve AI API call costs by team. Persists to Cloudflare KV — survives cold starts and scale-out.

Inputs: action (required), team, model, metadata, +2 more.

model_breakdownAInspect

Analyze costs broken down by model for a given team over a configurable time window.

Inputs: days, team.

token_calculatorAInspect

Calculate cost from token counts for any supported AI model. Stateless — no KV required.

Inputs: model (required), inputTokens (required), outputTokens (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.