Skip to main content
Glama

messages_list_recent

Read-onlyIdempotent

List the most recent log messages for a specific log.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoSearch to this date.
fromNoSearch from this date.
countNoNumber of messages (1-100).
logIdYesThe ID (Guid) of the log.
queryNoFull-text or Lucene query. Available fields: applicationName, browser, category, country, detail, hidden, hostName, isBot, isBotSuggestion, isBurst, isFixed, isNew, message, messageTemplate, method, os, remoteAddr, severity, source, statusCode, time, type, url, user, userAgent, version. Example: browser:chrome || statusCode:500 || url:*\/api\/* && message:"NullReferenceException"
fieldsNoComma-separated list of fields to include in the response. Use this to save tokens by only requesting what's needed. Available fields: HostName, Type, Message, MessageTemplate, Time, StatusCode, Source, Detail, Severity, Url, Method, ClientIp, User, Version, Application, Hidden, UserAgent, Browser, Os, IsNew, IsFixed, IsBot, IsBotSuggestion, Country, AssignedTo, CorrelationId, Domain, Category, All.
hiddenNoWhether to include hidden log messages. Defaults to false, matching the default search behavior in the UI.
severityNoFilter by severity: Verbose|Debug|Information|Warning|Error|Fatal.Error

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world behavior. The description adds useful ordering and scoping context (most recent, specific log), but it omits notable behavioral details such as the default severity filter of Error and the default count limit, which affect what is returned.

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 a single front-loaded sentence with no wasted words. It efficiently states the operation and scope without padding.

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?

The core action is covered, and the rich input schema documents all parameters. However, for an 8-parameter list tool with many siblings and no output schema, the description does not help route among alternatives or disclose key behavioral defaults like the Error severity filter.

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 100%, so all eight parameters, including query syntax, fields, severity, and date range, are already documented in the schema. The description adds no parameter meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 specific verb (list) and resource (log messages) with scope qualifiers (most recent, for a specific log). It is clear enough to distinguish from count/get-style siblings, but it does not explicitly name or differentiate from messages_list_frequent or other list alternatives.

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 mention of alternatives such as messages_list_frequent or messages_get. The implied context is only that this lists recent messages, leaving the agent to infer selection from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources