Skip to main content
Glama

get_server_activity

Read-only

Retrieve recent activity audit logs for a specific server, with optional event filtering and pagination to review server actions.

Instructions

Get recent activity audit logs for a specific server.

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": {
      "server_id": "<server_id>"
    },
    "name": "get_server_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPagination page (default 1)
eventNoOptional event filter (e.g. 'server:file.write')
per_pageNoEntries per page
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's burden is reduced. It adds the useful scope that logs are server-specific audit entries, but leaves key behavior unstated: what "recent" means (retention window), ordering, and how pagination behaves across pages.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient but so terse that it omits structure an agent would benefit from, such as output characteristics.

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?

This is a simple 4-parameter read tool with readOnlyHint set, so the bar is modest and the definition is minimally viable. However, with no output schema, the description does not say what an audit entry contains or what the "recent" window is, leaving return-value expectations unmanaged.

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 page, per_page, event, and server_id are all documented in the schema itself, making 3 the baseline. The description contributes only the notion that results are scoped to one server (server_id) and adds no meaning beyond the schema for the event filter or pagination.

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?

Names a specific verb and resource ("Get recent activity audit logs") and scopes it to "a specific server", which lets an agent separate it from account-wide siblings like get_account_activity. It stops short of explicitly naming the alternative, so sibling differentiation is implied by scope rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: the phrase "recent activity audit logs" suggests inspecting recent server events, and "for a specific server" implies the sibling with a server scope. There is no explicit when-to-use, when-not-to-use, or pointer to get_account_activity for account-level logs.

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