Skip to main content
Glama

Bafan

Get dog activity

get_dog_activity
Read-onlyIdempotent

Get a dog's activity over the last seven days, daily goals, streaks, and totals. Requires dog activity permission.

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": {
      "dog_id": "<dog_id>"
    },
    "name": "get_dog_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dog_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, and destructiveHint=false, so safety is covered. The description still contributes beyond them by disclosing the fixed seven-day window (there is no date parameter to widen it), the shape of the payload (daily goals, streaks, totals), and the required permission scope. It does not say what happens when the caller lacks the permission or the dog_id is unknown, which keeps it from 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.

Conciseness5/5

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

Two short sentences with zero filler; the returned data and the time window are front-loaded, and the permission requirement is tucked at the end where it belongs. Nothing is repeated from the title or annotations.

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?

For a read-only, single-parameter tool with no output schema, the description covers the essentials: what is returned, over what period, and the permission needed. The remaining omissions (behavior for inaccessible or nonexistent dogs, exact response shape) are modest.

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?

There is a single required parameter, dog_id, with 0% schema description coverage, so the description would ideally clarify which dog identifier is expected and any access constraints. It never mentions dog_id at all. The parameter is largely self-explanatory from its name and integer/minimum-1 constraint, so this is a minor rather than fatal gap.

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 opens with a specific verb and resource ("Get a dog's activity") and pins down the scope: the last seven days, plus daily goals, streaks, and totals. This is far more specific than the bare title and clearly separates it from mutation siblings like save_dog_activity or set_dog_activity_goals. It stops short of naming a read-side alternative such as list_dog_activities, so a 4 rather than 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 Guidelines3/5

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

Usage is implied by the purpose (fetch a seven-day activity summary for one dog) and the description adds a real prerequisite: "Requires dog activity permission." However, there is no explicit when-not guidance and no mention of how this differs from list_dog_activities, which an agent could plausibly pick instead.

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