Skip to main content
Glama
github-fetcher

github-fetcher

by KurvCygnus

GitHub issues

github_issues
Read-onlyIdempotent

List repository issues with state, label, sort, direction, and since filters, optionally including pull requests, returning paginated results for tracking work items.

Instructions

List issues in a repository with state, label, sort, direction, and since filters. Defaults to issues only; set type to "all" to include pull requests or "pr" for pull requests alone. For aggregate counts over a time window, use github_repo_health instead of paging. Returns {items[{number, title, state, type, author, labels, created_at, updated_at, html_url, comments_count}], page, per_page, has_more, next_page}.

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": "github_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1
repoYesRepository in owner/name form
sortNoSort field: created, updated, or comments
typeNoItem kind, default issue
freshNoBypass the local cache
sinceNoOnly issues updated at or after this ISO 8601 time (GitHub semantics)
stateNoIssue state, default open
labelsNoComma-separated label names
per_pageNoItems per page, 1-100, default 20
directionNoSort direction: asc or desc

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.3.0
    • changedInput schema / properties / direction / description
      Previous value: -"Sort direction"New value: +"Sort direction: asc or desc"
    • changedInput schema / properties / per_page / description
      Previous value: -"Items per page, default 20"New value: +"Items per page, 1-100, default 20"
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "Only issues updated at or after this ISO 8601 time (GitHub semantics)",
      +  "type": "string"
      +}
    • changedInput schema / properties / sort / description
      Previous value: -"Sort field"New value: +"Sort field: created, updated, or comments"
  2. Changed1 schema field changedv0.2.0
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "Item kind, default issue",
      +  "enum": [
      +    "issue",
      +    "pr",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations supply the safety profile (readOnly, idempotent, non-destructive, open-world), so the description is free to add pagination and result-shape context. It does exactly that by warning that aggregate counting would require paging and by disclosing the returned item fields, page, per_page, has_more and next_page despite there being no output schema. It does not mention caching behavior beyond the schema's 'fresh' flag or rate limits, which keeps it short of a 5.

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?

Three sentences: filtering scope first, then the type exception, then the routing alternative and return shape. Every sentence carries distinct information and the most load-bearing constraint (issues-only default) is front-loaded.

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

Completeness5/5

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

For a 10-parameter read tool with no output schema, the description covers what it does, how the type default changes results, when to prefer a sibling, and the exact return envelope. Nothing an agent needs in order to page or filter correctly is missing.

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 coverage is 100%, with defaults and enum values already documented for type, state, sort, direction, per_page and since. The description restates the type default and its filtering meaning, which adds only modest value over the schema, and it says nothing extra about the semantics of labels, since, or fresh beyond what the property descriptions already carry.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('List issues in a repository') and enumerates the filter axes (state, label, sort, direction, since). It immediately clarifies a scope ambiguity that matters here, that the default excludes pull requests while type='all'/'pr' changes what is returned, which separates it from the PR-oriented siblings.

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?

It gives an explicit routing rule ('For aggregate counts over a time window, use github_repo_health instead of paging') and states the default type/state behavior, which is real when-to-use guidance. It does not address the closest listing alternative (github_search_issues) or when a caller should drop down to the single-issue tool, so the exclusions are partial rather than complete.

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