Skip to main content
Glama

MySaaS Blog

List agent activity

list_agent_activity
Read-onlyIdempotent

Recorded MCP calls, newest first, over the last 90 days: tool, status, duration, error code, read or write, and a coded summary of each write. Never arguments or results. Without agents:read, only this connection's calls. Filter by agent, kind, errors and period; pass since (ISO date, nextSince of the previous answer) to follow new calls without a live stream; cite requestId when you report a call.

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

Input Schema

NameRequiredDescriptionDefault
kindNo
agentNoAgent to show: "oauth:<client_id>" or "key:<id>" from list_agent_connections. Another agent than the caller requires agents:read.
sinceNoISO date: calls started or finished after it.
cursorNonextCursor of the previous page.
errorsNo
periodNo

Output Schema

NameRequiredDescriptionDefault
agentNo
itemsYes
nextSinceNo
nextCursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the 90-day retention bound, newest-first ordering, a hard privacy boundary ("Never arguments or results"), and permission-scoped visibility: without agents:read only this connection's calls are returned. Those are exactly the behavioral facts an agent needs before trusting or reporting the output.

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?

Scope, privacy boundary, permission caveat, filtering, and pagination are packed into a short, front-loaded passage with no filler sentence. Each clause carries distinct information, and the most decision-relevant facts (what is recorded, what is never returned) come first.

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 a paginated read tool with an output schema, this covers everything the description is responsible for: retention window, ordering, visibility rules, destructuring of the record shape, incremental polling via since, and output usage discipline. Return-value details are rightly left to the output schema.

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 50% schema coverage, the description compensates well for the undocumented parameters by explaining what kind, errors, and period filter on, and by giving since a purpose (incremental follow of new calls) rather than just a type. The cursor parameter itself is only covered by the schema, and the reference to "nextSince of the previous answer" versus the schema's "nextCursor" introduces mild ambiguity about which field drives which path.

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?

The description states the specific resource (recorded MCP calls), the ordering (newest first), the retention window (last 90 days), and enumerates exactly what each record contains: tool, status, duration, error code, read/write flag, and a coded write summary. That field list makes it unmistakable versus connection-listing or content-listing siblings, so an agent can classify it without opening the schema.

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?

It gives concrete invocation guidance: filter by agent, kind, errors and period, and use since to follow new calls without a live stream, plus an instruction to cite requestId when reporting a call. It does not name an explicit alternative tool or state when not to use it, so it falls short of full routing guidance.

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