Skip to main content
Glama

scan_repo

Scan a repository's open issues to recommend GO candidates, while flagging TAKEN or CAUTION claims so agents can pick safe issues to volunteer for.

Instructions

Scan a repository's open issues and recommend the GO ones.

Results are ordered GO first, then CAUTION, then TAKEN, so the best candidates to volunteer for come first. recommendations lists just the GO targets; summary counts each verdict. Each result carries friendly_labels (first-time-contributor labels on the issue) and welcoming (repo-level signs contributions are welcome), so an agent can prefer the safest issues to adopt.

Every payload, success or error, carries effective_parameters (the options the call ran with), plus target when the call names one repository or issue. Error payloads carry error plus error_code: RateLimitError -> rate_limited, NotFoundError -> not_found, HTTP 401/CLI authentication failures -> auth_failed, subprocess timeouts -> timeout, other TakenError failures -> unknown.

Args: owner: repository owner login repo: repository name limit: max open issues to check (default 20) label: only consider open issues carrying this label me: your GitHub login; your own comments are ignored in the claimant scan pr_idle_days: stale-claim decay threshold for idle linked PRs (default 90) claim_silence_days: stale-claim decay threshold for simple issues (default 7) claim_silence_complex_days: stale-claim decay threshold for complex issues (default 14)

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

Input Schema

NameRequiredDescriptionDefault
meNoYour GitHub login; your own comments are ignored. Default: none.
repoYes
labelNoOnly consider open issues carrying this label. Default: no label filter.
limitNoMax open issues to check. Default: 20.
ownerYes
pr_idle_daysNoStale-claim decay: days of linked-PR inactivity before TAKEN weakens to CAUTION. Default: 90.
claim_silence_daysNoStale-claim decay: days one claim blocks as CAUTION on a simple issue; the clock resets on claimant activity. Default: 7.
claim_silence_complex_daysNoStale-claim decay: days one claim blocks as CAUTION on a complex issue. Default: 14.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.9.2
    • addedInput schema / properties / claim_silence_complex_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Stale-claim decay: days one claim blocks as CAUTION on a complex issue. Default: 14.",
      +  "title": "Claim Silence Complex Days"
      +}
    • addedInput schema / properties / claim_silence_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Stale-claim decay: days one claim blocks as CAUTION on a simple issue; the clock resets on claimant activity. Default: 7.",
      +  "title": "Claim Silence Days"
      +}
    • addedInput schema / properties / limit / minimum
      Added value: +0
    • addedInput schema / properties / pr_idle_days
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Stale-claim decay: days of linked-PR inactivity before TAKEN weakens to CAUTION. Default: 90.",
      +  "title": "Pr Idle Days"
      +}
  2. Changed3 schema fields changedv0.7.2
    • addedInput schema / properties / label / description
      Added value: +"Only consider open issues carrying this label. Default: no label filter."
    • addedInput schema / properties / limit / description
      Added value: +"Max open issues to check. Default: 20."
    • addedInput schema / properties / me / description
      Added value: +"Your GitHub login; your own comments are ignored. Default: none."
  3. First observedv0.5.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses result ordering (GO, CAUTION, TAKEN), the `recommendations`/`summary` payload shape, `friendly_labels` and `welcoming` fields, and an explicit error-code mapping (rate_limited, not_found, auth_failed, timeout, unknown). This is unusually rich behavioral context that an agent could not get from structured fields.

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 structure is strong: core purpose first, then ordering, then payload/error behavior, then Args — front-loaded and scannable. The Args section partly duplicates schema descriptions and could be trimmed, but nothing is genuinely wasteful.

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?

Given eight parameters, no annotations, and no output schema, the description provides enough to call the tool correctly and interpret its response, including success/error payload contents and error-code decoding. Nothing critical is missing for this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, but the description adds meaning through an Args section that explains each option's role — e.g., that `me` causes the agent's own comments to be ignored in the claimant scan, and that the decay-threshold params govern stale-claim weakening. Some entries merely restate schema defaults, but several, notably `me` and the silence thresholds, add real semantic value.

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 opens with a specific verb and resource: 'Scan a repository's open issues and recommend the GO ones,' which immediately distinguishes this from an issue-level check or a candidate listing. It does not explicitly name or contrast with siblings like check_issue or discover_candidates, so it stops short of full sibling differentiation.

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 implied rather than stated: 'so the best candidates to volunteer for come first' and 'prefer the safest issues to adopt' hint at when to use it. There is no explicit when-not-to-use guidance or routing to check_issue vs discover_candidates, leaving the agent to infer which tool to call.

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