Skip to main content
Glama
nbrain-industrial-ot-zkteco-modbus

nbrain-industrial-ot-zkteco-modbus

reconcile_zkteco_adms_attlog

Deduplicate ZKTeco ADMS ATTLOG punch records and compute exact-Decimal overtime pay from scheduled hours, hourly wage, and multiplier for payroll integration.

Instructions

Deduplicate ZKTeco ADMS /iclock/cdata ATTLOG biometric punch records and compute exact-Decimal overtime pay.

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": {
      "attlog_lines": "<attlog_lines>"
    },
    "name": "reconcile_zkteco_adms_attlog"
  }
}

Input Schema

NameRequiredDescriptionDefault
hourly_wageNo
attlog_linesYes
overtime_multiplierNo
scheduled_hours_per_dayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full burden but only says what the two operations are. It is silent on how duplicates are detected (by timestamp? badge? full row?), whether malformed lines are dropped or raised as errors, rounding mode for Decimal pay, and whether pay is skipped when wage fields are omitted.

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?

A single front-loaded sentence with zero filler, though the compound two-operation phrasing compresses two distinct behaviors into one clause and could have been split for scan-ability.

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?

Four parameters at 0% schema coverage, no annotations, and no output schema means the definition is the only documentation — yet it explains neither the return shape nor the semantics of the three optional numeric string inputs. For a tool that produces monetary calculations, this is materially under-specified.

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 0%, so the description must compensate, and it only implicitly signals that attlog_lines drives dedup and that wage/multiplier/scheduled-hours drive the pay computation. It adds no units, string-decimal formats, optionality, or defaults beyond what the bare property names already suggest.

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?

Two specific verbs (deduplicate, compute) applied to a specific resource (ZKTeco ADMS /iclock/cdata ATTLOG punch records, exact-Decimal overtime pay). The domain specificity makes it unmistakable against the epoch-decoding and Modbus siblings.

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?

No when-to-use versus when-not-to-use guidance, no prerequisites (e.g. that lines must come from /iclock/cdata endpoints), and no mention of what to do when pay inputs are absent. The agent must infer the whole operating context from the noun phrase.

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