Skip to main content
Glama

Update a scale

update_scale
Destructive

Correct a registered scale — its type, resolution, capacity, capabilities, build or notes. Only the keys you send in fields change; send null to clear an optional field (an empty string also clears a text field, but not a number or a closed list). Required fields can be changed but not cleared. fields may be omitted when only reason is sent. The three capabilities are 1, 0, or null for "the maker never said"; leave one out rather than sending 0 when nobody knows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNo
reasonNoOptional note, appended to this record's own notes as an ordinary line. Omit it and nothing is written.
scale_idYesThis account's own scale number, from list_scales. Never guess one.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
messageYes
scale_idYes
changed_keysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already mark the call destructive and non-idempotent; the description goes further by explaining the exact destruction model — null clears optional fields, empty string clears only text, required fields cannot be cleared — and the meaning of the three capability integers. No annotation claims are contradicted.

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 paragraph is front-loaded with purpose and then spends every sentence on a distinct rule (partial update, clearing, required fields, reason-only omission, capability encoding). There is no filler.

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 a destructive nested-update tool, the description covers what changes, how to clear values, and the special capability encoding; with an output schema present, return values need not be described. It omits permission/error behavior but is otherwise sufficient for correct invocation.

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?

With 67% schema description coverage, the description carries substantial weight and delivers: it explains partial-update semantics for fields, the null/empty-string clearing rules, and the 1/0/null encoding for capabilities. It does not document every nested property (e.g., resolution_g, water_resistance), so it stops short of full coverage.

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 opens with a specific verb ('Correct') and resource ('registered scale'), and enumerates the attribute groups that can be changed (type, resolution, capacity, capabilities, build, notes). It does not name sibling alternatives like register_scale, but the wording 'registered scale' implicitly scopes it to existing records.

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?

It gives clear operational rules for when a field should be sent, cleared, or omitted, which tells the agent how to use the tool. However, it never names an alternative tool or states a condition for choosing update_scale over register_scale or set_equipment_archived, so alternative selection is left implicit.

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