Skip to main content
Glama

Update a shot

update_shot
Idempotent

Correct fields on an already-logged shot in place — no need to delete and re-log. Use for fixing a wrong dose/yield/time or grind label, re-filing a shot onto the right bean (bean_id), backfilling rating/tasting notes, or fixing the timestamp (pulled_at). Changing grind_label re-derives the numeric grind position from the shot's grinder; changing yield/time/dose/tds keeps flow rate and extraction yield consistent automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYesOnly the fields to change
shot_idYesID of the shot to correct

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
messageYes
shot_idYes
updated_fieldsYes

TDQS

A4.9/5.0
Behavior5/5

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

The description discloses meaningful behavioral side effects beyond the annotations: changing grind_label re-derives the numeric grind position from the shot's grinder, and changing yield/time/dose/tds automatically keeps flow rate and extraction yield consistent. It also makes clear this is an in-place mutation ('correct fields... in place'), which complements the idempotentHint and destructiveHint annotations. No contradiction with annotations exists.

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?

The description is compact and front-loaded: it states the core purpose in the first clause, then gives concrete usage examples, and finishes with the most important behavioral caveats. Every sentence earns its place, and nothing is redundant with the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for a two-parameter tool with a nested fields object. It explains the correction workflow, highlights which field changes trigger automatic recalculation, and gives enough use-case context for an agent to decide when to call it. Since an output schema exists and all parameters are documented in the input schema, the description does not need to restate return values or field types.

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, but the description adds important cross-field semantics: grind_label re-derives the grind position and yield/time/dose/tds changes trigger automatic consistency adjustments. These meanings are not visible from individual schema property descriptions. The description also frames fields like bean_id, pulled_at, and grind_label with purposeful examples rather than just type definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Correct fields on an already-logged shot in place.' It clearly distinguishes the tool's purpose from delete_shot and log_shot by explicitly saying 'no need to delete and re-log.' Concrete use cases ('fixing a wrong dose/yield/time or grind label, re-filing a shot onto the right bean') make the purpose unmistakable.

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

Usage Guidelines5/5

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

The description gives explicit usage guidance: use this when correcting an existing shot instead of deleting and re-logging. It enumerates common scenarios like fixing dose/yield/time, re-filing onto a different bean, backfilling rating/tasting notes, and fixing timestamps. This tells the agent both when to reach for this tool and why alternatives like delete_shot + log_shot are not needed.

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.

TDQS

B3.4/5.0
Disambiguation5/5

Each tool maps to a distinct resource or action: register_* and list_* are separated by entity, shot tools are split into log/update/delete/diagnose, and the two diagnose variants are explicitly differentiated by dry-run vs. logged evaluation. There is no meaningful overlap that would make an agent choose the wrong tool if it reads the descriptions.

Naming Consistency4/5

The vast majority of tools follow a consistent verb_noun snake_case pattern: register_*, list_*, set_*, update_*, log_*, get_*. The only deviations are noun-first compound names like grinder_math and kb_changelog, which are still readable and do not break the overall predictability.

Tool Count2/5

At 34 tools, this server exceeds the 25+ threshold where the interface becomes heavy for an agent to navigate. Many of the tools are simple register_/List_ pairs across seven entity types, which inflates the surface area even though each individual tool is understandable.

Completeness3/5

Core workflows are well covered: logging, updating, deleting, and diagnosing shots; maintaining equipment; and navigating machine state. However, there are notable lifecycle gaps such as no way to list or delete registered programs, no update/delete operations for most equipment types, and no recipe deletion or unlock, which can leave an agent stuck after certain user requests.

Resources