Skip to main content
Glama

List logs

list_logs

Retrieve and filter application request and activity logs with pagination and sorting. Use filter expressions to isolate high-level errors or failed status codes.

Instructions

List application request/activity logs with pagination, filtering and sorting (superuser only). Filter example: 'level >= 4 && data.status >= 400'. Sort defaults to newest first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (default 1).
sortNoSort expression (default '-created').
filterNoFilter expression over log fields (level, message, data.*).
perPageNoItems per page (default 50).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It does disclose the superuser-only access requirement, the default sort order, and gives a filter syntax example, which is useful. However, it does not mention response shape, pagination metadata, potential access errors, or any rate/volume considerations, so the behavioral picture is incomplete.

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?

Two sentences with no filler. The first sentence states what the tool does and its key capabilities, and the second gives a concrete filter example and the default sort order. Every sentence earns its place.

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?

Given that all parameters are optional, fully documented in the schema, and there is no output schema, the description is largely sufficient for an agent to make a correct call. The main gap is the lack of explicit alternative routing (e.g., when to use get_log or get_logs_stats instead), but the core invocation details are well covered.

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

Parameters4/5

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

The input schema already documents all four parameters at 100% coverage, so the baseline is 3. The description adds value beyond the schema by providing a concrete filter expression example ('level >= 4 && data.status >= 400') and clarifying the default sort behavior ('newest first'), which helps an agent construct valid and effective calls.

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?

Description states a specific verb ('List'), a clear resource ('application request/activity logs'), and the key operational features (pagination, filtering, sorting). It also adds the superuser restriction, which distinguishes access level from other list tools. This is unambiguous and effectively differentiates from siblings like get_log and get_logs_stats.

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 gives clear context for when this tool is appropriate: listing logs with pagination, filtering, and sorting, with an example filter expression. It does not explicitly name alternative tools or state when not to use it, but the sibling tools (e.g., get_log, get_logs_stats) are implied by the 'list' framing.

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

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/nestebe/pocketbase-mcp'

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