Skip to main content
Glama

get_production_counts

Read production counts for a manufacturing line from a historian count tag across a date range, returning rows or a hint when no tag is configured.

Instructions

Read production counts for a line from a count tag.

Args: line: Production line label. start_date: ISO-8601 start. end_date: ISO-8601 end. count_tag: Tag path holding the production count.

Returns: Historian rows for the count tag, or a hint when no tag is configured.

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": {
      "line": "<line>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_production_counts"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineYes
end_dateYes
count_tagNo
start_dateYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose one genuinely useful behavioral trait — that when no count tag is configured the call returns a hint rather than data — but it says nothing about permissions, pagination/row limits, aggregation of raw historian rows, or timezone handling for the date range.

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?

Front-loaded one-line purpose followed by compact Args/Returns blocks; every line maps to a parameter or a return behavior and there is no filler. Structure makes it skimmable for an agent.

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

Completeness3/5

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

An output schema exists, so the Returns note is a bonus rather than a necessity, and all parameters are covered. What is missing for a 4-parameter, annotation-free tool is semantic context: what a 'count' represents (cumulative vs. interval delta), units, and how the date range is interpreted.

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 description coverage is 0%, so the description must compensate, and it does: all four parameters are explained (line label, ISO-8601 start, ISO-8601 end, tag path holding the count). It falls short of 5 because the ISO-8601 hint omits timezone expectations and the count_tag path format is not illustrated.

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 first sentence gives a specific verb ('Read') and resource ('production counts') plus the scoping mechanism ('for a line from a count tag'), so an agent knows this is a line-scoped production count retrieval. It does not name or differentiate itself from close siblings such as get_historian, so the distinction must be inferred.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The only routing signal is implicit: this tool reads one count tag, whereas sibling historian/reporting tools presumably do more, but the description never says so.

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