Skip to main content
Glama

logs

Read-onlyIdempotent

Retrieve step-by-step MOGA operation history, including agent turns, tool calls, and errors; filter by error reference, severity, time window, and limit to trace failures and changes.

Instructions

What MOGA did, step by step: every change an operation made, each agent turn and tool call, and every error with its reference (E-7F3A, the one shown beside an error message). Entries come from every MOGA process on this computer (the app's server, the command line, each agent's tool server), newest last, with the call and turn they belong to and how long they took. ref finds an error and every entry of the same call or agent turn; level keeps that level and above (debug adds every read). Kept 7 days in the MOGA home.

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": "logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoAn error reference: that error and the steps of its call or turn
hoursNo
levelNoinfo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish a safe, read-only, idempotent, closed-world operation, yet the description still adds real context: entries aggregate from every MOGA process on this machine (app server, CLI, per-agent tool servers), ordering is newest last, and retention is 7 days in the MOGA home. It omits behavioral detail the caller would care about most for a log tool — how truncation behaves when results exceed the limit, and whether output is text or structured.

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?

Three dense sentences with essentially no filler; the content inventory comes first, then the sources/ordering/retention, then the filter semantics. The parenthetical asides ('the app's server, the command line, each agent's tool server' and 'the one shown beside an error message') are helpful but make the prose slightly sprawling.

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 no output schema, the description must convey the return shape, and it largely does: entries carry their call and turn, duration, and error reference, sorted oldest-to-newest, drawn from all local processes. What's missing for a four-parameter log query is pagination/limit behavior and the output format, both of which the agent needs before deciding how many calls to make.

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 description coverage is only 25%, with just ref documented, so the description carries real weight — and it does explain ref (an error plus every entry of its call or turn) and level (threshold plus everything above, with debug adding reads). But hours and limit are left entirely unexplained; the default 24-hour window and 2000-entry ceiling must be inferred from schema maxima alone.

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 is concrete about the resource: logs of what MOGA did — operation changes, agent turns, tool calls, and errors with their E-xxxx references. It reads more as a content inventory than an explicit verb+resource statement (no 'retrieve'/'query' framing), and it never names or contrasts with the sibling export_logs, so an agent must infer that this is the read path and export is the bulk-dump path.

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?

Usage is implied rather than stated: 'ref finds an error and every entry of the same call or agent turn' tells the agent when to reach for ref, and 'level keeps that level and above (debug adds every read)' explains the filter escalation. There is no explicit when-to-use guidance versus export_logs, no statement of when not to use it, and no mention of what to do when results are truncated.

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

Deploy Server

Other Tools