Skip to main content
Glama

get_dog_stats

Read-only

Fetch per-dog activity statistics for specified dogs, either all-time or within a date range, including total distance and duration.

Instructions

Per-dog activity stats, all time or over a date range; distance in centimeters, duration in milliseconds. POSTs the ids to …/dog/stats/bulk (a read), ?startDate&endDate by activity start date. Figures sit on each animalProfileGroups entry; same units. Both dates or neither (a start date alone returned nothing). Lags writes: right after linking, a run returned no group.

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": {
      "dogIds": "<dogIds>"
    },
    "name": "get_dog_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
dogIdsYes
enddateNoCalendar date, YYYY-MM-DD (UTC)
startdateNoCalendar date, YYYY-MM-DD (UTC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses several non-obvious traits: the read is performed via a POST to a bulk endpoint (so an agent shouldn't avoid it as a write), the result lags writes immediately after linking, and a lone start date returns nothing. These are exactly the failure modes an agent would otherwise hit blindly, and none of them are 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.

Conciseness4/5

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

Nearly every clause carries operational information and the key constraints are front-loaded: scope first, then mechanics, then edge cases. The telegraphic phrasing of 'Figures sit on each `animalProfileGroups` entry; same units' is hard to parse on first read and costs some comprehension.

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

Completeness3/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 should explain the return shape, and it only gestures at it via 'animalProfileGroups entry' without saying what fields appear or whether the response is keyed per dog. The date-omission case (both omitted = all time) is implied rather than stated, leaving a moderate gap for a three-parameter tool.

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

Parameters4/5

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

The schema documents the date format but not what the dates filter on; the description adds that they match activity start date and that both must be supplied or omitted. It also gives output units (centimeters, milliseconds), though those describe results rather than input parameters, and the dogIds array semantics remain undiscussed.

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 names a specific resource (per-dog activity stats) and a specific scope (all time or a date range), which lets an agent tell it apart from generic stats tools. It stops short of naming a sibling such as get_dog_lifetime_stats, so the boundary between 'all time' here and 'lifetime stats' elsewhere is left for the agent to infer.

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 is implied by 'all time or over a date range' plus the note that endDate filtering is by activity start date, and 'Both dates or neither' tells the agent how to combine parameters. There is no explicit statement of when to prefer this over get_dog_lifetime_stats or get_stats, and no exclusions.

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

Deploy Server

Other Tools