Skip to main content
Glama

get_activity

Read-onlyIdempotent

Retrieve a dog or cat's step count, step goal, and distance per day, week, or month for completed periods, newest first, to review activity trends.

Instructions

Step count, step goal, and distance (km) per day, week, or month, newest first. Fi starts this list at the last finished period: yesterday, last full week (Monday to Monday), or last full month. For today's steps so far, use get_health_snapshot or get_behavior with period "day".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
petNoPet name or Fi pet id. Leave empty if there is only one dog on the account.
countNoHow many buckets, newest first. Max 90 daily, 26 weekly, 12 monthly.
periodNoSize of each bucket.daily

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the bar is lower, yet the description adds a genuinely non-obvious trait: Fi begins the list at the last *finished* period (yesterday, last full Monday-to-Monday week, last full month), meaning the current in-progress period is excluded. That single fact materially changes how an agent interprets an empty or shifted first bucket, and 'newest first' ordering is also disclosed.

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?

Three sentences, each carrying a distinct fact: what is returned, where the list starts, and where to go for today's data. The most decision-relevant information (content and granularity) is front-loaded with no filler.

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

Completeness5/5

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

The tool has an output schema, so return values need no explanation, and the remaining ambiguity an agent would face — why the newest bucket isn't today — is resolved explicitly. Combined with full schema coverage for its three parameters, nothing needed to call and interpret this tool correctly is missing.

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%, so pet, count, and period are fully documented with defaults and max values in the schema itself. The description restates period granularity but adds no semantics beyond it, and its use of 'day'/'week'/'month' does not match the schema enum values (daily/weekly/monthly) exactly. Baseline 3 is appropriate.

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

Purpose5/5

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

The description names the exact resource contents (step count, step goal, distance in km) and the three granularities it returns, so an agent knows precisely what data comes back without opening the schema. It also distinguishes itself from get_health_snapshot and get_behavior, which cover today's partial data.

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

Usage Guidelines5/5

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

It gives explicit routing: use this tool for completed periods, and use get_health_snapshot or get_behavior with period "day" for today's steps so far. The condition that selects each alternative is stated, not left to inference.

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