Skip to main content
Glama

activity

Read-only

Track who changed which files, whether an AI made each change, and when, commit by commit, newest first, with filters for folder, author, type, and time range.

Instructions

Who changed what, and whether an AI did, commit by commit, newest first: each event has sha, author, email, ai (the AI family, null for a human), date, type (create | edit | move | delete | check | revert | receive | snooze | node_add | node_remove), title, subject and files (status A added, M modified, D deleted, R renamed with its from). The mind-wide counterpart of doc_history: scope it to a folder, or filter by author (e.g. to skip sync commits). Use changes_since for the net change per doc since your last visit, agent_runs to see one agent's work grouped, and undo it. truncated: more events may exist.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow far back to look, in days.
typeNoOnly this event type: create, edit, move, delete, check, revert, receive (an inbox drop), snooze, node_add or node_remove.
limitNoMost events to return, newest first.
authorNoOnly events whose author contains this.
path_prefixNoRestrict to a folder (or a file), e.g. 'projets'.

Output Schema

NameRequiredDescriptionDefault
eventsYes
truncatedNo
since_daysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.9.0
    • addedInput schema / properties / path_prefix
      Added value: +{
      +  "description": "Restrict to a folder (or a file), e.g. 'projets'.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv2.8.0
    • changedInput schema / properties / days / description
      Previous value: -"Window in days."New value: +"How far back to look, in days."
    • addedInput schema / properties / limit / description
      Added value: +"Most events to return, newest first."
  3. First observedv2.7.0

TDQS

A4.6/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 ordering ('newest first'), default lookback behavior implied by days, and the operational caveat that '`truncated`: more events may exist' — a behavior the agent could not infer from annotations. It does not mention pagination mechanics beyond truncation or rate/permission constraints, but nothing is misleading.

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?

Front-loaded with the core question 'who changed what', then event shape, then alternatives, then truncation caveat. It is dense but efficient; the full enumeration of event types and file status letters partly duplicates the schema, which is the only wasted space.

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?

An output schema exists, yet the description still conveys the essentials an agent needs to interpret and route results: ordering, event fields, the truncated signal, and sibling alternatives for related questions. Nothing required to call or interpret this tool 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?

Schema description coverage is 100%, so the baseline is 3; the description earns above that by explaining the intent behind filters — folder scoping via path_prefix and author matching as a way 'to skip sync commits' — which the schema's terse field docs do not convey. It still does not illustrate formats for author or type beyond restating them.

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 concrete verb-and-resource: it returns the activity log ('who changed what... commit by commit, newest first') with the full event shape. It explicitly frames itself as 'the mind-wide counterpart of doc_history', which immediately separates it from the sibling that scopes to a single document.

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?

Gives explicit routing: use this for the raw event stream, 'use changes_since for the net change per doc since your last visit', 'agent_runs to see one agent's work grouped', and undo via the undo tools. It also names two concrete filtering strategies (scope to a folder, filter by author to skip sync commits), covering both when to use and how to narrow.

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