Skip to main content
Glama

A repository's facts

get_repo
Read-onlyIdempotent

One GitHub repository as Upstar sees it, the same facts as its Upstar page: stars and gains, its usual week, its star total week by week over 12 weeks, its topics and ranks, when Upstar spotted it, its latest release, license, activity and collections. Answers for every repository with an Upstar page, kept-out ones included; blocked ones have none.

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

Input Schema

NameRequiredDescriptionDefault
langNolanguage of the names, descriptions and links Upstar writes: en (default at /mcp) or fr (default at /fr/mcp); repository descriptions stay as their authors wrote them
repoYesthe repository: owner/name, or its GitHub or Upstar address
detailNocompact (the default): each repository's rank, name, description, language, stars, gains and Upstar page; full adds its creation day, health level, topics with their ranks and GitHub address, list_topics its categories, and get_repo its 12-week history, GitHub topics, activity counts and every period's rankscompact

Output Schema

NameRequiredDescriptionDefault
langYeslanguage of names and descriptions written by Upstar (en or fr)
repoYes
sourceYesthe source to cite when using these figures
method_urlYesUpstar's page explaining how stars are counted and repositories ranked
data_updated_atYeswhen Upstar last rebuilt its rankings from GitHub's data (UTC, RFC 3339): every figure is as of then

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / repo / properties / ranks / anyOf
      Previous value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "of": {
      -          "description": "how many repositories rank in the topic over the period",
      -          "type": "integer"
      -        },
      -        "period": {
      -          "type": "string"
      -        },
      -        "rank": {
      -          "type": "integer"
      -        },
      -        "topic": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "name": {
      -              "type": "string"
      -            },
      -            "rank_this_week": {
      -              "type": "integer"
      -            },
      -            "slug": {
      -              "type": "string"
      -            },
      -            "url": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "slug",
      -            "name",
      -            "url"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [
      -        "topic",
      -        "period",
      -        "rank",
      -        "of"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "of": {
      +          "description": "how many repositories rank in the topic over the period",
      +          "type": "integer"
      +        },
      +        "period": {
      +          "type": "string"
      +        },
      +        "rank": {
      +          "type": "integer"
      +        },
      +        "topic": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "name": {
      +              "type": "string"
      +            },
      +            "rank_this_week": {
      +              "type": "integer"
      +            },
      +            "slug": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "slug",
      +            "name",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "under_review": {
      +          "description": "a judge doubts the repository belongs in this topic: Upstar features it elsewhere and its page says the rank is under review",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "topic",
      +        "period",
      +        "rank",
      +        "of"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / repo / properties / spotted / anyOf
      Previous value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "growth": {
      -        "description": "how many times its stars grew since",
      -        "type": "string"
      -      },
      -      "rank_when_spotted": {
      -        "description": "its rank in that topic's weekly ranking then, any rank; absent when not kept (before November 2026)",
      -        "type": "integer"
      -      },
      -      "spotted_in": {
      -        "anyOf": [
      -          {
      -            "type": "null"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "name": {
      -                "type": "string"
      -              },
      -              "rank_this_week": {
      -                "type": "integer"
      -              },
      -              "slug": {
      -                "type": "string"
      -              },
      -              "url": {
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "slug",
      -              "name",
      -              "url"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "the topic it was first ranked in"
      -      },
      -      "spotted_on": {
      -        "type": "string"
      -      },
      -      "stars_when_spotted": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "spotted_on",
      -      "stars_when_spotted",
      -      "growth"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "growth": {
      +        "description": "how many times its stars grew since",
      +        "type": "string"
      +      },
      +      "rank_when_spotted": {
      +        "description": "its rank in that topic's weekly ranking then, any rank; absent when not kept (before November 2026) or the repo has left that topic",
      +        "type": "integer"
      +      },
      +      "spotted_in": {
      +        "anyOf": [
      +          {
      +            "type": "null"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "name": {
      +                "type": "string"
      +              },
      +              "rank_this_week": {
      +                "type": "integer"
      +              },
      +              "slug": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "slug",
      +              "name",
      +              "url"
      +            ],
      +            "type": "object"
      +          }
      +        ],
      +        "description": "the topic it was first ranked in; absent when the repo has left that topic"
      +      },
      +      "spotted_on": {
      +        "type": "string"
      +      },
      +      "stars_when_spotted": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "spotted_on",
      +      "stars_when_spotted",
      +      "growth"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / repo / properties / spotted / anyOf
      Previous value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "growth": {
      -        "description": "how many times its stars grew since",
      -        "type": "string"
      -      },
      -      "spotted_on": {
      -        "type": "string"
      -      },
      -      "stars_when_spotted": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "spotted_on",
      -      "stars_when_spotted",
      -      "growth"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "growth": {
      +        "description": "how many times its stars grew since",
      +        "type": "string"
      +      },
      +      "rank_when_spotted": {
      +        "description": "its rank in that topic's weekly ranking then, any rank; absent when not kept (before November 2026)",
      +        "type": "integer"
      +      },
      +      "spotted_in": {
      +        "anyOf": [
      +          {
      +            "type": "null"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "name": {
      +                "type": "string"
      +              },
      +              "rank_this_week": {
      +                "type": "integer"
      +              },
      +              "slug": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "slug",
      +              "name",
      +              "url"
      +            ],
      +            "type": "object"
      +          }
      +        ],
      +        "description": "the topic it was first ranked in"
      +      },
      +      "spotted_on": {
      +        "type": "string"
      +      },
      +      "stars_when_spotted": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "spotted_on",
      +      "stars_when_spotted",
      +      "growth"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, non-open-world operation. The description adds meaningful behavioral context beyond the annotations by explaining the repository coverage rule and the specific fact set returned, including the blocked-repository caveat, though it does not discuss auth or error behavior.

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?

The description is front-loaded with the core resource and data scope, followed by a concise coverage caveat. The enumeration of facts is somewhat dense but each item helps an agent understand what the tool returns, with little obvious waste.

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?

Given that an output schema exists and annotations cover safety and openness, the description is largely complete: it states what the tool retrieves, what data is included and how repository coverage behaves. The main gap is the absence of explicit sibling routing guidance, but the core retrieval context is sufficient.

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 schema already defines repo, lang and detail thoroughly. The description mentions facts such as the 12-week history that map to detail=full, but it does not add parameter syntax, defaults or selection guidance beyond what the schema provides, making the baseline 3 appropriate.

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 says this returns facts for one GitHub repository as Upstar sees it and enumerates the specific data included, such as stars, weekly history, topics, ranks, release, license, activity and collections. It implies a single-repository resource distinct from list/search/trending siblings, but does not explicitly name or contrast those alternatives, so it stops short of 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 Guidelines3/5

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

The scope note says answers are available for every repository with an Upstar page, including kept-out repositories, while blocked ones have none. That gives useful coverage context but does not state when to use this tool versus search, get_collection, trending or other siblings, leaving usage guidance implied rather than explicit.

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.

Resources