Skip to main content
Glama

Log weight entry

add_weight

Records one pet weight measurement from a scale or vet report, including date and unit, to help track weight trends.

Instructions

Record one weight measurement (from your own scale or vet report).

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": {
      "pet_name": "<pet_name>",
      "weight": "<weight>"
    },
    "name": "add_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoISO date (YYYY-MM-DD); defaults to today when omitted.
unitNo'kg' (default) or 'lb'.
weightYesNumeric weight value.
pet_nameYesPet's name as recorded in the log.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies an append/create mutation of a single entry, but says nothing about what happens on a duplicate date, whether an existing entry is overwritten, validation failures, or permissions. For a write tool with zero annotation coverage this is a meaningful gap.

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?

A single front-loaded sentence with the core action first and no padding. The parenthetical about measurement source is the only arguably expendable clause, but it does add a little context about accepted inputs.

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?

The tool is simple, all four parameters are fully documented in the schema, and no output schema exists, so the description is close to adequate. What is missing is write-side behavior — duplicate handling and whether the pet must already be logged — which matters for a mutation tool with no annotations.

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%, with defaults for date (today) and unit (kg) already documented in the schema, so the baseline of 3 applies. The description adds only provenance of the value (own scale or vet report) and no extra detail on weight, unit, or pet_name semantics.

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?

"Record one weight measurement" gives a specific verb (record) and resource (weight measurement), and the word "one" signals single-entry creation, which separates it in spirit from the read-oriented weight_trend sibling. It stops short of naming any sibling explicitly, so it is clear but not differentiated by reference.

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

Usage Guidelines2/5

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

There is no statement of when to use this versus weight_trend or the other add_* tools, and no prerequisites (e.g., must the pet already exist in the log?). The parenthetical about data source is context, not usage guidance.

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