Skip to main content
Glama

emu_coverage

Reports emulated-run coverage by listing unique instructions, hot spots, and branch forks so you can see which checks passed and which switch cases executed.

Instructions

What the emulated run executed: unique instructions, hot spots, branch forks.

forks are the addresses that had more than one successor — i.e. the branch decisions actually taken, which answers "did the check pass" and "which case of the switch ran".

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

Input Schema

NameRequiredDescriptionDefault
hotNo
keyYes
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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, and it does disclose the key semantic of `forks` (addresses with more than one successor). However it omits whether a prior emulation run/session is required, whether results are cumulative across steps, and any cost or side-effect profile.

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 purpose in the first clause, followed by a targeted explanation of `forks`. It is short and every sentence earns its place, though the escaped newlines and quote style make it slightly awkward to read.

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

Completeness3/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, and the forks explanation is a useful addition. Still, three undocumented input parameters and an unstated dependency on an existing emulation session leave meaningful gaps for an agent trying to invoke it correctly.

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 three parameters, so the description must compensate and it does not: `key`, `session`, and `hot` (default 20, presumably hot-spot count) are never mentioned. Only the output-side notion of forks and hot spots is explained, leaving the inputs entirely opaque.

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?

Names a specific resource and verb-equivalent: what the emulated run executed, enumerated as unique instructions, hot spots, and branch forks. That distinguishes it from trace/step siblings well enough, though it never names a concrete alternative.

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

Usage Guidelines3/5

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

Usage is only implied through examples like "did the check pass" and "which case of the switch ran", which suggest post-run analysis. There is no explicit statement of when to use this versus emu_trace, emu_reached, or emu_events, and no prerequisite that a run must exist first.

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