Skip to main content
Glama

Add pet

add_pet

Create a pet record in the log to track notes, species, birth date, and ongoing care details.

Instructions

Add a pet to the log so its notes can be tracked.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
notesNo
speciesNo
birth_dateNoISO date (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden and falls short: it does not say whether this requires an authenticated owner, what happens on a duplicate pet name, whether species/birth_date are validated or optional, or what the call returns. "Add ... to the log" weakly implies a mutation but discloses nothing about persistence or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

A single short sentence with the action front-loaded and no filler, which is structurally clean. However, at twelve words it is sparse for a four-parameter creation tool, so the brevity reads as under-specification rather than discipline.

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

Completeness2/5

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

For a creation tool with no annotations, no output schema, and three of four parameters undocumented, the description does not supply enough to call it confidently. Missing are confirmation of what gets created, required vs. optional semantics, and any duplicate or validation behavior.

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

Parameters2/5

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

Schema description coverage is only 25% — only birth_date carries a description, and the description text itself adds nothing about name, notes, or species. It does not clarify that name is the sole required field, what format species takes (free text vs. common name), or what notes is for, so the coverage gap is left unaddressed.

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?

States a specific verb and resource ("Add a pet") plus the outcome (notes can be tracked), which distinguishes it from siblings like add_feeding_note or add_medication that attach records to an existing pet. It does not explicitly say a new pet entity is created versus a note being appended, so the differentiation is implied rather than stated.

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?

The clause "so its notes can be tracked" hints at when to use it, but there is no explicit when/when-not guidance and no mention of the obvious alternative path (adding notes to a pet that already exists). An agent must infer that this is the entry point for registering a new animal.

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