Skip to main content
Glama

github_activity_get_stargazer_history_for_repo

Read-only

Retrieves the star history for a GitHub repository, showing how stargazer counts change over time. Use it to track repository popularity trends and growth.

Instructions

Get repository star history

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": {
      "owner": "<owner>",
      "repo": "<repo>"
    },
    "name": "github_activity_get_stargazer_history_for_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoThe page number of the results to fetch (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
repoYesrepo
ownerYesowner
per_pageNoThe number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds nothing beyond that: it never says what the 'history' payload looks like (time series, daily aggregation, or stargazer records with timestamps), whether results are paginated in a meaningful order, or any rate-limit considerations.

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?

Four words, zero waste, and the resource is front-loaded. It is efficient but borders on under-specification, since nothing is said beyond the bare purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read tool with no output schema, the description carries the burden of explaining what 'history' returns, and it does not. Parameters are fully documented in the schema and the annotations cover the safety profile, but the return-shape ambiguity is a real gap for an agent deciding between this and the stargazer list/count tools.

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%, with page and per_page documented and linked to GitHub pagination docs, so the baseline of 3 applies. The description contributes no additional parameter meaning, such as ordering of results or what page/per_page constrain.

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 names a specific verb ('Get') and resource ('repository star history'), so the agent knows it returns historical star data rather than a current list or count. It offers no differentiation from close siblings such as github_activity_list_stargazers_for_repo or github_activity_get_stargazer_count_for_repo, leaving the boundary to be inferred.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over the stargazer-list or stargazer-count siblings, nor any prerequisite or exclusion. The agent must infer the use case entirely from the tool name.

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

Deploy Server

Other Tools