Skip to main content
Glama

Track usage

track_usage
Destructive

MUTATES Autumn billing data — records a usage event (deducts/credits a feature balance). Provide EITHER feature_id OR event_name. Autumn API: POST /v1/balances.track.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoAmount of usage to record. Defaults to 1. Negative values credit the balance.
entity_idNoEntity id for entity-scoped balances.
timestampNoUnix timestamp (ms) for the event. Defaults to now.
event_nameNoEvent name to track usage for. Provide this OR feature_id.
feature_idNoThe feature to track usage for. Provide this OR event_name.
propertiesNoAdditional properties to attach to the usage event.
customer_idYesThe ID of the customer.
idempotencyKeyNoOptional key to dedupe retried events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.