Skip to main content
Glama

recent_activity

Retrieve recent project activity from your knowledge management system using natural language timeframes like 'yesterday' or 'last week'.

Instructions

Get recent activity for a project or across all projects.

Timeframe supports natural language formats like:
- "2 days ago"
- "last week"
- "yesterday"
- "today"
- "3 weeks ago"
Or standard formats like "7d"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo
depthNo
timeframeNo7d
projectNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed13 schema fields changedv1.0.0
    • removedInput schema / properties / max_related
      Removed value: -{
      -  "default": 10,
      -  "title": "Max Related",
      -  "type": "integer"
      -}
    • removedInput schema / properties / page
      Removed value: -{
      -  "default": 1,
      -  "title": "Page",
      -  "type": "integer"
      -}
    • removedInput schema / properties / page_size
      Removed value: -{
      -  "default": 10,
      -  "title": "Page Size",
      -  "type": "integer"
      -}
    • removedOutput schema / $defs
      Removed value: -{
      -  "ContextResult": {
      -    "description": "Context result containing a primary item with its observations and related items.",
      -    "properties": {
      -      "observations": {
      -        "description": "Observations belonging to this entity",
      -        "items": {
      -          "$ref": "#/$defs/ObservationSummary"
      -        },
      -        "title": "Observations",
      -        "type": "array"
      -      },
      -      "primary_result": {
      -        "description": "Primary item",
      -        "discriminator": {
      -          "mapping": {
      -            "entity": "#/$defs/EntitySummary",
      -            "observation": "#/$defs/ObservationSummary",
      -            "relation": "#/$defs/RelationSummary"
      -          },
      -          "propertyName": "type"
      -        },
      -        "oneOf": [
      -          {
      -            "$ref": "#/$defs/EntitySummary"
      -          },
      -          {
      -            "$ref": "#/$defs/RelationSummary"
      -          },
      -          {
      -            "$ref": "#/$defs/ObservationSummary"
      -          }
      -        ],
      -        "title": "Primary Result"
      -      },
      -      "related_results": {
      -        "description": "Related items",
      -        "items": {
      -          "discriminator": {
      -            "mapping": {
      -              "entity": "#/$defs/EntitySummary",
      -              "observation": "#/$defs/ObservationSummary",
      -              "relation": "#/$defs/RelationSummary"
      -            },
      -            "propertyName": "type"
      -          },
      -          "oneOf": [
      -            {
      -              "$ref": "#/$defs/EntitySummary"
      -            },
      -            {
      -              "$ref": "#/$defs/RelationSummary"
      -            },
      -            {
      -              "$ref": "#/$defs/ObservationSummary"
      -            }
      -          ]
      -        },
      -        "title": "Related Results",
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "primary_result"
      -    ],
      -    "title": "ContextResult",
      -    "type": "object"
      -  },
      -  "EntitySummary": {
      -    "description": "Simplified entity representation.",
      -    "properties": {
      -      "content": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Content"
      -      },
      -      "created_at": {
      -        "format": "date-time",
      -        "title": "Created At",
      -        "type": "string"
      -      },
      -      "file_path": {
      -        "title": "File Path",
      -        "type": "string"
      -      },
      -      "permalink": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "title": "Permalink"
      -      },
      -      "title": {
      -        "title": "Title",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "entity",
      -        "default": "entity",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "permalink",
      -      "title",
      -      "file_path",
      -      "created_at"
      -    ],
      -    "title": "EntitySummary",
      -    "type": "object"
      -  },
      -  "MemoryMetadata": {
      -    "description": "Simplified response metadata.",
      -    "properties": {
      -      "depth": {
      -        "title": "Depth",
      -        "type": "integer"
      -      },
      -      "generated_at": {
      -        "format": "date-time",
      -        "title": "Generated At",
      -        "type": "string"
      -      },
      -      "primary_count": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Primary Count"
      -      },
      -      "related_count": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Related Count"
      -      },
      -      "timeframe": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Timeframe"
      -      },
      -      "total_observations": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Total Observations"
      -      },
      -      "total_relations": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Total Relations"
      -      },
      -      "total_results": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Total Results"
      -      },
      -      "types": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "$ref": "#/$defs/SearchItemType"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Types"
      -      },
      -      "uri": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Uri"
      -      }
      -    },
      -    "required": [
      -      "depth",
      -      "generated_at"
      -    ],
      -    "title": "MemoryMetadata",
      -    "type": "object"
      -  },
      -  "ObservationSummary": {
      -    "description": "Simplified observation representation.",
      -    "properties": {
      -      "category": {
      -        "title": "Category",
      -        "type": "string"
      -      },
      -      "content": {
      -        "title": "Content",
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "format": "date-time",
      -        "title": "Created At",
      -        "type": "string"
      -      },
      -      "file_path": {
      -        "title": "File Path",
      -        "type": "string"
      -      },
      -      "permalink": {
      -        "title": "Permalink",
      -        "type": "string"
      -      },
      -      "title": {
      -        "title": "Title",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "observation",
      -        "default": "observation",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "title",
      -      "file_path",
      -      "permalink",
      -      "category",
      -      "content",
      -      "created_at"
      -    ],
      -    "title": "ObservationSummary",
      -    "type": "object"
      -  },
      -  "RelationSummary": {
      -    "description": "Simplified relation representation.",
      -    "properties": {
      -      "created_at": {
      -        "format": "date-time",
      -        "title": "Created At",
      -        "type": "string"
      -      },
      -      "file_path": {
      -        "title": "File Path",
      -        "type": "string"
      -      },
      -      "from_entity": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "From Entity"
      -      },
      -      "permalink": {
      -        "title": "Permalink",
      -        "type": "string"
      -      },
      -      "relation_type": {
      -        "title": "Relation Type",
      -        "type": "string"
      -      },
      -      "title": {
      -        "title": "Title",
      -        "type": "string"
      -      },
      -      "to_entity": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "To Entity"
      -      },
      -      "type": {
      -        "const": "relation",
      -        "default": "relation",
      -        "title": "Type",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "title",
      -      "file_path",
      -      "permalink",
      -      "relation_type",
      -      "created_at"
      -    ],
      -    "title": "RelationSummary",
      -    "type": "object"
      -  },
      -  "SearchItemType": {
      -    "description": "Types of searchable items.",
      -    "enum": [
      -      "entity",
      -      "observation",
      -      "relation"
      -    ],
      -    "title": "SearchItemType",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / description
      Removed value: -"Complete context response."
    • removedOutput schema / properties / metadata
      Removed value: -{
      -  "$ref": "#/$defs/MemoryMetadata"
      -}
    • removedOutput schema / properties / page
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Page"
      -}
    • removedOutput schema / properties / page_size
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Page Size"
      -}
    • addedOutput schema / properties / result
      Added value: +{
      +  "title": "Result",
      +  "type": "string"
      +}
    • removedOutput schema / properties / results
      Removed value: -{
      -  "description": "Hierarchical results with related items nested",
      -  "items": {
      -    "$ref": "#/$defs/ContextResult"
      -  },
      -  "title": "Results",
      -  "type": "array"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "metadata"
      -]New value: +[
      +  "result"
      +]
    • changedOutput schema / title
      Previous value: -"GraphContext"New value: +"_WrappedResult"
    • addedOutput schema / x-fastmcp-wrap-result
      Added value: +true
  2. Changed9 schema fields changed
    • removedOutput schema / $defs / ContextResult / properties / primary_result / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/EntitySummary"
      -  },
      -  {
      -    "$ref": "#/$defs/RelationSummary"
      -  },
      -  {
      -    "$ref": "#/$defs/ObservationSummary"
      -  }
      -]
    • addedOutput schema / $defs / ContextResult / properties / primary_result / discriminator
      Added value: +{
      +  "mapping": {
      +    "entity": "#/$defs/EntitySummary",
      +    "observation": "#/$defs/ObservationSummary",
      +    "relation": "#/$defs/RelationSummary"
      +  },
      +  "propertyName": "type"
      +}
    • addedOutput schema / $defs / ContextResult / properties / primary_result / oneOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/EntitySummary"
      +  },
      +  {
      +    "$ref": "#/$defs/RelationSummary"
      +  },
      +  {
      +    "$ref": "#/$defs/ObservationSummary"
      +  }
      +]
    • removedOutput schema / $defs / ContextResult / properties / related_results / items / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/EntitySummary"
      -  },
      -  {
      -    "$ref": "#/$defs/RelationSummary"
      -  },
      -  {
      -    "$ref": "#/$defs/ObservationSummary"
      -  }
      -]
    • addedOutput schema / $defs / ContextResult / properties / related_results / items / discriminator
      Added value: +{
      +  "mapping": {
      +    "entity": "#/$defs/EntitySummary",
      +    "observation": "#/$defs/ObservationSummary",
      +    "relation": "#/$defs/RelationSummary"
      +  },
      +  "propertyName": "type"
      +}
    • addedOutput schema / $defs / ContextResult / properties / related_results / items / oneOf
      Added value: +[
      +  {
      +    "$ref": "#/$defs/EntitySummary"
      +  },
      +  {
      +    "$ref": "#/$defs/RelationSummary"
      +  },
      +  {
      +    "$ref": "#/$defs/ObservationSummary"
      +  }
      +]
    • addedOutput schema / $defs / EntitySummary / properties / type / const
      Added value: +"entity"
    • addedOutput schema / $defs / ObservationSummary / properties / type / const
      Added value: +"observation"
    • addedOutput schema / $defs / RelationSummary / properties / type / const
      Added value: +"relation"
  3. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool retrieves ('Get') data, implying it's read-only, but doesn't mention behavioral traits like pagination, rate limits, authentication needs, error handling, or what 'recent activity' includes (e.g., events, changes). The timeframe format details are helpful but insufficient for a mutation-free tool with zero annotation coverage.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by specific timeframe examples. Every sentence earns its place by adding value—no redundancy or waste. The bullet-point list for timeframe formats is structured for clarity without verbosity.

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?

Given 4 parameters with 0% schema coverage and no annotations, the description is incomplete. It partially covers 'timeframe' but omits details for 'type,' 'depth,' and 'project.' An output schema exists, so return values needn't be explained, but for a read operation with multiple inputs, more parameter guidance is needed to be fully helpful.

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 0%, so the description must compensate. It adds meaning for 'timeframe' by providing natural language and standard format examples, which clarifies semantics beyond the schema's title. However, it doesn't explain 'type,' 'depth,' or 'project' parameters, leaving three of four parameters with minimal guidance. The baseline is lowered due to incomplete compensation.

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 description clearly states the tool's purpose: 'Get recent activity for a project or across all projects.' It uses a specific verb ('Get') and resource ('recent activity'), and distinguishes between project-specific and all-projects scope. However, it doesn't explicitly differentiate from sibling tools like 'search' or 'fetch' that might also retrieve activity data.

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?

The description implies usage context by mentioning 'for a project or across all projects,' suggesting this tool is for retrieving activity logs. However, it provides no explicit guidance on when to use this versus alternatives like 'search' or 'fetch,' nor does it mention prerequisites or exclusions. The timeframe examples offer some operational context but not comparative guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/basicmachines-co/basic-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server