Skip to main content
Glama

read_log

Read-only

Retrieves filtered session log events from an open Keil uVision debug session, enabling inspection of tool activity by session, event, or time.

Instructions

Đọc sự kiện trong log phiên của KDM theo bộ lọc.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolNo
eventNo
limitNo
sinceNo
sessionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered by structured data. Beyond that the description adds almost nothing: it does not say whether results are ordered, why the limit defaults to 50, whether 'since' is a timestamp or cursor, or what a session scope implies. For a paging/filtering read tool, that is a meaningful gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is tight and front-loads the action, with no filler. But brevity here comes at the cost of substance rather than serving compactness, so it earns only a middling score for structure.

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

Completeness2/5

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

With five undocumented parameters, no output schema, and no annotations describing return behavior, the description should carry much more weight than one clause. An agent cannot determine result shape, ordering, paging semantics, or what values the filters accept, which is inadequate for a filtering tool of this complexity.

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% across five parameters (tool, event, limit, since, session), so the schema provides only names and types. The description's sole contribution is the vague notion of filtering; it never explains the meaning or expected format of 'since', what 'session' or 'tool' identify, or what 'event' matches against.

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?

The description states a clear verb + resource: 'Đọc sự kiện trong log phiên của KDM' (read events in KDM's session log), scoped by filters. An agent knows it retrieves log events rather than memory, registers, or recorder data. However, it offers no differentiation from related siblings such as journal, snapshot, or recorder, which plausibly overlap with log reading.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no named alternative. The phrase 'theo bộ lọc' (by filter) only hints that filtering is supported, leaving the agent to guess whether this or journal/snapshot is the right entry point for a given investigation.

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