Skip to main content
Glama

Get recent booking activity insights

bookings_analytics_get
Read-onlyIdempotent

Read active-group booking day/hour and slow-period summaries for the last 7 or 30 days. It takes an IANA time zone; invalid zones fall back to America/New_York. Omits person-level cancellation rankings and broad scheduler/coach payloads. The existing service still computes all analytics and may be expensive for large groups. It can return empty analytics on internal failure; empty results alone do not prove no activity. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dateRange": "<dateRange>",
      "timeZone": "<timeZone>"
    },
    "name": "bookings_analytics_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeZoneYesIANA time zone name; an invalid zone falls back to America/New_York.
dateRangeYesPeriod to summarize: last_7 for the last 7 days or last_30 for the last 30 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / dateRange / description
      Added value: +"Period to summarize: last_7 for the last 7 days or last_30 for the last 30 days."
    • addedInput schema / properties / timeZone / description
      Added value: +"IANA time zone name; an invalid zone falls back to America/New_York."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations: it discloses the time-zone fallback, that the backend is expensive for large groups, that empty results can indicate internal failure rather than no activity, and that customer strings are user-entered data. These are exactly the failure-mode and cost caveats an agent needs before calling a no-output-schema analytics endpoint.

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

Conciseness4/5

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

Front-loaded and information-dense, with each sentence adding a distinct caveat rather than filler. Some clauses are telegraphic, dropping subjects ('Omits person-level cancellation rankings…'), which costs a little readability but not comprehension.

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?

Covers scope, cost, failure modes, and access constraints for a two-parameter read-only tool with no output schema. The main remaining gap is any indication of the result shape (which day/hour buckets or summary fields come back), which nothing else in the definition supplies.

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?

Schema coverage is 100%, so baseline is 3. The description restates both parameters (IANA time zone with fallback, 7/30-day range) but adds no syntax or meaning the schema and its enum do not already carry.

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?

States a specific verb and resource: booking day/hour and slow-period summaries over 7 or 30 days. It also scopes itself against neighboring capabilities by declaring what it omits (person-level cancellation rankings, broad scheduler/coach payloads), though it never names the sibling tools those payloads belong to.

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?

Usage context is implied rather than stated: the reader can infer this is the aggregate-activity tool and that cancellation rankings or coach/scheduler detail belong elsewhere. The hard group-scoping constraint (only qa-multi/qa-mcp-auth, Admin) is useful eligibility guidance, but no explicit when-to-prefer-an-alternative rule is given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources