Skip to main content
Glama

get_program_history

Read-onlyIdempotent

Retrieve a program's recorded multi-day CPU, memory, disk, and network usage history to see when consumption started or whether current usage is normal.

Instructions

One program over the last days, whatever its processes and PIDs were: each day's processor time (in seconds of one core), most private memory, disk and I/O and network bytes, and each hour's CPU share of the machine (average and busiest ten seconds), memory and bytes moved. From the history, which records every program's minutes while Anabolic runs. Use it for "is it always like this" or "when did it start using so much"; get_history says what the whole machine did at a time.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many recorded days, newest first (1 to 31, default 7).
nameYesThe program's file name, any case: "chrome.exe".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: the history records every program's minutes only while Anabolic runs, and aggregation is per day for totals but per hour (average and busiest ten seconds) for CPU share — a real reporting caveat. It stops short of noting behavior for an unknown program name or truncation, hence a 4.

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 lead clause front-loads scope correctly, and each subsequent sentence has a job (return content, data provenance, use cases plus alternative). The metric enumeration in the first sentence is dense and reads as a list stuffed into prose, but none of it is filler.

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?

With no output schema, the description carries the burden of describing return values, and it does so concretely with both metric names and time granularities. It doesn't mention the 1–31 day bound or behavior when a program has no recorded history, minor gaps given the schema documents the range.

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 coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: results aggregate across all of the program's processes and PIDs, which clarifies that `name` is a program-level identifier rather than a PID filter. The `days` window and default are left entirely to the schema, which is the one gap.

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 opens with a specific verb and scope ("One program over the last days, whatever its processes and PIDs were") and enumerates exactly what is returned: daily processor time, private memory, disk/I/O/network bytes, plus hourly CPU share and bytes moved. It also explicitly distinguishes itself from the sibling get_history, which covers the whole machine, so an agent can route without opening schemas.

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?

It names concrete triggering questions ("is it always like this" or "when did it start using so much") that map directly onto the long-window per-program use case. It then explicitly contrasts with the alternative: get_history answers what the whole machine did at a time. When-to-use and when-to-use-something-else are both present.

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