Skip to main content
Glama
alxgmpr

serial-mcp

by alxgmpr

serial_read_since

Read-onlyIdempotent

Read serial data received since a given timestamp without consuming it, preserving the read cursor for subsequent reads.

Instructions

Read historical data received since a given timestamp (non-destructive).

Unlike serial_read(), this does NOT advance the read cursor — calling serial_read_since will not affect what serial_read() returns next. If since is omitted, returns all data received since the session was opened.

Args: session_id: Port name of the session. Optional if only one session is open. since: Unix timestamp. If omitted, returns all data since session start. encoding: Character encoding for decoding the data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNo
encodingNoutf-8
session_idNo
Behavior5/5

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

Beyond annotations (readOnlyHint, destructiveHint, idempotentHint), the description adds critical behavioral detail: it does not advance the cursor, is non-destructive, and returns all data from session start if 'since' is omitted. This enriches the agent's understanding of side effects.

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?

The description is concise and well-structured: it leads with the core behavior, compares to sibling tool, then lists parameters. Every sentence adds value without redundancy. Front-loads critical info.

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?

While the description covers purpose, usage, and parameters well, it omits what the tool returns (e.g., data as string or bytes). Given no output schema, this gap leaves the agent uncertain about the return value. Otherwise, it is thorough.

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?

Since the input schema has 0% description coverage, the description fully compensates by explaining each parameter: session_id (port name, optional when only one session), since (Unix timestamp, optional, defaults to session start), encoding (character encoding). This adds essential meaning beyond schema types.

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 the tool's purpose: 'Read historical data received since a given timestamp (non-destructive).' It also explicitly distinguishes itself from serial_read by noting it does not advance the read cursor, making the purpose unambiguous.

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?

The description provides clear when-to-use guidance: use this tool for non-destructive historical reading without affecting the next serial_read(). It also explains the behavior when 'since' is omitted, giving users context on how to invoke the tool correctly.

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/alxgmpr/serial-mcp'

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