Skip to main content
Glama

get_machine_runtime

Retrieve a machine's running-state history from historian rows for a Boolean running tag across a specified ISO-8601 date range.

Instructions

Read a machine's running-state history.

Args: tag_path: Boolean running tag. start_date: ISO-8601 start. end_date: ISO-8601 end.

Returns: Historian rows for the running tag.

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

Input Schema

NameRequiredDescriptionDefault
end_dateYes
tag_pathYes
start_dateYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose that the operation is a read and that the result is 'Historian rows for the running tag', but it says nothing about permission requirements, row limits, sampling/aggregation granularity, or pagination for long time ranges.

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?

The purpose is front-loaded in the first sentence and the Args/Returns blocks are compact and scannable. The repeated 'Args:' restatement is slightly redundant with the schema, but nothing is bloated.

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?

With an output schema present, the description needn't explain the return shape, and the parameter list is fully covered. However, a time-series read tool with no annotations and no output-schema-independent guidance leaves gaps around time-range limits, ordering, and permissions that an agent would want before calling it on a large window.

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 document all three parameters: tag_path as the Boolean running tag and both dates as ISO-8601. The only shortfall is that 'Boolean running tag' is ambiguous about whether the path identifies a boolean-typed tag or a true/false condition, and the ISO-8601 variant (date vs datetime, timezone) is unspecified.

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 verb (Read) and a specific resource (a machine's running-state history), which is far more informative than the bare tool name. It does not, however, distinguish this from adjacent read tools such as get_historian or get_downtime, so an agent must guess which read path applies to runtime data.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase 'running-state history' signals the domain, but there is no explicit statement of when to pick this over get_historian, get_downtime, or get_device_status, and no stated prerequisites. The agent can infer intent from the resource name but is given no routing rule.

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