Skip to main content
Glama
GitHub MCP Server

GitHub MCP Server

by rominababiel

list_issues

Read-only

List issues in a GitHub repository, excluding pull requests, with optional state filters for open, closed, or all. Use it to review pending work or find an issue number before closing it.

Instructions

Lista los issues de un repositorio específico, sin incluir pull requests. Por defecto trae los abiertos; usar state para ver los cerrados o todos. Usar para revisar el trabajo pendiente o para encontrar el número de un issue antes de cerrarlo.

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

Input Schema

NameRequiredDescriptionDefault
repoYesNombre de un repositorio existente, sin el dueño. Ejemplo: mi-proyecto.
limitNoCantidad máxima de resultados, entre 1 y 100.
ownerYesUsuario u organización dueña del repositorio. Si no se conoce, obtenerla con list_repositories o health_check.
stateNoEstado de los issues: open para los abiertos, closed para los cerrados, all para todos.open

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: pull requests are excluded from results, and the default result set is open issues only, which materially affects what an agent sees. It does not mention result ordering or pagination limits, which is a minor gap for a read tool.

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 short sentences, front-loaded with the resource and the PR exclusion, then the default behavior, then the use case. No redundant or filler wording.

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?

For a four-parameter read-only list tool with full schema coverage and readOnlyHint, the definition covers scope, defaults and intended use adequately. The only missing element is any hint about result shape or pagination behavior, which matters slightly more because there is no output schema.

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 explains owner, repo, limit and state. The description reinforces the state parameter's default and purpose but adds no syntax or format detail beyond the enum that already exists. Baseline 3 is appropriate when the schema does the documentation work.

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?

States a specific verb and resource ('Lista los issues de un repositorio específico') plus a hard scope boundary ('sin incluir pull requests') that separates it from a PR-listing tool. An agent can pick it over siblings like list_commits or list_repositories without opening the schema.

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?

Gives concrete when-to-use contexts: reviewing pending work, and locating an issue number prior to closing it (which routes toward close_issue). It also states the default filter and how to change it with state. It stops short of explicitly naming sibling alternatives or exclusions in other directions (e.g. use list_repositories to discover the repo), but the guidance is clear.

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