Skip to main content
Glama

record_magnet_outcome

Logs whether a magnet held, failed, or partially held, capturing retention details to track real-world performance and flag failed pockets.

Instructions

Record whether a magnet actually held. Prefer record_hardware_outcome.

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": {
      "family": "<family>",
      "retention_method": "<retention_method>",
      "result": "<result>"
    },
    "name": "record_magnet_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
seamNoThe seam of a part Kiln cut that this magnet holds, as record_hardware_outcome takes it. Default: "".
sizeNoThe magnet's size as the plan named it, diameter by height in millimetres, e.g. "6x3". The pocket answer can only show a report that names the same size. Default: "".
notesNoOptional free-text notes. Default: "".
familyYesMagnet family used, e.g. "neodymium", "ferrite", "N52".
gap_mmNoPlastic or air between the magnet and what it pulls against, in millimetres, if you know it.
load_nNoThe pull or weight on the one magnet, in newtons, if known.
resultYes``"held"``, ``"failed"``, or ``"partial"``.
design_idNoOptional design id to link this outcome to. Default: "".
load_modeNoOptional free-text load description. Default: "".
printer_idNoOptional printer id. Default: "".
version_idNoThe version of the part the magnet is in. With it, a magnet you report as failed comes back as a warning beside the pocket answer for that same part. A magnet that held is never read as evidence: what it holds depends on what it pulls against. Default: "".
environmentNoFree-text service environment, e.g. "outdoor", "hot car", "indoor". Default: "".
load_knowledgeNoHow you know it: measured, estimated or guessed. Default: "".
print_materialNoThe filament the part was printed in, e.g. PLA. Default: "".
days_in_serviceNoDays it had been in use when you looked.
retention_methodYesHow it was mounted, e.g. "mechanical", "adhesive", "pocket".
service_temperature_cNoThe temperature it lives at; leave out for room temperature.
temperature_knowledgeNomeasured, estimated or guessed. Default: "".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.6.0
    • addedInput schema / properties / days_in_service
      Added value: +{
      +  "description": "Days it had been in use when you looked.",
      +  "title": "Days In Service",
      +  "type": "number"
      +}
    • addedInput schema / properties / gap_mm
      Added value: +{
      +  "description": "Plastic or air between the magnet and what it pulls against, in millimetres, if you know it.",
      +  "title": "Gap Mm",
      +  "type": "number"
      +}
    • addedInput schema / properties / load_knowledge
      Added value: +{
      +  "description": "How you know it: measured, estimated or guessed. Default: \"\".",
      +  "title": "Load Knowledge",
      +  "type": "string"
      +}
    • addedInput schema / properties / load_n
      Added value: +{
      +  "description": "The pull or weight on the one magnet, in newtons, if known.",
      +  "title": "Load N",
      +  "type": "number"
      +}
    • addedInput schema / properties / print_material
      Added value: +{
      +  "description": "The filament the part was printed in, e.g. PLA. Default: \"\".",
      +  "title": "Print Material",
      +  "type": "string"
      +}
    • addedInput schema / properties / seam
      Added value: +{
      +  "description": "The seam of a part Kiln cut that this magnet holds, as record_hardware_outcome takes it. Default: \"\".",
      +  "title": "Seam",
      +  "type": "string"
      +}
    • addedInput schema / properties / service_temperature_c
      Added value: +{
      +  "description": "The temperature it lives at; leave out for room temperature.",
      +  "title": "Service Temperature C",
      +  "type": "number"
      +}
    • addedInput schema / properties / size
      Added value: +{
      +  "description": "The magnet's size as the plan named it, diameter by height in millimetres, e.g. \"6x3\". The pocket answer can only show a report that names the same size. Default: \"\".",
      +  "title": "Size",
      +  "type": "string"
      +}
    • addedInput schema / properties / temperature_knowledge
      Added value: +{
      +  "description": "measured, estimated or guessed. Default: \"\".",
      +  "title": "Temperature Knowledge",
      +  "type": "string"
      +}
    • addedInput schema / properties / version_id
      Added value: +{
      +  "description": "The version of the part the magnet is in. With it, a magnet you report as failed comes back as a warning beside the pocket answer for that same part. A magnet that held is never read as evidence: what it holds depends on what it pulls against. Default: \"\".",
      +  "title": "Version Id",
      +  "type": "string"
      +}
  2. Changed8 schema fields changedv1.5.1
    • changedInput schema / properties / design_id / description
      Previous value: -"Default: \"\"."New value: +"Optional design id to link this outcome to. Default: \"\"."
    • changedInput schema / properties / environment / description
      Previous value: -"Default: \"\"."New value: +"Free-text service environment, e.g. \"outdoor\", \"hot car\", \"indoor\". Default: \"\"."
    • addedInput schema / properties / family / description
      Added value: +"Magnet family used, e.g. \"neodymium\", \"ferrite\", \"N52\"."
    • changedInput schema / properties / load_mode / description
      Previous value: -"Default: \"\"."New value: +"Optional free-text load description. Default: \"\"."
    • changedInput schema / properties / notes / description
      Previous value: -"Default: \"\"."New value: +"Optional free-text notes. Default: \"\"."
    • changedInput schema / properties / printer_id / description
      Previous value: -"Default: \"\"."New value: +"Optional printer id. Default: \"\"."
    • addedInput schema / properties / result / description
      Added value: +"``\"held\"``, ``\"failed\"``, or ``\"partial\"``."
    • addedInput schema / properties / retention_method / description
      Added value: +"How it was mounted, e.g. \"mechanical\", \"adhesive\", \"pocket\"."
  3. Addedv1.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this is a non-destructive, closed-world write (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the safety profile is covered. The description adds nothing beyond that: no side effects, no validation behavior, no note that a failed magnet resurfaces as a warning beside the pocket answer — that behavior only appears in the schema's version_id field, not in the description. It does not contradict the annotations, but it contributes almost no behavioral context for a write tool.

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 short sentences, purpose front-loaded with no filler. The second sentence is arguably premature — a preference stated without a condition — but the definition is efficiently sized and easy to scan.

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

Completeness2/5

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

This is an 18-parameter write tool with no output schema, and the description is a single clause plus a redirect. It never explains what the recorded outcome feeds into, what happens on success, or why the generic hardware recorder is usually preferred — context the agent needs to decide whether calling it is worthwhile.

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?

With 18 parameters at 100% schema description coverage, the schema already documents each field including defaults, units, and the meaningful version_id warning behavior. The description contributes no additional parameter meaning, so the baseline 3 applies; there is no gap the description needs to fill.

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 specific verb and resource: 'Record whether a magnet actually held.' An agent knows exactly what this tool writes, and the mention of record_hardware_outcome signals a related sibling. However, it never explains what makes a magnet-specific record distinct from the generic hardware one, so the differentiation is asserted rather than described.

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

Usage Guidelines2/5

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

'Prefer record_hardware_outcome' is a routing hint, but it gives no condition, no exclusion, and no case in which this magnet-specific tool is the correct choice. Read literally it steers the agent away from the tool without saying when to override that preference, which is weaker than no guidance at all for selection purposes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools