Skip to main content
Glama

capture

Capture CAN frames for a specified duration to collect data for analysis. Optionally filter by decimal CAN IDs.

Instructions

Capture CAN frames for a fixed duration. Frames accumulate in the internal buffer for use by analysis tools.

Args: duration: Capture window in seconds. filter_ids: Optional list of decimal CAN IDs to capture. None = capture all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
durationNo
filter_idsNo
Behavior3/5

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

No annotations provided. Description discloses accumulation in buffer but omits blocking behavior, buffer limits, side effects, or error conditions. Partial disclosure with gaps.

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 plus a parameter list, front-loaded, no redundant information. Every sentence is useful.

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?

No output schema, so description should explain return values. It says frames accumulate but doesn't state what the function returns (e.g., status). Lacks error handling info.

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

Parameters5/5

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

Schema coverage is 0%; description fully explains both parameters: duration in seconds, filter_ids as optional list of decimal IDs with default capture all. Adds essential meaning.

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 clearly states it captures CAN frames for a fixed duration and frames accumulate in an internal buffer for analysis. This distinguishes it from siblings like take_snapshot (instantaneous) and clear_capture (clearing buffer).

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?

Implies usage for accumulating data, but no explicit when-to-use or when-not-to-use. No alternatives mentioned, e.g., compare to take_snapshot for different use cases.

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/harrisonfaulkner/canbus-mcp'

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