hermosodocs

metrics_query

Query metrics with groupBy and granularity read-only

Area: ANALYTICS + METRICS PARITY · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

One metrics read over what Hermoso already measures, shaped the way a report wants it. entity posts (posts, measured, reach, engagement, engagementRate for posts PUBLISHED in the window; groupBy channel, account, media, hour, dayOfWeek, post), accounts (followers and followerChange per account from the daily follower reading; groupBy account, channel or none) or inbox (received, sent, response times, reply rate; groupBy none or channel). granularity total, day, week (weeks start Monday) or month. Window: days (default 30) or fromDate + toDate. Reach and engagement are never added across platforms: a grouping that would pool them is split by channel, and the reply says so. metrics_catalog lists every metric, grouping and limit. Read-only, 0 credits.

Parameters

ParameterTypeDescription
brandstringprofile id/name from list_brands, this call only
entity"posts" | "accounts" | "inbox"default posts
metrics"posts" | "measured" | "reach" | "engagement" | "engagementRate"[]posts only; default all
groupBystring[]posts: channel, account, media, hour, dayOfWeek, post; accounts: account | channel | none; inbox: none | channel
granularity"total" | "day" | "week" | "month"
daysnumber
fromDatestring
toDatestring
channelstring
accountstring
sortstringposts: posts-desc, reach-desc, engagement-desc, engagementRate-desc, period-asc
limitnumberposts: rows, 1-1000 (default 100)
timezonestring

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/metrics_query.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"metrics_query","arguments":{}}}

CLI

hermoso call metrics_query --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json