Skip to main content
Glama

Dane Rolne: pasze, sery, sklepy i gospodarstwa w Polsce

Moja Pasza: Koszt paszy na jedno jajko

pasze_koszt_jajka
Read-onlyIdempotent

Ile kosztuje pasza na jedno jajko i na stado przez miesiąc. Liczy z liczb hodowcy: ile ma kur, ile jaj zbiera dziennie, ile paszy daje kurze i po ile ją kupuje. Z ceną sprzedaży jajka liczy też, ile zostaje po paszy. Brakującą dawkę i cenę paszy bierze ze wzorca i opisuje to w polu zalozenia. Liczy tylko paszę. [Moduł wiedzy Moja Pasza, https://mojapasza.com; hub przekazuje pytanie do jego serwera]

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": {
      "kur": "<kur>",
      "jaj_dziennie": "<jaj_dziennie>"
    },
    "name": "pasze_koszt_jajka"
  }
}

Input Schema

NameRequiredDescriptionDefault
kurYesLiczba kur niosek
pasza_gNoPasza na kurę dziennie w g; bez niej środek wzorca Hy-Line
jaj_dziennieYesIle jaj hodowca zbiera dziennie z całego stada (średnio)
cena_jajka_zlNoCena sprzedaży jednego jajka w zł
cena_paszy_zl_kgNoCena paszy w zł za kg; bez niej środek cen z bazy Mojej Paszy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds genuinely useful behavioral detail beyond that: missing feed dose and feed price fall back to built-in reference values, and that substitution is surfaced in an output field 'zalozenia', which lets the agent explain assumptions to the user. It also limits scope to feed costs only, so the agent will not misreport it as full profitability.

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 answer to the user's question is front-loaded in the first sentence, then the inputs and the optional margin are introduced in logical order. Sentences are short and purposeful, with the trailing module/URL attribution being the only arguably non-essential element.

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, two of them required, no output schema and an algorithmic rather than CRUD purpose, the description covers the computation logic, the optional inputs, the fallback behavior and the scope limit. The one remaining gap is that the output shape is only alluded to through the 'zalozenia' field, with no indication of what other fields the result contains.

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 description coverage is 100% and the schema already documents units, ranges and the fallback for pasza_g and cena_paszy_zl_kg, so baseline is 3. The description restates the same parameter meanings in narrative form and adds the notion that cena_jajka_zl enables a margin-after-feed calculation, but it introduces no syntax or format detail 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 uses a specific verb and resource: it computes feed cost per egg and per flock per month, and it names the inputs (number of hens, daily egg collection, feed dose, purchase price) plus the optional margin over feed revenue. The closing sentence 'Liczy tylko paszę' sets a clear scope boundary that separates it from a general profitability calculator, though it does not name a sibling tool by name.

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 rather than stated. The description assumes the caller supplies the farmer's own numbers and explains what happens when a dose or a feed price is missing (the defaults are drawn from the model and disclosed in 'zalozenia'). However, it does not say when to prefer this tool over sibling tools such as pasze_normy_drobiu or pasze_policz_mieszanke, and it does not state prerequisites or exclusions.

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