Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

list_logs

Read-onlyIdempotent

Browse request and Function execution logs for a project — 'was it my engine or my Function code' debugging, with rich filtering.

log_type='requests' returns one row per API request (status, latency split into engine vs. Function time, redacted payload). log_type='function_logs' returns one row per Function invocation within a request's chain (status, duration, its own error text in full, and its captured print() output). The two share a requestId — use get_request_trace to fetch both sides of one request in a single call.

Filters: tenant_id, entity, http_method, and (function_logs only) function_id are exact-match and fast. At least one of those, an exact request_id, or a bounded created_after/created_before time range is required — an unfiltered, unbounded query is rejected, since requests rows never expire.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "log_type": "<log_type>"
    },
    "name": "list_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
entityNoEntity or custom endpoint name the request targeted.
statusNofunction_logs only: ok/error/halted/skipped/timeout.
log_typeYesWhich log entity to list.
tenant_idNo
project_idNoGet it from whoami or list_projects.
request_idNoExact requestId lookup — see also get_request_trace.
function_idNofunction_logs only.
http_methodNo
created_afterNoISO 8601 datetime, inclusive lower bound.
created_beforeNoISO 8601 datetime, inclusive upper bound.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Optional if whoami returned a default_project_id."New value: +"Get it from whoami or list_projects."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the description correctly focuses on behavior the annotations cannot express: payloads are redacted, Function error text is returned in full, print() output is captured, and requests rows never expire. The rejection of unbounded queries is a valuable operational trait. It stops short of describing ordering, default limit, or pagination behavior.

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?

Front-loaded with purpose, then a per-log_type breakdown, then filter rules — the reader's questions are answered in the order they arise. Sentences are dense with facts and none are filler, including the parenthetical 'was it my engine or my Function code' framing that anchors intent.

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

Completeness5/5

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

For an 11-parameter read tool with no output schema, the description supplies what the schema cannot: the shape of returned rows for each log_type, which fields are meaningful, which filters are cheap, and the query-validity rule. Nothing an agent needs in order to construct a valid first call is missing.

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?

With 73% schema coverage, the description still adds real meaning by classifying tenant_id, entity, http_method and function_id as exact-match and fast, by restricting function_id and status to function_logs only, and by stating the minimum-filter requirement that ties request_id and the time bounds together. It does not explain limit semantics or how multiple exact-match filters combine.

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?

States a specific verb and resource (browse request and Function execution logs for a project) and immediately splits it into the two concrete modes, log_type='requests' vs. 'function_logs', with what each row represents. It also names the sibling get_request_trace and the condition that selects it, so the tool is distinguishable without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Frames the intent (debugging 'my engine or my Function code'), tells the agent which log_type answers which question, and explicitly routes to get_request_trace when both sides of one request are needed. It also states a hard usage constraint — an unfiltered, unbounded query is rejected — which is exactly the when-not guidance an agent needs.

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