Skip to main content
Glama

pet cost lifetime

pet_cost_lifetime
Read-onlyIdempotent

What a dog or cat costs (US, UK, Canada, Australia, Ireland, Switzerland, New Zealand): first-year cost (adoption, setup, training), yearly running costs (food by care level, vet, insurance, grooming, toys, boarding, dog walker, an emergency vet reserve) and the lifetime total for the breed size's typical lifespan. Inputs left out use the country defaults from the calculator page. Use this when someone asks what a pet costs per year or over its life.

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": "pet_cost_lifetime"
  }
}

Input Schema

NameRequiredDescriptionDefault
petNoPet (default dog_small)
petAgeNoAge now, years (default 0)
countryNoCountry (default us)
careLevelNoCare level (default standard)
insuranceNoInsurance (default basic)
boardingYearNoBoarding or pet-sitting a year
acquisitionCostNoAdoption or purchase price
dogWalkerMonthlyNoDog walker or day care a month

Output Schema

NameRequiredDescriptionDefault
nextNoOptional paid follow-on (name, url, what) where it genuinely helps
noteNoWhen the figures were read, and that this is general information, not advice
pageYesThe calculator page to cite or link, https://decisionscalc.com/...
resultYesThe calculation (usually an object), same engine and figures as the calculator page
sourcesYesOfficial source URLs for the figures used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "next": {
      +      "description": "Optional paid follow-on (name, url, what) where it genuinely helps",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "what": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "When the figures were read, and that this is general information, not advice",
      +      "type": "string"
      +    },
      +    "page": {
      +      "description": "The calculator page to cite or link, https://decisionscalc.com/...",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The calculation (usually an object), same engine and figures as the calculator page"
      +    },
      +    "sources": {
      +      "description": "Official source URLs for the figures used",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result",
      +    "page",
      +    "sources"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already establish that this is a safe, idempotent, read-only calculation. The description adds useful behavioral context by explaining that omitted inputs fall back to country defaults from the calculator page, which materially affects how results should be interpreted.

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 definition is dense but appropriately front-loaded: it leads with what is calculated and the geographic scope before giving the use case. The long list of cost components is justified for a complex calculator, though it makes the first sentence heavy.

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?

Given the output schema, rich parameter coverage, and read-only annotations, the description supplies everything an agent needs: scope, countries, cost components, default behavior, and when to use it. No critical gap remains for correct invocation.

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 coverage is 100%, so the input schema already documents all eight parameters, including defaults and enums. The description contextualizes some inputs by naming cost components such as food by care level, boarding, dog walker, and first-year adoption/setup/training, but it does not add much parameter-level detail beyond the schema.

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 states a specific resource (pet costs) and scope (dog or cat, first-year, yearly running costs, lifetime total) across named countries. It clearly distinguishes this from sibling cost calculators such as raising a child or car ownership.

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

Usage Guidelines4/5

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

It gives an explicit use case: when someone asks what a pet costs per year or over its life. It does not name exclusions or alternatives, but the intended trigger is clear enough for an agent to select it confidently.

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.