Skip to main content
Glama
wireboard-mcp

wireboard-mcp

Official
by wireboard

Get period totals

get_aggregate
Read-onlyIdempotent

Retrieve period totals for a site's visitors, pageviews, bounce rate, and visit duration over a chosen date range to answer traffic summary questions.

Instructions

Period totals for one site: visitors, pageviews, bounce_rate, visit_duration. Use this for 'how many visitors did site X get in date range Y' style questions.

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": {
      "site_id": "<site_id>",
      "range": "<range>"
    },
    "name": "get_aggregate"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeYesDate range. Accepts natural strings ('today', 'yesterday', 'last 7 days', 'last 30 days', 'this week', 'last week', 'this month', 'last month') or an explicit 'YYYY-MM-DD..YYYY-MM-DD' range. UTC. If you have separate from/to dates, use the explicit form.
site_idYesSite ID. Get it from list_sites if you don't know it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered without prose. The description's only added behavioral value is the list of returned metric fields, which matters because there is no output schema, but it says nothing about how those metrics are computed or scoped.

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

Conciseness5/5

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

Two compact sentences: the first front-loads what the tool returns, the second gives the triggering use case. There is no filler or redundancy.

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?

With no output schema, the description compensates by enumerating the returned metrics, and the fully documented parameters mean no further schema explanation is needed. Minor gaps remain, such as whether values are per-site totals only and how empty ranges behave.

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 description coverage is 100%, and the range parameter already documents accepted natural strings, the explicit 'YYYY-MM-DD..YYYY-MM-DD' form, and UTC. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies.

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 uses a specific noun phrase ('Period totals for one site') and enumerates the exact metrics returned (visitors, pageviews, bounce_rate, visit_duration), which clearly separates it from aggregation siblings like get_breakdown and get_timeseries. It does not name those siblings explicitly, so it stops short of a 5.

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

Usage Guidelines4/5

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

It provides a concrete usage context with a quoted example question ('how many visitors did site X get in date range Y'), which tells the agent the intended query shape. It offers no explicit exclusions or pointers to alternative tools for breakdown/time-series needs, so a 4 rather than a 5.

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