Skip to main content
Glama

compare_shift_production

Compare daily production counts across multiple lines using historian data, with configurable tag prefixes and a count tag suffix, to identify per-line output differences for a given date.

Instructions

Compare production counts across lines for one day.

Args: lines: Line tag prefixes, e.g. ["[default]Line1"]. date: Day to compare (YYYY-MM-DD). count_tag_suffix: Tag appended to each line prefix.

Returns: Per-line historian rows for the day.

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": {
      "lines": "<lines>",
      "date": "<date>"
    },
    "name": "compare_shift_production"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
linesYes
count_tag_suffixNoTotalCount

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description only implies a read-style operation through "Compare" and "Per-line historian rows"; it never explicitly confirms that the tool is read-only. It usefully states the daily scope and result granularity, but leaves day-boundary, unavailable-tag, and missing-data behavior unspecified.

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 purpose is front-loaded and the short Args/Returns layout is easy to scan. There is no redundant, promotional, or unnecessary wording.

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 simple three-parameter comparison with an output schema, this provides enough scope and input detail for a basic correct call. It would be more complete with explicit read/access behavior and edge-case or sibling-selection guidance, especially because no annotations are supplied.

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?

Because schema description coverage is 0%, the Args section adds essential meaning: a concrete lines prefix example, the YYYY-MM-DD date format, and the role of count_tag_suffix in constructing each tag. It covers all three parameters, though tag-path joining and valid prefix forms receive no detail beyond the single example.

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 opening sentence gives a specific operation, resource, and scope: comparing production counts across multiple lines for a single day. That clearly conveys the task, but it does not explicitly contrast the tool with siblings such as get_production_counts or generate_production_report.

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?

The cross-line, one-day scope provides a concrete use case, and the arguments make the intended historian-tag workflow clear. It does not explain when another production-count or reporting tool would be preferable, nor does it state any prerequisites.

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