Skip to main content
Glama

get_behavior

Read-onlyIdempotent

Retrieve a pet's barking, licking, scratching, eating, and drinking trends with activity and rest data for a day, week, or month to spot appetite, thirst, or skin-related changes.

Instructions

Series 3+ behavior data: barking, licking, scratching, eating, and drinking, with Fi's own up/down change marker. Each value's key names its unit: "events" and "minutes" for today, "events_per_day" and "minutes_per_day" for the week and month. Fi measures barking, eating, and drinking mainly in events, and licking and scratching in time. Also returns Fi's activity (steps, active minutes) and rest trends for the period.

Licking and scratching changes can point to skin problems or allergies;
eating and drinking changes can point to appetite or thirst changes. These
are Fi's estimates from collar motion, not a diagnosis.

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_behavior"
  }
}

Input Schema

NameRequiredDescriptionDefault
petNoPet name or Fi pet id. Leave empty if there is only one dog on the account.
periodNoday: today so far (totals). week: past 7 days, as daily averages. month: past 4 weeks, as daily averages.week
include_chartsNoAlso return Fi's chart data (per-interval values). Larger output.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds genuine behavior beyond that: the output key naming convention ('events' vs 'events_per_day', 'minutes' vs 'minutes_per_day') tied to period, which metrics are measured in events versus time, the presence of an up/down change marker, and the caveat that these are collar-motion estimates rather than a diagnosis. It does not discuss pagination or error behavior, keeping it below a 5.

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?

The content is front-loaded with the resource and its device gate, then units, then interpretation caveats, and nearly every sentence earns its place. The one wasted element is the sweeping claim to also return activity and rest trends, which introduces scope overlap with siblings without resolving it. Slightly long for three parameters, but not padded.

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?

An output schema exists, so raw return structure need not be spelled out, yet the description still explains unit semantics and the change marker usefully. For a read-only tool with three fully described parameters, this is close to complete. The remaining gap is delegation: it does not say when an agent should prefer get_activity or get_sleep over the overlapping portions of this 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?

Schema description coverage is 100%, so the baseline is 3 and the schema already explains all three parameters including the period enum and the 'larger output' tradeoff for include_charts. The description goes beyond that by linking period to the unit suffixes in the returned keys, which clarifies why the period choice matters semantically. That is a modest but real addition over the schema text.

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 states a specific verb-and-resource pair ('Series 3+ behavior data: barking, licking, scratching, eating, and drinking') and enumerates exactly which metrics and derived trends are returned. It also declares a device-compatibility gate ('Series 3+'), which distinguishes it from tools that work on any device. However, its claim to 'also return Fi's activity (steps, active minutes) and rest trends' overlaps with the sibling tools get_activity and get_sleep without explaining the distinction, leaving ambiguity rather than 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 only real selection guidance is the implicit 'Series 3+' compatibility constraint, which usefully tells an agent this tool is unavailable on older devices. There is no explicit 'use this when…' statement and no named alternative for the overlapping activity/rest data, so an agent must infer whether to call get_behavior, get_activity, or get_sleep. This is implied rather than stated guidance.

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