Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
log_costA

Log token usage and cost for a task. Call this after each AI interaction.

Args: model: Model name (e.g., 'claude-sonnet-4-6', 'gpt-5.4') tokens_in: Number of input tokens tokens_out: Number of output tokens task: Description of what the task was

cost_reportB

Get a spending report.

Args: period: 'today', 'week', 'month', or 'all'

set_budgetA

Set daily and/or monthly budget limits.

Args: daily_limit: Maximum daily spend in USD (0 = don't change) monthly_limit: Maximum monthly spend in USD (0 = don't change)

cost_trendB

Show daily spending trend as a text chart.

Args: days: Number of days to show (default: 7)

supported_modelsA

List all supported models and their pricing.

estimate_costA

Estimate cost without logging it. Use for planning.

Args: model: Model name tokens_in: Expected input tokens tokens_out: Expected output tokens

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/vanthienha199/agent-cost-mcp'

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