Skip to main content
Glama

create_meter

Define usage dimensions for billing products by specifying unit pricing and measurement details to track consumption.

Instructions

Create a meter (usage dimension) for a product

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYesThe product ID
nameYesMeter identifier (e.g. 'api_calls', 'tokens')
displayNameYesHuman-readable meter name
unitYesUnit of measurement (e.g. 'request', 'token')
unitPriceYesPrice per unit (e.g. '0.001')

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/Be-Infinitum/pulse-mcp'

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