Skip to navigation

Manage meters with Mediation MCP

View as Markdown

Use this reference to discover, validate, create, update, import, export, and duplicate Mediation meters.

The manage_meters tool manages meter definitions and configuration. It provides 19 operations for event schemas, event stores, connections, task graphs, validation, and meter lifecycle actions.

Start with meter_guidance to retrieve workflows and tips. Do not invent operation parameters. Use the guidance operation or the tool schema to determine the supported parameters.

manage_meters operations

OperationAccessPurpose
meter_guidanceReadRetrieve workflows and tips. Start here.
list_metersReadList available meters.
get_meterReadRetrieve a meter and its full task graph.
list_event_definitionsRead/writeList event schemas.
create_event_definitionRead/writeCreate an event schema.
update_event_definitionRead/writeUpdate an event schema.
list_event_storesRead/writeList event stores.
create_event_storeRead/writeCreate an event store. An event store can be used as an optional lake target.
update_event_storeRead/writeUpdate an event store.
list_connectionsReadList connections, including S3, Kafka, Snowflake, and HTTP connections.
list_data_typesReadList supported data types.
get_meter_settingsReadRetrieve meter settings and unit-of-measure context.
get_task_metadataReadRetrieve operator and task schemas.
validate_meterReadValidate meter tasks without saving them.
create_meterWriteDeploy a meter with version 0.0.1.
update_meterWriteReplace the tasks for a meter.
export_meterRead/writeExport a meter for backup or migration.
duplicate_meterRead/writeClone a meter.
import_meterRead/writeImport a meter.

Custom meter tasks

Custom meters use tasks with the following properties:

  • nodeType: SOURCE, PROCESSOR, or SINK.
  • operatorType.
  • predecessors.
  • metadata.

Updating a meter

An update_meter operation replaces the full task set. Before you update a meter, retrieve the current definition and validate the complete replacement task graph. Obtain approval before you execute the update.