Skip to main content
Glama

Read activity feed

activity
Read-onlyIdempotent

Read authorized personal or team activity with keyset pagination and rendered attribution. A page may hold fewer than limit events when they are large; while nextCursor is not null, call again with cursor: nextCursor. subject narrows it to one subject's history: the id an event names, or an artifact's id or alias; an artifact subject is returned by its id, or with id null once it is purged forever (its title stays in the payload).

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
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
teamNoA team's feed, by slug or id (current members only). Omit it for your personal feed.
typeNoOnly these event types: a list, or comma-separated text (connection.created,credential.rotated); the account and team vocabulary only.
actorNoOnly this actor: an account id or alias, or 'system' for the platform's own events.
limitNoPage size, 1 to 200.
sinceNoOnly what happened since: an ISO 8601 timestamp, or a time back: a number of days (7 = the last week, 0.5 = the last 12 hours) or 30m, 12h, 3d, 2w.
cursorNoThe nextCursor of the previous page (a malformed one is refused INVALID_CURSOR).
subjectNoOne subject's history: the id an event names (a connection's, a credential's, a team's), or an artifact's id or alias. A subject with no events in this feed is an empty page.

Output Schema

NameRequiredDescriptionDefault
itemsYes
partialYes
nextCursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / since / description
      Previous value: -"Only what happened since: an ISO 8601 timestamp, or a time back: a number of days (7 = the last week, 0.5 = the last 12 hours) or 12h, 3d, 2w."New value: +"Only what happened since: an ISO 8601 timestamp, or a time back: a number of days (7 = the last week, 0.5 = the last 12 hours) or 30m, 12h, 3d, 2w."
    • addedInput schema / properties / type / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "maxItems": 64,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "maxLength": 4096,
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / type / description
      Previous value: -"Only these event types, a comma list (connection.created,credential.rotated); the account and team vocabulary only."New value: +"Only these event types: a list, or comma-separated text (connection.created,credential.rotated); the account and team vocabulary only."
    • removedInput schema / properties / type / minLength
      Removed value: -1
    • removedInput schema / properties / type / type
      Removed value: -"string"
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • addedInput schema / properties / why
      Added value: +{
      +  "description": "Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / since / description
      Previous value: -"Only what happened since: an ISO 8601 timestamp, or a number of days back (7 = the last week)."New value: +"Only what happened since: an ISO 8601 timestamp, or a time back: a number of days (7 = the last week, 0.5 = the last 12 hours) or 12h, 3d, 2w."
  4. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description correctly spends its words elsewhere: it discloses the non-obvious invariant that a page may be shorter than limit without being the last page, the keyset pagination contract, and the purge behavior where an artifact subject returns with id null while its title persists. These are behaviors an agent could not infer from the annotations or schema.

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?

Purpose is front-loaded, followed by pagination, then the subject special case — a logical order with no filler sentences. The prose is dense (long clauses with parentheticals) but every sentence carries information the agent needs.

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 eight optional parameters, rich annotations, and an output schema covering return values, the description supplies the pieces that structure cannot: the pagination loop and the subject/purge edge cases. Filtering parameters (type, actor, since, team) are left entirely to the 100%-covered schema, which is acceptable but means the description alone would not fully explain the tool's filtering surface.

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 coverage is 100%, so the baseline is 3; the description earns above that by explaining what subject accepts (an event's referenced id, or an artifact id or alias) and what happens for a purged artifact subject, plus tying cursor to the prior page's nextCursor. It does not touch type, actor, since, or team, leaving those entirely to the schema.

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?

The opening clause names a concrete verb and resource ('Read authorized personal or team activity') and adds the access scope (personal vs team), so an agent knows what it gets back. It does not name a sibling alternative (e.g. connection_audit_recent) to disambiguate against, which keeps it below a 5.

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?

The description gives clear operational context for when and how to call again ('while nextCursor is not null, call again with cursor: nextCursor') and when to use the subject narrowing versus a broad feed read. It stops short of explicit when-not guidance or naming an alternative tool for audit-style lookups.

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.