Skip to main content
Glama

Update a harvest

update_harvest
Destructive

Correct a logged harvest — the most-recent harvest of a plant (by name) or a specific harvestId. Edit quantity, unit, notes, or the date. Use when the user says a harvest they recorded was wrong.

Input Schema

NameRequiredDescriptionDefault
unitNolb and oz are stored as grams and need a quantity alongside.
notesNo
plantNoEdit the most-recent harvest of this plant.
gardenNoGarden name; defaults to the user's first garden.
quantityNoCorrected amount (> 0).
harvestIdNoOr a specific harvest id.
harvestedAtNoCorrected ISO datetime.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false, so the write/irreversibility profile is covered. The description adds meaningful context the annotations do not: the implicit target-resolution rule (most-recent harvest when only a plant name is given) and the exact set of mutable fields.

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, front-loaded with the action and target resolution, then the intent trigger. The em-dash clause carries real information rather than padding, though the first sentence packs several ideas in one breath.

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 no output schema needed and annotations carrying the safety profile, the description supplies what an agent needs: what is editable, how the target is resolved, and when to reach for it. Edge cases (multiple matching plants, no prior harvest, permission requirements) are left unstated.

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 86%, so most parameters are already documented — including the important lb/oz-stored-as-grams and garden-default notes. The description restates quantity, unit, notes, and date but adds no format or constraint detail beyond the schema, so the baseline applies.

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?

States a precise verb and resource ("Correct a logged harvest") and defines the two targeting modes — latest harvest for a plant name, or a specific harvestId. It is clearly distinguishable from the sibling record_harvest by the correction framing, though it never names that sibling explicitly.

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?

"Use when the user says a harvest they recorded was wrong" gives an explicit, actionable trigger condition that an agent can map to user intent. It stops short of naming alternatives (record_harvest for new entries, or deletion) or stating when this tool is the wrong choice.

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