Skip to main content
Glama

start_runtime_monitor

Starts a background J-Link/RTT/SystemView runtime monitor that reserves hardware until stopped, duration ends, or trace byte limit is reached; poll get_runtime_report for updates.

Instructions

Start background J-Link/RTT/SystemView monitor / 启动后台运行状态监控.

Reserves hardware until stop/duration/trace byte limit. Poll get_runtime_report for updates. Other hardware tools are unavailable during monitoring. No CPU halts unless sample_cpu=true.

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": "start_runtime_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoauto
poll_msNo
duration_sNo
sample_cpuNo
rtt_channelNo
block_addressNo
ready_latency_usNo
isr_budget_percentNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does useful work: it discloses exclusive hardware reservation, the conditions that release it, and that CPU halts do not occur unless sample_cpu=true. It does not cover permissions, failure behavior, or whether the trace byte limit is internally configured, but the key side effects are surfaced.

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 description is short and front-loads the primary action, then lists the key constraints in compact sentences. The bilingual repetition is redundant for an agent reading English, but the overall structure remains efficient.

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

Completeness2/5

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

For an eight-parameter tool with zero schema description coverage, the description is not complete enough to guide correct invocation. It omits the meaning and acceptable values for most parameters, leaving the agent to infer behavior for mode, polling interval, RTT channel, block address, latency, and ISR budget. Output behavior is not a gap because an output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for eight parameters, so the description must compensate. It explains only sample_cpu and indirectly duration_s, while mode, poll_ms, rtt_channel, block_address, ready_latency_us, and isr_budget_percent receive no meaning. It also mentions a 'trace byte limit' that has no corresponding schema parameter, which adds confusion.

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 description names a specific verb and resource: 'Start background J-Link/RTT/SystemView monitor.' It distinguishes the tool from its read counterpart by directing the agent to poll get_runtime_report for updates. It does not explicitly distinguish itself from rtt_start or runtime_snapshot, which keeps it just below a top score.

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?

It gives clear operational guidance: poll get_runtime_report for updates, use stop/duration/trace byte limit to end monitoring, and note that other hardware tools are unavailable while monitoring. It does not explicitly say when to prefer runtime_snapshot or rtt_start instead, so the when-not guidance is partial.

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