Skip to main content
Glama

inspect_rtc_snapshot

Read-only

Validate a caller-supplied FATEK RTC register snapshot offline, checking field ranges, month/day validity, and optional packed R4135 hour/minute consistency.

Instructions

Validate a caller-supplied FATEK RTC register snapshot offline.

    Use this after obtaining R4128..R4134 externally; optionally include packed R4135 to check
    hour/minute consistency. It checks field ranges and month/day, then returns decoded fields,
    expected_R4135 and consistency when supplied. Invalid or unknown fields return an error and
    nothing is written. This server has no PLC-access tool; use get_manual_reference for RTC
    register meanings and setting procedure.
    

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": {
      "registers": "<registers>"
    },
    "name": "inspect_rtc_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
registersYesCaller-supplied RTC snapshot keyed by R4128 through R4134, with optional packed R4135; values are integers, not PLC addresses to read.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.1.1
    • addedInput schema / $defs
      Added value: +{
      +  "RTCSnapshot": {
      +    "additionalProperties": false,
      +    "description": "Caller-supplied FATEK RTC register values for offline validation.",
      +    "properties": {
      +      "R4128": {
      +        "description": "Second value, 0 through 59.",
      +        "maximum": 59,
      +        "minimum": 0,
      +        "title": "R4128",
      +        "type": "integer"
      +      },
      +      "R4129": {
      +        "description": "Minute value, 0 through 59.",
      +        "maximum": 59,
      +        "minimum": 0,
      +        "title": "R4129",
      +        "type": "integer"
      +      },
      +      "R4130": {
      +        "description": "Hour value, 0 through 23.",
      +        "maximum": 23,
      +        "minimum": 0,
      +        "title": "R4130",
      +        "type": "integer"
      +      },
      +      "R4131": {
      +        "description": "Day of month, 1 through 31.",
      +        "maximum": 31,
      +        "minimum": 1,
      +        "title": "R4131",
      +        "type": "integer"
      +      },
      +      "R4132": {
      +        "description": "Month number, 1 through 12.",
      +        "maximum": 12,
      +        "minimum": 1,
      +        "title": "R4132",
      +        "type": "integer"
      +      },
      +      "R4133": {
      +        "description": "Two-digit year code, 0 through 99; no century is inferred.",
      +        "maximum": 99,
      +        "minimum": 0,
      +        "title": "R4133",
      +        "type": "integer"
      +      },
      +      "R4134": {
      +        "description": "Weekday code, 0 through 6; weekday names are not inferred.",
      +        "maximum": 6,
      +        "minimum": 0,
      +        "title": "R4134",
      +        "type": "integer"
      +      },
      +      "R4135": {
      +        "anyOf": [
      +          {
      +            "maximum": 65535,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Optional packed time word: hour in the high byte and minute in the low byte (hour*256+minute), not decimal HHMM.",
      +        "title": "R4135"
      +      }
      +    },
      +    "required": [
      +      "R4128",
      +      "R4129",
      +      "R4130",
      +      "R4131",
      +      "R4132",
      +      "R4133",
      +      "R4134"
      +    ],
      +    "title": "RTCSnapshot",
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / registers / $ref
      Added value: +"#/$defs/RTCSnapshot"
    • removedInput schema / properties / registers / additionalProperties
      Removed value: -{
      -  "type": "integer"
      -}
    • addedInput schema / properties / registers / description
      Added value: +"Caller-supplied RTC snapshot keyed by R4128 through R4134, with optional packed R4135; values are integers, not PLC addresses to read."
    • removedInput schema / properties / registers / title
      Removed value: -"Registers"
    • removedInput schema / properties / registers / type
      Removed value: -"object"
  2. Addedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, yet the description adds genuinely new behavior: it returns decoded fields, expected_R4135 and a consistency flag when R4135 is supplied, and invalid or unknown fields produce an error with nothing written. That error/side-effect contract is not derivable from the annotations.

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?

Purpose and precondition are front-loaded in the first two sentences, then return/error behavior, then the sibling pointer. Slightly long, but each sentence carries distinct information with no filler.

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?

Given an output schema exists, the description needn't enumerate return values, and it covers inputs, optional R4135 semantics, error behavior, and the correct alternative tool. Nothing an agent needs to call this offline validator correctly is missing.

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% with per-field range and packing documentation, so the baseline is 3; the description still adds meaning by explaining that R4135 is optional and is used specifically for hour/minute consistency checking, and by reinforcing that the values are integers rather than PLC addresses to read.

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?

States a specific verb and resource — validate a caller-supplied FATEK RTC register snapshot — plus the 'offline' scope, and contrasts with the sibling reference tool get_manual_reference. An agent can tell this apart from the LDR/PDW inspection tools without opening any schema.

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?

Gives a clear precondition ('use this after obtaining R4128..R4134 externally') and explicitly routes RTC register meanings and setting procedure to get_manual_reference, dismissing the assumption of a PLC-access tool. It stops short of stating when not to use this tool, but the context is unambiguous.

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