Skip to main content
Glama
dchumari
by dchumari

Read the MQL5 journal log

get_journal

Read the terminal's MQL5 journal log for a given date, or the default log if no date is provided, to inspect compilation and trading events.

Instructions

Reads the terminal's MQL5 journal log for a given date (defaults to the latest).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoYYYYMMDD; defaults to the most recent log
tailLinesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully reveals that a missing date defaults to the most recent log, but says nothing about failure modes (no log for date), permissions, or log size/volume concerns.

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?

A single front-loaded sentence with no waste; the resource and its default behavior are stated immediately.

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 two-parameter read tool with no output schema and no annotations, the description covers the primary path but leaves tailLines entirely unexplained and gives no hint about what the log output looks like or how it fails.

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

Parameters3/5

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

Schema coverage is 50%: the schema documents the date format (YYYYMMDD) and default, while tailLines is undocumented in both schema and description. The description restates the date default but adds nothing about tailLines or the parameter's truncation behavior.

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 a specific verb ("Reads") and a specific resource ("the terminal's MQL5 journal log"), which cleanly separates it from the generic file tools in the sibling list. It stops short of explicitly contrasting itself with read_file/list_files, so an agent must infer the distinction.

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 guidance on when to prefer this over read_file/list_files, nor any exclusions or prerequisites. The only usage signal is the incidental "defaults to the latest," which falls short of actual when-to-use guidance.

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