Skip to main content
Glama

periodic_list

Read-onlyIdempotent

Lists periodic CAN transmit tasks on an open device session, showing names, arbitration IDs, payloads, periods, and states without starting, stopping, or transmitting frames.

Instructions

List periodic TX tasks registered on one already-open session.

    Read-only: does not start, stop, or transmit. Use periodic_start to add a
    task and periodic_stop to remove one by name. If the alias is not open,
    returns SESSION_NOT_FOUND (error state is still listed so a failed stop
    remains visible). data.tasks is an array; each item has name,
    arbitration_id, data (lowercase hex, no spaces), is_extended, is_fd,
    period_ms, and state. duration_s and stop_error appear only when set.
    

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": "periodic_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesDevice alias from config / list_devices

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.4
    • addedInput schema / properties / device / description
      Added value: +"Device alias from config / list_devices"
  2. First observedv0.1.3

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, so the bar is lower, but the description still adds real behavior: it does not start, stop, or transmit; it requires an already-open session; failed sessions keep their error state in the listing so a failed stop stays visible; and it names the conditional fields duration_s and stop_error. This is meaningful context beyond the annotation set.

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 action, then the exclusion, then prerequisites and return shape. Nothing is filler, though the field-by-field enumeration of data.tasks partly duplicates the existing output schema, making the back half denser than necessary.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with full annotations and an output schema, this covers everything needed: prerequisite, sibling routing, error semantics, and which fields are conditional. No gap would force an agent to guess before calling it.

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?

Only one parameter exists and schema coverage is 100%, with the schema itself documenting 'Device alias from config / list_devices'. The phrase 'on one already-open session' reinforces that the device must be open, but the description adds no further syntax or format detail, so baseline 3 applies.

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 and resource ('List periodic TX tasks registered on one already-open session') and immediately scopes it against the sibling write tools periodic_start and periodic_stop. An agent can distinguish it from the other periodic_* tools without opening a 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?

Explicitly routes the agent: use periodic_start to add a task, periodic_stop to remove one by name, and this tool only to enumerate. It also states the prerequisite (the alias must already be open) and the failure mode (SESSION_NOT_FOUND), which is the deciding condition for calling it.

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