Skip to main content
Glama
jie8357IOII

google-my-business-mcp

by jie8357IOII

gmb_performance_locations_getdailymetricstimeseries

Read-onlyIdempotent

Retrieve daily metric values for a Google Business Profile location over a specified date range, enabling performance tracking and trend analysis.

Instructions

GET v1/{+name}:getDailyMetricsTimeSeries. Returns the values for each date from a given time range that are associated with the specific daily metric. Note: Only daily data is available. Hourly metrics are not supported. Example request: GET https://businessprofileperformance.googleapis.com/v1/locations/12345:getDailyMetricsTimeSeries?dailyMetric=WEBSITE_CLICKS&daily_range.start_date.year=2022&daily_range.start_date.month=1&daily_range.start_date.day=1&daily_range.end_date.year=2022&daily_range.end_date.month=3&daily_range.end_date.day=31

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRequired. The location for which the time series should be fetched. Format: locations/{location_id} where location_id is an unobfuscated listing id.
fieldsNoSelector specifying which fields to include in a partial response.
$.xgafvNoV1 error format.
quotaUserNoAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
dailyMetricNoRequired. The metric to retrieve time series.
prettyPrintNoReturns response with indentations and line breaks.
dailyRange.endDate.dayNoDay of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
dailyRange.endDate.yearNoYear of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
dailyRange.endDate.monthNoMonth of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
dailyRange.startDate.dayNoDay of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
dailyRange.startDate.yearNoYear of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
dailyRange.startDate.monthNoMonth of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
dailySubEntityType.dayOfWeekNoRepresents the day of the week. Eg: MONDAY. Currently supported DailyMetrics = NONE.
dailySubEntityType.timeOfDay.hoursNoHours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
dailySubEntityType.timeOfDay.nanosNoFractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
dailySubEntityType.timeOfDay.minutesNoMinutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
dailySubEntityType.timeOfDay.secondsNoSeconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already indicate a safe, read-only, idempotent operation. The description adds meaningful behavioral context beyond annotations: it clarifies that only daily data is supported (hourly is not) and that the return is per-date values. It also includes an example request illustrating required parameters, which provides practical operational insight not present in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description starts with the redundant HTTP endpoint 'GET v1/{+name}:getDailyMetricsTimeSeries' which repeats the tool name, and includes a long example URL that could be summarized. While the core explanation is only two sentences, the example is verbose and somewhat repetitive. It is not poorly structured but contains unnecessary duplication, earning a 3.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 17 parameters but full schema descriptions, the description plus schema is largely sufficient for selection and basic invocation. The description explains the daily-only limitation and gives an example request, which covers key usage details. Minor gaps include lack of response format details and no reference to the multi-metric sibling, but these are not critical for understanding the tool's function. Overall, it is fairly complete for the complexity involved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% description coverage for all 17 parameters, so the baseline is 3. The description's example request shows how to combine dailyMetric and dailyRange start/end dates, adding a small practical illustration. However, it does not meaningfully enrich the parameter meanings beyond what the schema already provides, so 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns daily metric values for a given date range using the verb 'Returns' and specifies the resource (daily metrics time series for a location). However, it does not differentiate from the sibling tool gmb_performance_locations_fetchmultidailymetricstimeseries, which also handles time series data. The purpose is clear but lacks sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a usage constraint ('Only daily data is available. Hourly metrics are not supported'), implying when this tool should not be used. It does not explicitly mention alternatives or compare to the multi-metric sibling. Guidance is mostly implied rather than explicit, so it earns a 3.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jie8357IOII/google-my-business-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server