Skip to main content
Glama

Server Details

Cost per run, tool, model and day for AI agents, from one call or an OpenTelemetry export.

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 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation4/5

cost_report, weekly_report, and usage_and_upgrade all surface spend information, so there is mild overlap. However, descriptions differentiate them well: cost_report is a flexible granular breakdown, weekly_report is a fixed 7-day plain-English summary, and usage_and_upgrade is quota/metering plus an upgrade link. log_costs is clearly the write path.

Naming Consistency4/5

All names use consistent snake_case, which is good. The semantic pattern is slightly mixed (log_costs is verb_noun while cost_report, weekly_report, and usage_and_upgrade are noun phrases), but each name is readable and predictable.

Tool Count4/5

Four tools is a tight, focused set for a cost-logging server: log, report, weekly summary, and usage/upgrade. It is on the lean side with no per-run detail or config tool, but nothing is redundant enough to bloat the surface.

Completeness4/5

The core lifecycle of logging costs and reading them back is covered, including caps, alerts, and quota visibility. Minor gaps exist (no way to inspect or delete individual logged events, no webhook/config management), but these are workable given the append-only nature of cost logging.

Available Tools

4 tools
cost_reportAInspect

Cost per run, per tool, per model and per day. Without an API key pass run_id (one run). With a key: everything on that key. Free shows 7 days, Pro 30.

Inputs: days, run_id.

log_costsAInspect

Log what your agent's model and tool calls cost, then get the running total for the run and for today. Pass events (one per call, up to 500) or an OpenTelemetry OTLP/JSON trace export as otel (gen_ai.usage.input_tokens / output_tokens / gen_ai.request.model are read; trace id becomes run_id). Give cost_usd per call, or tokens plus your own per-million prices; nothing is guessed. Optional caps: run_cap_usd and daily_cap_usd. Free watch-only returns would_alert when a cap is crossed; Pro posts one alert per day to alert_webhook. Never blocks or changes your agent.

Inputs: otel, events, run_id, run_cap_usd, +4 more.

usage_and_upgradeAInspect

Show today's usage for your key or IP and the $9/month upgrade link. Free tier: 500 calls/day. Not metered.

Inputs: no named parameters.

weekly_reportAInspect

Plain-English summary of the last 7 days of spend: total, top runs, top tools, top models, busiest day. Read-only; sends nothing. Needs a free API key.

Inputs: no named parameters.

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.

    Resources