Skip to main content
Glama

dosbox_read_trace

Read-only

Need to know if a traced call ran? Read its stored values and hit count; zero means it has not fired.

Instructions

Read what an installed trace has recorded: the values from its most recent hit, and how many times it has fired. A hit count of zero means the traced call has not run -- which is itself an answer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNo
handleNoTrace handle; omit if only one is installed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, covering the non-mutating nature. The description adds meaningful context beyond those hints by disclosing that only the most recent hit is visible and that a hit count of zero is itself a useful answer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, with no filler. The core action and output shape come first, and the actionable interpretation of a zero hit count follows immediately. This is efficient and front-loaded.

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?

Given that output schema exists, annotations cover safety, and the operation is a simple trace read, the description provides enough operating context. The main residual gap is the undocumented pid parameter, but it is optional and handle is already described in the schema.

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 coverage is only 50%, and the description does not compensate for the undocumented pid parameter. The handle parameter does have schema-level meaning ('omit if only one is installed'), but the description itself adds no parameter-level guidance. An agent would have to infer what pid refers to.

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 uses a specific verb-resource pair: 'Read what an installed trace has recorded' and specifies exactly the returned information (most recent hit values and hit count). It also differentiates itself from siblings like dosbox_install_trace and dosbox_remove_trace by describing a read of existing recorded state.

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?

The description clearly implies when to use it: after a trace is installed, to see whether it fired and what values were captured. Interpreting a zero hit count is also explicitly explained, which guides acting on the result. It does not explicitly name alternatives or state when not to use this tool, so it does not earn a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/md0-code/dosbox-x-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server