Skip to main content
Glama

periodic_start

Starts a named, time-bounded periodic CAN TX task on an open session with a required duration (max 300s), so repeated frames transmit at a fixed interval and auto-stop. Use periodic_stop to end it early.

Instructions

Start a named, time-bounded periodic TX task on an open session.

    duration_s is required (max 300s); the task auto-stops, or stop early with
    periodic_stop. Adapters with hardware periodic TX use it; while that path
    is active, send_frame may fail until periodic_stop. For one-shot TX use
    send_frame; for scripted sequences use run_scenario. Longer bench jobs
    belong in a local long-running process, not unbounded MCP TX.
    Returns JSON Result.
    

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": {
      "device": "<device>",
      "name": "<name>",
      "arbitration_id": "<arbitration_id>",
      "data": "<data>",
      "period_s": "<period_s>",
      "duration_s": "<duration_s>"
    },
    "name": "periodic_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesPayload as hex bytes, e.g. "01 02 03"
nameYesTask name used later with periodic_stop / periodic_list
deviceYesDevice alias from config / list_devices
period_sYesInterval between frames in seconds (> 0)
duration_sYesRequired run time in seconds before auto-stop; hard cap 300
is_extendedNoTrue for 29-bit extended ID; default false
arbitration_idYesCAN arbitration ID (integer, not hex string)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.4
    • addedInput schema / properties / arbitration_id / description
      Added value: +"CAN arbitration ID (integer, not hex string)"
    • addedInput schema / properties / data / description
      Added value: +"Payload as hex bytes, e.g. \"01 02 03\""
    • addedInput schema / properties / device / description
      Added value: +"Device alias from config / list_devices"
    • addedInput schema / properties / duration_s / description
      Added value: +"Required run time in seconds before auto-stop; hard cap 300"
    • addedInput schema / properties / is_extended / description
      Added value: +"True for 29-bit extended ID; default false"
    • addedInput schema / properties / name / description
      Added value: +"Task name used later with periodic_stop / periodic_list"
    • addedInput schema / properties / period_s / description
      Added value: +"Interval between frames in seconds (> 0)"
  2. First observedv0.1.3

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses that duration_s is required with a hard 300s cap, that the task auto-stops, and critically that adapters using the hardware periodic TX path may make send_frame fail until periodic_stop is called. That cross-tool side effect is exactly the kind of behavioral context annotations (destructiveHint=false, idempotentHint=false) cannot convey.

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-loads the core action and constraint, then layers alternatives and caveats in a logical order with no filler. The trailing 'Returns JSON Result' is near-redundant given an output schema exists, a minor inefficiency in an otherwise tight definition.

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?

With 7 parameters, full schema coverage, an output schema, and annotations present, the description covers the important gaps: time bounds, auto-stop, halt mechanism, and sibling interference. It stops short of stating failure modes (e.g., name collisions or unsupported adapters), which would round it out fully.

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 100%, so the baseline is 3. The description reinforces duration_s as required with a 300s cap, but that and the name-reuse hint are already stated in the schema, so it adds little beyond structured data.

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?

States a specific verb (start), resource (periodic TX task), and the defining constraints (named, time-bounded, on an open session). It also explicitly distinguishes the tool from send_frame (one-shot) and run_scenario (scripted), so an agent can select it without comparing schemas.

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?

Gives explicit routing rules: use send_frame for one-shot TX, run_scenario for scripted sequences, and a local long-running process for longer bench jobs rather than unbounded MCP TX. It also names periodic_stop for early termination, covering both entry and exit paths.

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