Skip to main content
Glama

Sheep and cow breeding odds: genes, inbreeding, twins, wool/milk

breed_animals
Read-onlyIdempotent

[Calculators] Sheep and cow breeding odds: genes, inbreeding, twins, wool/milk. The animal breeder page's maths (https://rust.wiki/calculators/animal-breeder). Each gene has two copies and the animal shows the better one; the young gets one random copy of each gene from each parent, so young_odds per gene is the chance it shows good / ok / bad. It also gets one random family mark from each parent and is inbred when they match (chance_inbred; null when marks weren't given). chance_all_good_not_inbred, chance_twins (needs a good-fertility mother) and expected_product_per_hour (wool or milk, inbreeding counted) follow. Gene numbers come from fan tools that read the game files (gene_confidence).

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": {
      "mother": "<mother>",
      "father": "<father>"
    },
    "name": "breed_animals"
  }
}

Input Schema

NameRequiredDescriptionDefault
fatherYesFather's genes, same form.
motherYesMother's genes: comma-separated `gene:copy/copy`, gene D (Dung), Y (Yield), F (Fertility) or H (Hardiness), copies good/ok/bad. Genes left out are ok/ok.
speciesNo`sheep` or `cow`.sheep
father_marksNoFather's two family marks.
mother_marksNoMother's two family marks (0-15), e.g. `3,7`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a pure read-only, idempotent computation, so the description's job is domain disclosure, and it delivers: genes have two copies with dominant expression, each parent passes one random copy, marks are inherited one per parent, and chance_inbred returns null when marks are omitted. The 'gene_confidence' note explains that gene numbering comes from an external fan tool, which is genuine provenance context. It does not describe output shape or magnitude/precision of the odds, keeping it off a 5.

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

Conciseness5/5

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

Three dense sentences plus a source URL, front-loaded with the purpose before the mechanics. Every clause carries new information — no restatement of the title and no filler — and the progression purpose → gene model → derived outputs is logical.

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?

With five parameters and no output schema, the description carries output burden and largely meets it by naming each returned field (young_odds, chance_inbred, chance_all_good_not_inbred, chance_twins, expected_product_per_hour, gene_confidence) and their conditions. It does not specify the value shape or units of the per-gene odds or expected_product_per_hour, leaving a small gap.

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

Parameters4/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 earns an extra point by explaining the domain model behind the string format — two copies per gene, one inherited from each parent, and that the phenotype shows the better copy. It also clarifies that omitted marks suppress inbreeding computation, which reinforces the meaning of the two *_marks parameters.

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 title and opening sentence name a specific verb-domain and resource: a breeding-odds calculator for sheep and cow genetics, explicitly enumerating the outputs it covers (genes, inbreeding, twins, wool/milk). An agent can distinguish this from adjacent genetics helpers without opening the schema. It stops short of naming which sibling is the alternative, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

Usage is implied by the presence of a species parameter and required mother/father genes, but there is no explicit 'use this when…' or exclusion against genetics_best_layout. One conditional hint exists ('needs a good-fertility mother'), which is a precondition for chance_twins rather than a routing rule.

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.

Resources