Skip to main content
Glama
JOCOIN94

silotek-serial-mcp

by JOCOIN94

get_recent_logs

Retrieve recent serial log lines from a connected embedded device, with duplicate folding. Specify a port when multiple boards are active.

Instructions

[언제 호출] 블랙박스 루프의 '결과 확인' 단계 — 사람이 장비를 동작시킨 뒤 쌓인 로그를 확인할 때. 가장 자주 쓰는 도구.

[port 규약] 보드가 여러 개면 port 를 지정하라(별칭 "SSM" 또는 "COM4", 대소문자 무관). 미지정: 포트 1개면 그 포트, 복수면 에러와 함께 ports 목록을 돌려준다 — 목록에서 골라 즉시 재호출하면 된다.

[무엇을 반환] 최근 N개 라인(시간 오름차순). 근접 중복은 룩백으로 접혀 '(N회 반복, HH:MM:SS~HH:MM:SS)' 표기 — 접힘은 요약이라 반복 줄들의 정밀한 교차 순서는 뭉개진다. 정밀 순서가 필요하면 SERIAL_DEDUP=1 또는 0 으로 낮춰 재시험하라(tee 파일엔 원본 보존).

[팁] 결과가 많으면 query_serial_logs 로 좁혀라. 비어 있으면 get_serial_status 로 연결을 확인하고, 그래도 비면 사람에게 장비 동작/리셋을 요청하라.

[루프 단계] 결과 확인.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNo
portNo
Behavior5/5

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

With no annotations, description fully discloses behavior: returns recent N lines in time order, deduplicates nearby duplicates with summary showing repetition count and time range, warns that precise order is lost, and suggests adjusting SERIAL_DEDUP for precision.

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?

Description is structured with clear sections in brackets ([언제 호출], [port 규약], [무엇을 반환], [팁], [루프 단계]). Each section is concise and adds essential information without redundancy.

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?

Given 2 parameters with no schema descriptions and no output schema, the description fully covers usage context, port protocol, return format, deduplication behavior, alternatives, and troubleshooting. It is more than sufficient for agent to invoke correctly.

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

Parameters4/5

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

Though schema coverage is 0%, description explains port behavior in detail (alias, multiple boards case) and implies lines parameter by mentioning recent N lines. However, it does not explicitly describe the 'lines' parameter or its default value. Well-articulated port semantics compensate for missing schema descriptions.

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?

Description starts with '[언제 호출] 블랙박스 루프의 '결과 확인' 단계' clearly stating when to use it. It specifies it retrieves recent logs and distinguishes from siblings by mentioning alternatives like query_serial_logs and get_serial_status.

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 states when to call after operating equipment, how to handle multiple boards with port specification, and provides troubleshooting tips: if too many results use query_serial_logs, if empty check get_serial_status then ask human.

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

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