Skip to main content
Glama

serial_session_log

Retrieve all accumulated serial logs for a handle since it opened, giving analyze_log complete session data for overall analysis.

Instructions

取该句柄自打开以来的全部累积日志(喂给 analyze_log 做整体分析用)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, but it does disclose one meaningful behavioral trait the schema cannot: the log is cumulative from session open rather than incremental. It says nothing about size limits, truncation, blocking behavior, or whether the buffer is consumed/cleared, which leaves gaps for an unannotated read tool.

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?

One compact sentence with the resource and scope front-loaded before the usage hint in parentheses. Nothing is wasted, though the parenthetical slightly dilutes an otherwise direct statement.

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?

An output schema exists, so return values need not be explained, and the intended use with analyze_log is stated. Still, the single parameter's origin is unexplained and, with zero annotations, the safety/behavior profile of this read is only partially covered by 'cumulative since open'.

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

Parameters2/5

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

Schema description coverage is 0% for the single required 'handle' parameter. The description refers to 'that handle' but never says where the handle comes from (presumably serial_open) or what form it takes, so it does not compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: retrieving the full cumulative log for a given session handle, with the scope ('since opened') made explicit. This distinguishes it from incremental readers like serial_read, but the description never names that sibling to make the contrast airtight.

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?

The parenthetical 'to feed analyze_log for overall analysis' gives a clear intended downstream use, which implies when to pick this over incremental reads. However, there are no explicit exclusions, no statement of when not to use it, and no named alternative among the many sibling tools.

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