{
  "slug": "github-mcp-server-tools-support-response-field-filtering-by-default-aecadd0dc1bb",
  "title": "github-mcp-server tools support response field filtering by default",
  "tools": [
    "github-mcp-server"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-30T13:36:22.000Z",
  "announced_at": "2026-07-30T13:36:22.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a supported GitHub MCP tool returns more data than you need, pass its optional `fields` array with the response fields to keep. The parameter is available by default in v1.8.0; only selected tools support it.",
    "examples": [
      "list_issues({\"owner\":\"<owner>\",\"repo\":\"<repo>\",\"fields\":[\"title\",\"number\",\"state\"]})",
      "search_code({\"query\":\"<search query>\",\"fields\":[\"name\",\"path\"]})",
      "get_file_contents({\"owner\":\"<owner>\",\"repo\":\"<repo>\",\"path\":\"<directory>\",\"fields\":[\"name\",\"type\"]})"
    ],
    "gotchas": [
      "Version: v1.8.0",
      "fields: Array of response field names to include. Supported only by selected tools; omitted fields return all fields by default. Valid fields depend on the tool.",
      "owner (required): Repository owner for `list_issues` and `get_file_contents`.",
      "repo (required): Repository name for `list_issues` and `get_file_contents`.",
      "query (required): Search query for `search_code`.",
      "path: File or directory path for `get_file_contents`; `fields` applies to directory entries only.",
      "Prerequisite: The tool must be available through a configured GitHub MCP server; the v1.8.0 release says `fields` is supported by selected tools.",
      "Prerequisite: The README lists required OAuth scope `repo` for `list_issues`, `search_code`, and `get_file_contents`.",
      "The `fields` parameter is available only on selected tools."
    ]
  },
  "why_it_matters": "Reduce the response size when calling a supported tool while working with GitHub data.",
  "sources": [
    "https://github.com/github/github-mcp-server/releases/tag/v1.8.0",
    "https://github.com/github/github-mcp-server/blob/v1.8.0/README.md"
  ],
  "rank": 0.97042,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-5c12d141b7d10610-0:gate",
    "evidence_hash": "e68a0d2578c991b402fe7a477b1aa7d402c1689b4a7bc8117e7508280b6919c1"
  },
  "review": {
    "draft_hash": "46f8a38b595b7304348f3f4a1526204839485fc847f13bb8a064e6c462c49416",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
