Skip to main content
Glama

journal

Read debugging bug logs at session start and append approved root-cause findings and fixes to preserve context across Keil debug sessions.

Instructions

Nhật ký bug: read lúc đầu phiên; append khi tìm ra nguyên nhân (người dùng duyệt).

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": {
      "action": "<action>"
    },
    "name": "journal"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixNo
ruleNo
limitNo
titleNo
actionYes
statusNođề xuất, chờ duyệt
symptomNo
evidenceNo
root_causeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the mixed read/write nature is partly covered. The description adds genuinely useful behavior—that append is gated on user approval and tied to the moment a root cause is established—but says nothing about what gets written, whether entries are archived, or how a read result is scoped.

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?

A single, front-loaded sentence split by a semicolon so each clause maps to one action—no filler. It is arguably over-terse for a 9-parameter tool, but no words are wasted.

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?

For a 2-action, 9-parameter mutation tool with no output schema and no schema descriptions, the definition should document at least which fields belong to append and what a read returns. It covers the workflow contract but leaves the actual payload underspecified.

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?

All 9 parameters have zero schema description coverage, and the description explains none of them. At best the mention of 'root cause' implicitly points at the root_cause field; symptom, evidence, fix, rule, status, title and limit are left entirely opaque, including which ones apply only to append.

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 names the resource (bug journal / 'Nhật ký bug') and its two modes—read and append—with the trigger for each. It is clearly distinct from siblings like read_log or snapshot, though it never states that it is a persisted cross-session knowledge store in so many words.

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

Usage Guidelines4/5

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

Explicit timing guidance is given for both actions: read at the start of a session, append only when the root cause has been found and the user approves. It lacks any comparison to alternative tools, so it stops short of naming when-not-to-use this tool.

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