Home / Servers / Linode API / post_read_metric

Get an entity's metrics

An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.

Get an entity's metrics __Beta__ Returns metrics information for the individual entities within a specific service type. Thi operation also requires an authorization: Bearer token you've created for this serviceType. > 📘… [POST /v4/monitor/services/{serviceType}/metrics]

Name on the gateway: linode_api__post_read_metric · may change things.

Parameters

NameTypeDescription
serviceType requiredstringThe Akamai Cloud Computing service being monitored. To see…
entity_ids requiredarrayThe id for each individual entity from a service_type. Get this value by…
filtersarrayIndividual objects that define dimension filters for the query.
group_byarrayCategorizes response data based on the specified fields: * entity_id. Include…
metrics requiredarrayA list of metric objects, each specifying a metric name and its corresponding…
time_granularityobjectAllows for an optional time granularity setting for metric data.
relative_time_duration requiredobjectSpecifies a relative time duration for data queries. Queries begin immediately…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "linode_api__post_read_metric",
  "arguments": {
    "serviceType": "…",
    "entity_ids": [],
    "metrics": [],
    "relative_time_duration": "…"
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get an entity's metrics tool with serviceType set to ….

More from Linode API