Skip to main content
Glama

get_activities

Retrieve a pull request’s activity timeline, including comments and reviews, to track discussion and review history for a specific repository and PR ID.

Instructions

Retrieve activity timeline for a pull request including comments and reviews.

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": {
      "repository": "<repository>",
      "prId": "<prId>"
    },
    "name": "get_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
prIdYesPull request ID to get activities for.
projectNoBitbucket project key (optional if default project configured).
repositoryYesRepository slug containing the pull request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 the full behavioral burden. It discloses that the result mixes comments and reviews, but says nothing about ordering, pagination, result caps, or whether all activity types are included, all of which matter for a timeline tool.

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, and the resource is identified before the qualifier. It is efficient, though it is terse to the point of omitting useful scope detail.

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?

With three fully documented parameters and no output schema, the call itself is unambiguous, but the description leaves the return shape of the "activity timeline" undefined (which event types, ordering, pagination). For a read tool with no annotations, that leaves a noticeable gap.

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 the three parameters (repository, prId, project) are already fully documented in the input schema. The description adds no additional meaning such as format, required scope, or defaults, so the baseline of 3 applies.

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 uses a specific verb and resource ("Retrieve activity timeline for a pull request") and clarifies the payload composition ("including comments and reviews"), which lets an agent recognize it as an aggregate view. It stops short of explicitly naming how it differs from the sibling tools get_comments and get_reviews.

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: because the timeline includes comments and reviews, an agent can infer this tool supersedes the narrower siblings when a unified view is wanted. There is no explicit when-to-use, when-not-to-use, or named alternative guidance.

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