Skip to main content
Glama
ptacr

mcp-mt5

by ptacr

tail_log

Read last N lines from MetaTrader terminal logs. Supports live, journal, and tester modes. Optionally parse journal lines into structured records with timestamps.

Instructions

Read last N lines from terminal logs.

Args: mode: "live" (Files/LiveLog.txt), "journal" (Logs/YYYYMMDD.log), "tester" (latest tester log). lines: Tail line count. date: Override YYYYMMDD for journal mode. structured: Parse journal lines into ts/source/message records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
modeNolive
linesNo
structuredNo
Behavior4/5

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

No annotations provided, so description must disclose behavior. It accurately describes reading logs (non-destructive) and parameter effects. It does not mention limitations like file existence or permissions, but for a simple read operation, this is sufficient.

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?

The description is extremely concise with a clear Args section and bullet points. Every sentence adds value; no filler or redundancy.

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

Completeness4/5

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

With 4 parameters, no annotations, and no output schema, the description covers all necessary aspects. It explains all parameters and their defaults. The return format is implied (lines of text), but a brief note on output could improve completeness.

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

Parameters5/5

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

Schema description coverage is 0%, but the description adds full meaning: explains mode values ('live', 'journal', 'tester'), lines count, date override, and structured parsing. This compensates completely for the 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?

The description clearly states 'Read last N lines from terminal logs,' specifying a verb and resource. It differentiates modes (live, journal, tester), distinguishing it from sibling tools like list_terminals or compile.

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?

The description explains parameter usage (mode, lines, date, structured), providing clear context for when to use each. It lacks explicit when-not or alternatives, but the sibling set is diverse and tail_log is unique.

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/ptacr/mcp-mt5'

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