Education
Convert a dog or cat's age into human-equivalent years using the modern AVMA method (with breed-size grouping for dogs) or the UCSD epigenetic formula, and see the pet's life-stage milestone plus a printable vet-visit summary card.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/human-age-to-dog-cat-years' \
-H 'Content-Type: application/json' \
-d '{"petAge":5,"petType":"dog","dogSize":"medium","method":"avma","decimals":1}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/human-age-to-dog-cat-years| Name | Type | Required | Description |
|---|---|---|---|
| petAge | number | Yes | — |
| petType | select | Yes | — |
| dogSize | select | No | — |
| method | select | Yes | — |
| decimals | number | No | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-human-age-to-dog-cat-years": {
"name": "human-age-to-dog-cat-years",
"description": "Convert a dog or cat's age into human-equivalent years using the modern AVMA method (with breed-size grouping for dogs) or the UCSD epigenetic formula, and see the pet's life-stage milestone plus a printable vet-visit summary card.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=human-age-to-dog-cat-years",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "human-age-to-dog-cat-years",
"arguments": {
"petAge": 5,
"petType": "dog",
"dogSize": "medium",
"method": "avma",
"decimals": 1
}
}
}Questions or issues? Contact [email protected]
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}