Skip to main content
Glama

Install PresentMon (Windows)

presentmon_install
Idempotent

Downloads and SHA-256-verifies Intel's PresentMon console app on Windows, caching it locally for perf_record and perf_attach GPU performance captures.

Instructions

Windows only: downloads Intel's PresentMon console application (MIT) from its GitHub release, checks its SHA-256 against the one this package pins, and keeps it in %LOCALAPPDATA%\metal-gpu-trace, where perf_record and perf_attach find it; later calls reuse it. It needs administrator rights or the Performance Log Users group to run.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "presentmon_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoresult paths to keep, dotted: common.frame_pacing

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "result paths to keep, dotted: common.frame_pacing",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changedv0.24.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Addedv0.10.1

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (openWorldHint, idempotentHint), the description discloses the network source, checksum pinning, the on-disk install path, cached-reuse behavior, and the privilege requirement ('administrator rights or the Performance Log Users group'). That last detail is exactly the kind of operational gating an agent cannot get from the structured fields.

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?

Front-loaded with the platform constraint, and every clause carries real information. The first sentence is a long chained clause (source, verification, path, consumers, caching) that reads as a run-on rather than cleanly separated points.

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?

For a download-and-install step, the definition covers source, integrity verification, destination, caching semantics, and privilege requirements; the return shape is covered by the existing output schema. Nothing an agent needs in order to invoke it correctly is missing.

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?

The single 'fields' parameter is fully described in the schema (100% coverage, including the dotted path example 'common.frame_pacing'), so the schema does the heavy lifting. The description adds no meaning about the parameter and does not relate it to the install behavior, leaving it at the baseline for high schema coverage.

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?

States a specific verb and resource ('downloads Intel's PresentMon console application (MIT) from its GitHub release') plus the actions bundled with it: SHA-256 verification and placement in %LOCALAPPDATA%\metal-gpu-trace. It also names the consumers ('where perf_record and perf_attach find it'), which separates it from every other perf_* sibling.

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?

'Windows only' and 'later calls reuse it' give clear context on when this applies and why it is safe to call repeatedly. It implies it is the prerequisite step for perf_record/perf_attach, but never states an explicit when-not-to-use or an alternative install path.

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