Skip to main content
Glama

runtime_snapshot

Read Cortex-M fault evidence and optionally halt the target to inspect it, then restore the running state. Stop the background monitor first; sticky status reflects fault history, not an active fault.

Instructions

Read Cortex-M fault evidence; optionally halt and restore running state / 可选短暂停机检查故障.

Stop background monitor first. Sticky fault status describes history, not necessarily an active fault.

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

Input Schema

NameRequiredDescriptionDefault
halt_if_runningNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it discloses the optional halting side effect, that running state is restored, the monitor prerequisite, and the sticky-status semantics. It still leaves open whether halting is safe, what permissions are needed, and how long the brief halt lasts.

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?

Two tightly packed sentences, front-loaded with the core purpose followed by the precondition and caveat. The bilingual duplication of the halt clause adds a little redundancy but no bloat.

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?

An output schema exists, so return values need not be described. Given that, the definition covers purpose, the one optional side effect, its restoration behavior, and the monitor prerequisite, leaving only minor gaps around halt safety and duration.

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?

Schema description coverage is 0% for the single parameter, but the description partially compensates by framing halting as optional and confirming the prior running state is restored. It does not explicitly tie this to halt_if_running or state the default behavior when omitted.

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?

States a specific verb and resource ('Read Cortex-M fault evidence') plus the optional effect ('halt and restore running state'), so the agent knows exactly what the tool does. It does not name or distinguish itself from nearby siblings such as get_runtime_report or export_runtime_trace, which caps it below 5.

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?

Provides a concrete precondition ('Stop background monitor first') and an important interpretive caveat that sticky fault status reflects history rather than a live fault. It stops short of explicitly naming alternatives for live-state inspection, so no exclusions are stated.

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