Skip to main content
Glama
RanchBot

Ranch.Bot MCP Server

Official
by RanchBot

update_animal

Need to change an animal's details? Update only the specified fields in the record; existing information stays intact.

Instructions

Update an existing animal's details. Pass the fields to change as the named profile fields (name, kind, sex, breed, color, birth_date, notes); they merge into the existing metadata rather than replacing it, so changing one field keeps the rest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sexNoSex/gender, e.g. female, male, castrated male (steer/wether).
kindNoClassification word: cow, heifer, bull, steer, ram, ewe, ewe lamb, lamb, kid, etc.
nameNoThe animal's name or call name.
breedNoBreed or cross, e.g. "Suffolk X", "Angus".
colorNoColor or markings, e.g. "white", "black white-face".
notesNoAny other standing detail (e.g. "bottle-fed", "polled"). Goes into metadata.notes.
farm_idNoThe ID of the farm (optional if a default is set).
metadataNoOptional raw metadata keys to set; merges into the existing metadata over the named fields.
animal_idYesThe UUID of the animal to update.
birth_dateNoDate of birth as an ISO date (YYYY-MM-DD). Derive it from an age if the user gives one.
inventory_statusNoInventory status: CURRENT (default on create), UNKNOWN when current presence is unconfirmed, SOLD, or DECEASED. Historical profiles remain readable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the key merge behavior: provided fields merge into existing metadata rather than replacing it, so unrelated fields are preserved. This is a valuable non-obvious behavioral trait not inferable from annotations alone.

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?

Two sentences with the core action front-loaded and the merge rule stated clearly. The parenthetical list of fields is redundant with the schema but not overly verbose; the description remains efficient and readable.

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 an update tool with 11 parameters and one required, the description covers what can be changed and the merge semantics. It does not describe the return value (no output schema exists), but this is a minor gap for a mutating tool whose safety profile is already annotated.

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 baseline is 3. The description repeats the field list already present in the schema and restates the merge behavior also described in the metadata parameter. It adds minimal semantic value beyond the schema.

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 states a specific action ('Update an existing animal's details') with a clear resource (animal) and lists the updatable fields. It does not explicitly differentiate from sibling update tools like update_record or update_chute_session, but the resource is unambiguous from name and description.

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 description implies when to use the tool (to modify animal details) but provides no guidance on when not to use it or which alternative to prefer (e.g., delete_animal, create_animal, or update_record). No exclusions or alternative routing are given.

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