Skip to main content
Glama

dosbox_sample

Samples watched memory fields repeatedly into a TSV, showing how values move over time, while preserving the entry segment for offline analysis.

Instructions

Sample a set of memory fields repeatedly and write the series as a TSV. dosbox_read_memory answers what a value is and dosbox_wait_for answers when it becomes something; this answers how it MOVES, which is what most questions about a running program actually are. Every field in a row comes from one snapshot, so the columns do not drift against each other. watch takes symbol names, offsets, or the name of a watch set the profile defines. The whole segment at the entry instant is dumped beside the TSV, so a question nobody thought to put in the watch list can still be answered offline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hzNoSamples per second.
outNoWrite <out>.tsv and <out>_entry_ds.bin.
pidNo
pokesNoWritten once after the entry sample, before the series.
watchYesSymbols, offsets, or a watch-set name.
secondsNoHow long to sample.
settle_secondsNoWait between the entry sample and the pokes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds behavioral context beyond the annotations by explaining that each row shares a coherent snapshot (no column drift), that the output is an on-disk TSV plus an entry-time segment dump, and that the dump allows offline investigation. It does not enumerate every side effect, such as pokes, but the schema already documents those and the annotations are consistent.

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 front-loaded with the core purpose and each major sentence contributes useful context: the semantics, the sibling contrast, the snapshot consistency guarantee, and the side outputs. The rhetorical phrase 'which is what most questions about a running program actually are' is slightly extraneous but not bloated or confusing.

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?

For a 7-parameter tool with high schema coverage and supporting annotations, the description covers the conceptual essentials: what it samples, how it differs from siblings, and what output artifacts are produced. It does not spell out duration, frequency, or pokes flow, but those are already described in the input schema and the description is strong enough for selection and initial invocation.

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?

With 86% schema description coverage, the schema does most of the parameter-documentation work, so a baseline of 3 is appropriate. The description adds a little extra meaning by clarifying that watches can be symbols, offsets, or profile-defined watch sets and that the dump lets unreported questions be answered later, but it does not redefine the parameter contracts.

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 opens with a specific verb and resource: 'Sample a set of memory fields repeatedly and write the series as a TSV.' It then immediately distinguishes itself from dosbox_read_memory and dosbox_wait_for by positioning this tool as answering 'how it MOVES,' so an agent can tell what the tool does without opening the schema.

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

Usage Guidelines5/5

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

It gives an explicit routing rule: dosbox_read_memory answers what a value is, dosbox_wait_for answers when it becomes something, and this tool answers how it moves over time. This is a genuine when-to-use vs. alternative-tool comparison, not just a vague statement of behavior.

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