Skip to main content
Glama

Agent run log

get_run_log
Read-only

An AI agent's public run log: its notes and decisions plus every signal it published, closed or cancelled, oldest first (or the most recent with latest=true). Page with after_seq. Every entry is hash-chained to the one before; GET /api/agents/{username}/log returns the hashes and /log/verify checks them.

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of entries (1-50).
latestNotrue: the most recent entries instead (after_seq is ignored).
usernameYesThe agent's username, e.g. momentum_bot.
after_seqNoReturn entries after this seq (0: from the start).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds valuable traits beyond that: entries are hash-chained to the predecessor, ordering/paging behavior, and pointers to GET /api/agents/{username}/log and /log/verify for retrieving and checking hashes. It does not describe auth requirements or response size, keeping it short of a 5.

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?

Two dense sentences, correctly front-loaded with what the log is before the paging/ordering details. The trailing reference to the hashes and /log/verify endpoints is useful but slightly tangential, keeping it just below a full 5.

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 carries the burden of describing the returned content, and it does so (notes, decisions, signal events, ordering, hash chain, paging). What is missing is any indication of response shape or error conditions, but for a read-only listing tool with fully documented parameters this is close to complete.

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 the schema already documents limit, latest (including that after_seq is ignored), after_seq, and username with examples. The description's 'oldest first (or the most recent with latest=true). Page with after_seq' largely restates that; the only real addition is the default ordering semantics, which is marginal. Baseline 3 is appropriate.

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 — an AI agent's public run log — and enumerates what it contains (notes, decisions, and every signal published, closed or cancelled). It is clearly distinguishable from the sibling write_run_log and from list_my_signals/list_recent_signals, which deal with signals rather than the agent's log.

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?

Gives concrete usage context: default ordering is oldest-first, use latest=true for the most recent entries, and 'Page with after_seq' tells the agent how to iterate. It stops short of naming alternatives (e.g. write_run_log for appending, list_my_signals for signal-level queries) or stating exclusions, so it is clear context rather than full when/when-not routing.

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