create_meter_setup
create_meter_setup
Shortcut: meter, meter value, and calculation in one call
Live server: test server (test.mcp.solvimon.com) only.
Creates a meter, a meter value, and a meter value calculation in one call, or adds a value and calculation to an existing meter. Returns the mvc_... id to set as meter_value_calculation_id on a USAGE_BASED product item. If a step fails, the earlier steps are undone.
Example prompts
- “Set up a meter for API calls per customer, summed per billing period.”
- “Create a meter for peak concurrent seats.”
- “Track distinct active users per customer each month.”
- “Add an output tokens value to our existing tokens meter.”
- “Create a meter for GB stored, billed on the highest value in the period.”
Example output
Prompt: “Set up a meter for API calls per customer, summed per billing period.”
Tool call:
Response (trimmed):
Claude’s answer: The meter is set up: send events with meter reference docs-example-api-requests and a docs-example-api-requests-count value of 1 per call. To bill it, create a usage-based product item with meter value calculation mvca_SwDpzo0vA1bBwlCZ7s1j and price it in a plan.