Skip to main content
Glama

query_machine_history

Retrieve operational history for a machine to analyze utilization, throughput, and health trends. Get aggregate stats or detailed field data for any time range.

Instructions

Retrieve operational history for an identified machine. Each row is one /v1/normalize call's canonical output (FCS field → value).

Query options: from_dt, to_dt ISO-8601 timestamps to bound the time range fields comma-separated FCS field names to project; omit for full canonical_data limit max rows (1–1000, default 100) summary true → returns aggregate stats only (row_count, time range, avg coverage_pct, fields_covered set) without the raw rows. Always cheap.

USE WHEN: a user asks how a machine has been running, wants utilization or throughput or health trends, looks for patterns in alarms or operational state, compares periods ("how was today vs yesterday"), or wants to know what data is even available for a machine. Prefer summary=true first to orient on volume + which fields are present, then drill in with field projection on a smaller time window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mint_idYes
from_dtNo
to_dtNo
fieldsNo
limitNo
summaryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations exist, so the description carries full burden. It explains query options and notes summary mode is 'Always cheap'. However, it doesn't state that the tool is read-only or safe, which is implied but not explicit.

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 description is concise, well-structured with bullet points and a clear 'USE WHEN' section. Every sentence adds value without redundancy.

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 moderate complexity (6 params, output schema exists), the description covers purpose, usage, parameters, and best practices comprehensively. No missing context.

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?

With 0% schema coverage, the description must explain parameters. It covers from_dt, to_dt, fields, limit, and summary well (types, defaults, behavior). However, the required parameter 'mint_id' is not directly explained beyond 'identified machine', leaving ambiguity.

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?

The description clearly states the tool retrieves operational history for a machine, with each row being canonical output from normalize calls. It distinguishes from siblings like normalize_telemetry and get_coverage by focusing on historical queries.

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

Usage Guidelines5/5

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

The 'USE WHEN' section lists concrete scenarios (utilization, health trends, period comparisons) and advises starting with summary=true. This provides excellent guidance on when and how to use the tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FoundryNet/forge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server