{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "pg.ddx.io",
    "site": "ddx.io",
    "addresses": [
      {
        "address": "104.21.2.66",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.128.217",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3031::6815:242",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3031::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::ac43:80d9",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.2.66",
          "172.67.128.217",
          "2606:4700:3031::6815:242",
          "2606:4700:3033::ac43:80d9"
        ],
        "first_seen": "2026-11-22T18:12:03.924Z",
        "last_seen": "2026-11-22T18:12:03.924Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.128.217",
          "104.21.2.66",
          "2606:4700:3033::ac43:80d9",
          "2606:4700:3031::6815:242"
        ],
        "first_seen": "2026-11-21T13:26:01.602Z",
        "last_seen": "2026-11-21T13:26:01.602Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "pg.ddx.io",
      "version": "1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=31536000, max-age=31536000; includeSubDomains",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "8396",
          "url": "https://coopgamesdb.com/mcp",
          "server_name": "com.coopgamesdb/coopgamesdb",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T08:19:06.093Z"
        }
      ]
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "22921",
          "url": "https://pg.ddx.io/mcp/sse",
          "server_name": "io.ddx.pg/archive",
          "last_state": "unsupported_transport",
          "last_checked_at": null
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.ddx.pg",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "22920",
    "server_name": "io.ddx.pg/archive",
    "url": "https://pg.ddx.io/mcp",
    "host": "pg.ddx.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T18:12:03.924Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "6a7e5610d34c772fec7d1aef5b971922fdb64d1957803b3ed38cbc1f4f533d9c",
    "first_listed_at": "2026-11-21T13:26:01.602Z",
    "created_at": "2026-11-21T07:55:05.184Z",
    "resolved_addresses": [
      "104.21.2.66",
      "172.67.128.217",
      "2606:4700:3031::6815:242",
      "2606:4700:3033::ac43:80d9"
    ]
  },
  "server": {
    "name": "io.ddx.pg/archive",
    "title": "pg.ddx.io: the PostgreSQL community's memory",
    "description": "Every PostgreSQL mailing list since 1991, linked to the commits, code, commitfest and docs.",
    "version": "2026.10.22",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://pg.ddx.io/",
    "published_at": "2026-10-23T01:22:02.884Z",
    "updated_at": "2026-10-23T01:22:02.884Z",
    "first_seen": "2026-11-21T07:55:04.519Z"
  },
  "other_endpoints": [
    {
      "id": "22921",
      "url": "https://pg.ddx.io/mcp/sse",
      "transport": "sse",
      "last_state": "unsupported_transport",
      "last_checked_at": null
    }
  ],
  "intel": {
    "capabilities": [
      "vector-search"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T18:12:13.390Z"
  },
  "operator": {
    "key": "ddx.io",
    "name": "ddx.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 982,
    "first_check_in_window": "2026-11-21T13:26:01.602Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "6a7e5610d34c772fec7d1aef5b971922fdb64d1957803b3ed38cbc1f4f533d9c",
    "tools": 130,
    "resources": 113,
    "prompts": 10,
    "first_seen": "2026-11-22T18:12:04.899Z",
    "tool_names": [
      "retrieve_context",
      "animal_history",
      "animal_owner_contributions",
      "blame_symbol",
      "browse_by_date",
      "build_status_freshness",
      "buildfarm_overview",
      "check_upstream_status",
      "code_index_status",
      "codebase_map",
      "commit_buildfarm_status",
      "commit_history",
      "commitfest_stats",
      "contribution_summary",
      "detect_changes",
      "discussion_links",
      "embedding_status",
      "entry_branches",
      "entry_history",
      "find_breaks",
      "find_contributions",
      "find_dead_code",
      "find_entries_for_author",
      "find_entries_for_thread",
      "find_entries_with_failures_on",
      "find_failing_patches",
      "find_failing_runs",
      "find_passing_long_pending",
      "find_patches_by_platform_status",
      "find_pattern",
      "find_rebase_needed_patches",
      "find_related_discussions",
      "find_similar_messages",
      "get_animal",
      "get_attachment",
      "get_author_messages",
      "get_callees",
      "get_callers",
      "get_commitfest",
      "get_communities",
      "get_community",
      "get_contributor",
      "get_contributor_history",
      "get_dependents",
      "get_doc_page",
      "get_entry",
      "get_execution_flows",
      "get_impact",
      "get_inbox_info",
      "get_inbox_stats",
      "get_inbox_summary",
      "get_message",
      "get_message_headers",
      "get_message_references",
      "get_new_messages",
      "get_patch_branches",
      "get_patch_build_history",
      "get_patch_series",
      "get_raw_message",
      "get_repo_sync_stats",
      "get_repository_summary",
      "get_signature",
      "get_source_info",
      "get_symbol",
      "get_tests_for",
      "get_thread",
      "get_thread_references",
      "get_wiki_history",
      "get_wiki_page",
      "git_analyze_activity",
      "git_analyze_authors",
      "git_analyze_bus_factor",
      "git_analyze_churn",
      "git_analyze_coupling",
      "git_analyze_hotspots",
      "git_blame",
      "git_diff",
      "git_log",
      "git_search",
      "git_show_file",
      "history-of",
      "hybrid_search",
      "hybrid_search_code",
      "list_animals",
      "list_branches",
      "list_commitfests",
      "list_contributors",
      "list_discord_channels",
      "list_doc_versions",
      "list_entries",
      "list_inboxes",
      "list_projects",
      "list_recent",
      "list_repositories",
      "list_sources",
      "list_threads",
      "recent_commitfest_activity",
      "search_commitfest",
      "release_contributors",
      "repository_stats"
    ],
    "declared": {
      "tools": [
        {
          "name": "retrieve_context",
          "title": "Retrieve Context",
          "description": "START HERE for a PostgreSQL question. Hybrid search of every list (inbox narrows it) returned as cited passages within token_budget: one per thread, the author's own words (~1200 chars) with url, inbox, message_id, from, date. found=false with a reason when the archive does not discuss it. Write the answer yourself; cite each passage url. author/since/until: one person in a date window. Takes search operators; complete=false when out of budget_ms. A commit SHA returns the mail referring to it. For \"why was X added/changed/reverted\" it may add commit_context: the commit the question resolved to (resolved_by, matched), its message, states_reason (a rule's guess) and up to 4 sentences from its Discussion: threads; check it is the right commit. What a person said or objected to: said.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "all (default), a list, or several comma-separated"
              },
              "query": {
                "type": "string"
              },
              "since": {
                "type": "string",
                "description": "On or after: YYYY[-MM[-DD]], ISO, or 2w/6m/1y ago"
              },
              "until": {
                "type": "string",
                "description": "Before (exclusive), same forms as since"
              },
              "author": {
                "type": "string",
                "description": "Name, address or hash:<8 hex>"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 4500"
              },
              "token_budget": {
                "type": "number",
                "description": "Default 4000, max 32000"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "question",
              "found",
              "token_budget",
              "tokens_used",
              "passages"
            ],
            "properties": {
              "found": {
                "type": "boolean"
              },
              "inbox": {},
              "filter": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "since": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "until": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "author": {
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "description": "The author / date filter applied (names and page hashes, never addresses)."
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "skipped": {
                "type": "string",
                "description": "Why the query's operators leave this source out (no results then)."
              },
              "complete": {
                "type": "boolean",
                "description": "false when the search ran out of budget_ms or a total is a lower bound."
              },
              "passages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "url",
                    "text"
                  ],
                  "properties": {
                    "sha": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "from": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    },
                    "inbox": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source": {
                      "enum": [
                        "commit",
                        "commit_thread"
                      ],
                      "type": "string",
                      "description": "Absent for a mail passage. commit: a commit message (sha, no message_id); commit_thread: a sentence of that commit's discussion."
                    },
                    "release": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "subject": {
                      "type": "string"
                    },
                    "thread_id": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "message_id": {
                      "type": "string"
                    },
                    "similarity": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "thread_url": {
                      "type": "string"
                    }
                  }
                }
              },
              "question": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Operators the query could not use and left out, and the query-length cut."
              },
              "operators": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "op",
                    "value",
                    "negated"
                  ],
                  "properties": {
                    "op": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "negated": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "The search operators and regexes the query applied (absent when it has none)."
              },
              "how_to_cite": {
                "type": "string"
              },
              "tokens_used": {
                "type": "integer"
              },
              "token_budget": {
                "type": "integer"
              },
              "commit_context": {
                "type": "object",
                "required": [
                  "sha",
                  "resolved_by",
                  "matched",
                  "states_reason",
                  "message",
                  "sentences"
                ],
                "properties": {
                  "sha": {
                    "type": "string"
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "author": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "matched": {
                    "type": "string",
                    "description": "The question's token(s) the commit was resolved by."
                  },
                  "message": {
                    "type": "string",
                    "description": "The commit message body, subject and trailers removed; cut with a marker past ~500 tokens."
                  },
                  "release": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "subject": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sentences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "text",
                        "message_id"
                      ],
                      "properties": {
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "from": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "text": {
                          "type": "string"
                        },
                        "inbox": {
                          "type": "string"
                        },
                        "message_id": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "resolved_by": {
                    "enum": [
                      "sha",
                      "identifier_first_introduction",
                      "subject_match",
                      "revert_subject"
                    ],
                    "type": "string"
                  },
                  "states_reason": {
                    "type": "boolean",
                    "description": "A rule's guess: the message gives a reason relevant to the question."
                  }
                },
                "description": "Only for a why-shaped question that resolved to a commit: that commit and sentences of its discussion, beside the passages (never in them), at most ~800 tokens."
              },
              "threads_considered": {
                "type": "integer"
              },
              "threads_omitted_for_budget": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "animal_history",
          "title": "Animal History",
          "description": "One animal's runs, newest first; branch and since filter.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Animal name"
              },
              "limit": {
                "type": "number",
                "description": "1-1000, default 100"
              },
              "since": {
                "type": "string",
                "description": "Runs started at or after (RFC 3339)"
              },
              "branch": {
                "type": "string",
                "description": "One branch, e.g. master"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "animal_owner_contributions",
          "title": "Animal Owner Contributions",
          "description": "Animals one owner runs (owner_name or owner_email; at least one): the branches each tracks, last status, first_seen_at and days since.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "owner_name": {
                "type": "string",
                "description": "Exact"
              },
              "owner_email": {
                "type": "string",
                "description": "Exact"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "blame_symbol",
          "title": "Blame Symbol",
          "description": "The commits that changed a symbol's lines in its file.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "browse_by_date",
          "title": "Browse by Date",
          "description": "Threads active in a date range [since, until) on one list.",
          "inputSchema": {
            "type": "object",
            "required": [
              "since",
              "until"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "Threads, 1-200, default 50"
              },
              "since": {
                "type": "string",
                "description": "Start date (YYYY-MM-DD or YYYYMMDD)"
              },
              "until": {
                "type": "string",
                "description": "End date, exclusive (same forms)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "build_status_freshness",
          "title": "Build Status Freshness",
          "description": "cfbot data age: last_build_at (newest build finish), seen_at (newest result our sync saw), build_count. Old seen_at: our scraper stalled; old last_build_at, recent seen_at: cfbot idle.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "buildfarm_overview",
          "title": "Buildfarm Overview",
          "description": "Buildfarm health: animal count, recent runs, failing animals, top owners, OS / branch breakdown, freshness.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "check_upstream_status",
          "title": "Check Upstream Status",
          "description": "Was a pull request merged upstream: the patch series' latest head commit and any merge information.",
          "inputSchema": {
            "type": "object",
            "required": [
              "pr_url"
            ],
            "properties": {
              "pr_url": {
                "type": "string",
                "description": "Forge pull request URL"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "code_index_status",
          "title": "Code Index Status",
          "description": "Code index statistics: files, symbols by kind and language, edges, communities.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "codebase_map",
          "title": "Codebase Map",
          "description": "File and symbol counts per directory.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "depth": {
                "type": "number",
                "description": "Directory depth (default 2)"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "commit_buildfarm_status",
          "title": "Commit Buildfarm Status",
          "description": "Buildfarm results for one postgres commit: per animal branch, status, failing stage, log url; rollup counts.",
          "inputSchema": {
            "type": "object",
            "required": [
              "commit"
            ],
            "properties": {
              "commit": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "commit_history",
          "title": "Commit History",
          "description": "Everything linked to one commit: subject, author, date, sha, message, the Discussion: thread (participants as people and organizations), commitfest entry, Discord mentions; for postgres also first_releases (per branch: sha, release or null, first_version, shipped), reverted_by and reverts. No diff (git_diff, git_show_file).",
          "inputSchema": {
            "type": "object",
            "required": [
              "commit"
            ],
            "properties": {
              "commit": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "commitfest_stats",
          "title": "Commitfest Stats",
          "description": "All commitfests: entries by status, top authors, and totals of people, commitfests and entries.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "contribution_summary",
          "title": "Contribution Summary",
          "description": "Per release: people, distinct commits, count of commits per role (canonical authoritative repos only), revert commits.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "release": {
                "type": "string",
                "description": "e.g. PG17, 17, pre-9.6; empty = all"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "detect_changes",
          "title": "Detect Changes",
          "description": "The symbols that changed between two commits (file content hashes).",
          "inputSchema": {
            "type": "object",
            "required": [
              "from_commit"
            ],
            "properties": {
              "to_commit": {
                "type": "string",
                "description": "Target commit (default HEAD)"
              },
              "repository": {
                "type": "string"
              },
              "from_commit": {
                "type": "string",
                "description": "Base commit. Any commit form"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "discussion_links",
          "title": "Discussion Links",
          "description": "A commit's Discussion / Closes / Fixes / Backpatch-through trailers: raw text and URL. For the mail itself: git_search mail_refs.",
          "inputSchema": {
            "type": "object",
            "required": [
              "commit"
            ],
            "properties": {
              "commit": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "embedding_status",
          "title": "Embedding Status",
          "description": "Embedding coverage of a list: messages embedded, model, last run.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "entry_branches",
          "title": "Entry Branches",
          "description": "Repository branches tracked for a commitfest entry: repo, branch_name, is_authoritative.",
          "inputSchema": {
            "type": "object",
            "required": [
              "cf_id"
            ],
            "properties": {
              "cf_id": {
                "type": "number",
                "description": "Entry id"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "entry_history",
          "title": "Entry History",
          "description": "An entry's status across commitfests, matched by shared thread Message-ID (precise), else by title prefix (weak).",
          "inputSchema": {
            "type": "object",
            "required": [
              "cf_id"
            ],
            "properties": {
              "cf_id": {
                "type": "number",
                "description": "Entry id"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_breaks",
          "title": "Find Breaks",
          "description": "Animals that failed on a branch between two commits, by run time (the buildfarm has no commit order).",
          "inputSchema": {
            "type": "object",
            "required": [
              "branch",
              "from_commit",
              "to_commit"
            ],
            "properties": {
              "branch": {
                "type": "string",
                "description": "Branch, e.g. master"
              },
              "to_commit": {
                "type": "string",
                "description": "Window end"
              },
              "from_commit": {
                "type": "string",
                "description": "Window start"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_contributions",
          "title": "Find Contributions",
          "description": "One person's contribution rows: commit SHAs and animals, each with role and release. By email, else name.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Name substring (when no email)"
              },
              "role": {
                "type": "string",
                "description": "One role"
              },
              "email": {
                "type": "string",
                "description": "Canonical email"
              },
              "limit": {
                "type": "number",
                "description": "1-500, default 50"
              },
              "release": {
                "type": "string",
                "description": "e.g. PG17, 17, REL_17_STABLE, pre-9.6"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_dead_code",
          "title": "Find Dead Code",
          "description": "Functions and methods nothing calls (no incoming call edges).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_entries_for_author",
          "title": "Find Entries for Author",
          "description": "Commitfest entries a person authored: email (exact) or name (substring, case-sensitive).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Name substring (case-sensitive)"
              },
              "email": {
                "type": "string",
                "description": "Exact email"
              },
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_entries_for_thread",
          "title": "Find Entries for Thread",
          "description": "Commitfest entries whose page links any message of the thread.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_entries_with_failures_on",
          "title": "Find Entries With Failures on",
          "description": "An animal's recent failed runs, and commitfest entries failing in cfbot on branches it tracks (correlated by branch and time, not joined).",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Animal, e.g. fairywren"
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_failing_patches",
          "title": "Find Failing Patches",
          "description": "Entries whose latest cfbot build fails on a platform: cf_id, title, entry_status, needs_rebase (newest version does not apply), commitfest_number.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "status": {
                "type": "string",
                "description": "e.g. needs-review (default every active)"
              },
              "platform": {
                "type": "string",
                "description": "linux, macos, windows, freebsd, netbsd, openbsd"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_failing_runs",
          "title": "Find Failing Runs",
          "description": "The newest failing buildfarm runs fleet-wide: what is broken now.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-1000, default 100"
              },
              "since": {
                "type": "string",
                "description": "Runs started at or after (RFC 3339; default 24h ago)"
              },
              "branch": {
                "type": "string",
                "description": "One branch, e.g. master"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_passing_long_pending",
          "title": "Find Passing Long Pending",
          "description": "Entries green on every platform that apply to master, not updated for min_days: why isn't it committed?",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "min_days": {
                "type": "number",
                "description": "Days since last update (default 14)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_patches_by_platform_status",
          "title": "Find Patches by Platform Status",
          "description": "Entries passing on one platform and failing on another (e.g. linux vs macos: a portability bug).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "failing_on": {
                "type": "string",
                "description": "Platform it fails on, e.g. macos"
              },
              "passing_on": {
                "type": "string",
                "description": "Platform it passes on, e.g. linux"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_pattern",
          "title": "Find Pattern",
          "description": "Regex search of code symbol bodies (trigram-indexed).",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 50"
              },
              "query": {
                "type": "string",
                "description": "Regular expression"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_rebase_needed_patches",
          "title": "Find Rebase Needed Patches",
          "description": "Entries cfbot says no longer apply to master: they need a rebase.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_related_discussions",
          "title": "Find Related Discussions",
          "description": "Mail related to a commit, topic or PR. A postgres SHA: the mail referring to it (how_it_refers). Else a substring of subjects and Message-IDs, falling back to semantic search.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string",
                "description": "Subject words, Message-ID substring or commit SHA"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_similar_messages",
          "title": "Find Similar Messages",
          "description": "Messages near one message by embedding: related or duplicate threads.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "limit": {
                "type": "number",
                "description": "1-50, default 10"
              },
              "message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_animal",
          "title": "Get Animal",
          "description": "One animal: hardware, OS, compiler, owner, branches, last status, its last 20 runs.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Animal, e.g. fairywren"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_attachment",
          "title": "Get Attachment",
          "description": "One attachment, whole, by 1-based index or filename substring. Text as text (a .patch applies with git apply), binary as base64; size = decoded bytes; url. Large text: start_line/end_line, 2000 lines a call (total_lines, cut).",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "index": {
                "type": "number",
                "description": "1-based index (from get_message attachments)"
              },
              "end_line": {
                "type": "number",
                "description": "Text: last line, at most start_line + 1999"
              },
              "filename": {
                "type": "string",
                "description": "Filename substring"
              },
              "message_id": {
                "type": "string"
              },
              "start_line": {
                "type": "number",
                "description": "Text: first line (1-based)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_author_messages",
          "title": "Get Author Messages",
          "description": "One list's messages from a sender (name or address, as search's f:), newest first; since/until bound them.",
          "inputSchema": {
            "type": "object",
            "required": [
              "author"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "since": {
                "type": "string",
                "description": "On or after: YYYY[-MM[-DD]] or 2w/6m/1y ago"
              },
              "until": {
                "type": "string",
                "description": "Before (exclusive), same forms"
              },
              "author": {
                "type": "string",
                "description": "Name or address"
              },
              "offset": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_callees",
          "title": "Get Callees",
          "description": "What a symbol calls or references (forward call graph).",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 50"
              },
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_callers",
          "title": "Get Callers",
          "description": "Who calls or references qualified_name, with file and lines. HEAD only; macros and function pointers are not followed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 50"
              },
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_commitfest",
          "title": "Get Commitfest",
          "description": "One commitfest: entries by status and its top authors.",
          "inputSchema": {
            "type": "object",
            "required": [
              "commitfest_number"
            ],
            "properties": {
              "commitfest_number": {
                "type": "number",
                "description": "Commitfest number, e.g. 59"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_communities",
          "title": "Get Communities",
          "description": "Louvain clusters of the call graph: related symbols by functional area.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 20"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_community",
          "title": "Get Community",
          "description": "One community and its symbols.",
          "inputSchema": {
            "type": "object",
            "required": [
              "community_id"
            ],
            "properties": {
              "repository": {
                "type": "string"
              },
              "community_id": {
                "type": "number",
                "description": "Community id (from get_communities)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_contributor",
          "title": "Get Contributor",
          "description": "A contributor by email (exact) or name (substring): canonical name, page hash, per-release counts by role, the 5 latest credited commits, animals owned. Cite https://pg.ddx.io/community/<hash>.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "Name substring"
              },
              "email": {
                "type": "string",
                "description": "Exact canonical email"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_contributor_history",
          "title": "Get Contributor History",
          "description": "Every list message from a sender (address or name).",
          "inputSchema": {
            "type": "object",
            "required": [
              "author"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 50"
              },
              "author": {
                "type": "string",
                "description": "Address or display name"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_dependents",
          "title": "Get Dependents",
          "description": "Transitive dependents: the blast radius if this symbol changes.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "max_depth": {
                "type": "number",
                "description": "BFS depth, 1-5, default 3"
              },
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_doc_page",
          "title": "Get Doc Page",
          "description": "One docs page as text: url, path, body, fetched_at. Find the path with search_docs; cite the url.",
          "inputSchema": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "Page, e.g. brin.html"
              },
              "version": {
                "type": "string",
                "description": "e.g. 17, current (default the latest)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_entry",
          "title": "Get Entry",
          "description": "One commitfest entry: title, status, commitfest, authors, reviewers, committer, mail threads, branches.",
          "inputSchema": {
            "type": "object",
            "required": [
              "cf_id"
            ],
            "properties": {
              "cf_id": {
                "type": "number",
                "description": "Entry id"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_execution_flows",
          "title": "Get Execution Flows",
          "description": "Execution paths through the call graph from entry points.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "max_depth": {
                "type": "number",
                "description": "BFS depth, 1-10, default 8"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_impact",
          "title": "Get Impact",
          "description": "Impact of changing a symbol: risk level, blast radius, communities and flows affected.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_inbox_info",
          "title": "Get Inbox Info",
          "description": "A list's name, addresses, message_count (a cross-post counts on each list) and last activity.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_inbox_stats",
          "title": "Get Inbox Stats",
          "description": "A list's message counts per period, top authors, trends; total_messages; oldest_date/newest_date skip unparsable or impossible dates.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "period": {
                "type": "string",
                "description": "day, week, month (default) or year"
              },
              "top_authors": {
                "type": "number",
                "description": "1-50, default 10"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_inbox_summary",
          "title": "Get Inbox Summary",
          "description": "One list: total messages, top 10 posters, threads, date range, average messages per day over its life.",
          "inputSchema": {
            "type": "object",
            "required": [
              "inbox"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "List name"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_message",
          "title": "Get Message",
          "description": "One message: headers, in_reply_to/references, body (own words: quotes, forwards, inline patches, signature removed; full_text=true for all), attachments [{index, filename, content_type, size}], has_patch. quotes: own_words/in_message verdicts per quote (include_body=false: verdicts only). Raw: get_attachment, get_raw_message.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "quotes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Up to 20 quotes to check (12+ chars)"
              },
              "full_text": {
                "type": "boolean",
                "description": "Default false: own words"
              },
              "message_id": {
                "type": "string"
              },
              "include_body": {
                "type": "boolean",
                "description": "Default true"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "cc": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "body": {
                "type": "string"
              },
              "date": {
                "type": "string"
              },
              "from": {
                "type": "string"
              },
              "bytes": {
                "type": "integer"
              },
              "quotes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "quote": {
                      "type": "string"
                    },
                    "own_words": {
                      "type": "boolean"
                    },
                    "too_short": {
                      "type": "boolean"
                    },
                    "in_message": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "subject": {
                "type": "string"
              },
              "has_patch": {
                "type": "boolean"
              },
              "text_mode": {
                "enum": [
                  "clean",
                  "full"
                ]
              },
              "thread_id": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "body_chars": {
                "type": "integer"
              },
              "message_id": {
                "type": "string"
              },
              "references": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "string"
                }
              },
              "attachments": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "size": {
                      "type": "integer"
                    },
                    "index": {
                      "type": "integer"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "content_type": {
                      "type": "string"
                    }
                  }
                }
              },
              "in_reply_to": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "string"
                }
              },
              "body_truncated": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_message_headers",
          "title": "Get Message Headers",
          "description": "A message's headers as key/value pairs, all or one.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "header": {
                "type": "string",
                "description": "One header, e.g. X-Mailer (default all)"
              },
              "message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_message_references",
          "title": "Get Message References",
          "description": "A message's references: References/In-Reply-To and Message-IDs in its body, each looked up in the archive.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_new_messages",
          "title": "Get New Messages",
          "description": "Messages after an article-number cursor, to poll without rescanning: after=0 first, then the returned last_article_num.",
          "inputSchema": {
            "type": "object",
            "required": [
              "after"
            ],
            "properties": {
              "after": {
                "type": "number",
                "description": "0 first, then last_article_num"
              },
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "1-1000, default 200"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_patch_branches",
          "title": "Get Patch Branches",
          "description": "Git branches made from a pull request's patch series.",
          "inputSchema": {
            "type": "object",
            "required": [
              "pr_url"
            ],
            "properties": {
              "pr_url": {
                "type": "string",
                "description": "Forge pull request URL"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_patch_build_history",
          "title": "Get Patch Build History",
          "description": "One entry's cfbot build matrix: per job status, platform, config, log URL, at, started_at, seen_at; rollup: last_build_at, seen_at, passing/failing_platforms, applies_cleanly, needs_rebase (the newest patch does not apply; builds are of the last that did).",
          "inputSchema": {
            "type": "object",
            "required": [
              "cf_id"
            ],
            "properties": {
              "cf_id": {
                "type": "number",
                "description": "Entry id"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_patch_series",
          "title": "Get Patch Series",
          "description": "Every iteration of a pull request posted to the lists.",
          "inputSchema": {
            "type": "object",
            "required": [
              "pr_url"
            ],
            "properties": {
              "pr_url": {
                "type": "string",
                "description": "Forge pull request URL"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_raw_message",
          "title": "Get Raw Message",
          "description": "A message's raw RFC 822 bytes.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_repo_sync_stats",
          "title": "Get Repo Sync Stats",
          "description": "A repository's commit cadence (median interval, suggested poll) and fetch log.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_repository_summary",
          "title": "Get Repository Summary",
          "description": "One repository: commits, top 10 contributors, branches, languages (indexed symbols), most-touched paths (sampled).",
          "inputSchema": {
            "type": "object",
            "required": [
              "repository"
            ],
            "properties": {
              "repository": {
                "type": "string",
                "description": "Repository name"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_signature",
          "title": "Get Signature",
          "description": "A symbol's signature and doc comment.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_source_info",
          "title": "Get Source Info",
          "description": "One list_sources source: kind, item_count, last_update, next_sync, freshness_status, description; a postgresql.org list also has poll (p_new, due, next_poll).",
          "inputSchema": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "description": "inbox, repository, docs, wiki, discord or legacy (for a shared name)"
              },
              "name": {
                "type": "string",
                "description": "A list_sources name"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_symbol",
          "title": "Get Symbol",
          "description": "A symbol by qualified name: source, signature, docs, file location.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "e.g. pkg::func_name"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_tests_for",
          "title": "Get Tests for",
          "description": "Test symbols that reference a symbol.",
          "inputSchema": {
            "type": "object",
            "required": [
              "qualified_name"
            ],
            "properties": {
              "repository": {
                "type": "string"
              },
              "qualified_name": {
                "type": "string",
                "description": "From search_symbols"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_thread",
          "title": "Get Thread",
          "description": "The reply thread of a message (what In-Reply-To/References join to it), oldest first; root_message_id is its first message. grouping=subject: the whole subject thread, as the /m/ page shows it (may hold several reply threads). Each message: from, to, cc, date, message_id, body (own words; full_text=true for all), attachments, has_patch. Pages of 20 (limit max 500; next_offset, has_more); bodies cut at max_body_chars. include_body=false: outline.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "limit": {
                "type": "number",
                "description": "Messages per page, 1-500, default 20"
              },
              "offset": {
                "type": "number",
                "description": "next_offset from the previous page"
              },
              "grouping": {
                "enum": [
                  "reply",
                  "subject"
                ],
                "type": "string",
                "description": "reply (default) or subject"
              },
              "full_text": {
                "type": "boolean",
                "description": "Default false: own words"
              },
              "message_id": {
                "type": "string"
              },
              "include_body": {
                "type": "boolean",
                "description": "Default true"
              },
              "max_body_chars": {
                "type": "number",
                "description": "Default 4000; 0 = no cap"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "root_message_id",
              "message_count",
              "returned",
              "has_more",
              "messages"
            ],
            "properties": {
              "offset": {
                "type": "integer"
              },
              "grouping": {
                "enum": [
                  "reply",
                  "subject"
                ]
              },
              "has_more": {
                "type": "boolean"
              },
              "messages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "message_id"
                  ],
                  "properties": {
                    "cc": {
                      "type": "string"
                    },
                    "to": {
                      "type": "string"
                    },
                    "body": {
                      "type": "string"
                    },
                    "date": {
                      "type": "string"
                    },
                    "from": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": "integer"
                    },
                    "subject": {
                      "type": "string"
                    },
                    "has_patch": {
                      "type": "boolean"
                    },
                    "text_mode": {
                      "enum": [
                        "clean",
                        "full"
                      ]
                    },
                    "body_chars": {
                      "type": "integer"
                    },
                    "message_id": {
                      "type": "string"
                    },
                    "references": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "article_num": {
                      "type": "integer"
                    },
                    "attachments": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "size": {
                            "type": "integer"
                          },
                          "index": {
                            "type": "integer"
                          },
                          "filename": {
                            "type": "string"
                          },
                          "content_type": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "in_reply_to": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "body_truncated": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "returned": {
                "type": "integer"
              },
              "next_offset": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "message_count": {
                "type": "integer"
              },
              "root_message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_thread_references",
          "title": "Get Thread References",
          "description": "A thread's cross-reference graph: Message-IDs cited in its bodies and the threads they point to.",
          "inputSchema": {
            "type": "object",
            "required": [
              "message_id"
            ],
            "properties": {
              "inbox": {
                "type": "string"
              },
              "message_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_wiki_history",
          "title": "Get Wiki History",
          "description": "A wiki page's revisions.",
          "inputSchema": {
            "type": "object",
            "required": [
              "title"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 20"
              },
              "title": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "get_wiki_page",
          "title": "Get Wiki Page",
          "description": "One wiki.postgresql.org page by title (\"Don't Do This\"): latest revision, author, date. Cite https://wiki.postgresql.org/wiki/<title>.",
          "inputSchema": {
            "type": "object",
            "required": [
              "title"
            ],
            "properties": {
              "title": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_analyze_activity",
          "title": "Git Analyze Activity",
          "description": "Commits per period: development pace.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "period": {
                "type": "string",
                "description": "week, month (default), quarter or year"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_analyze_authors",
          "title": "Git Analyze Authors",
          "description": "Per author: commits, first and last date; by commit count.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 25"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_analyze_bus_factor",
          "title": "Git Analyze Bus Factor",
          "description": "Files with the fewest distinct authors (knowledge silos).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 25"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_analyze_churn",
          "title": "Git Analyze Churn",
          "description": "Most often changed files.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 25"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_analyze_coupling",
          "title": "Git Analyze Coupling",
          "description": "File pairs often changed together (hidden dependencies).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 25"
              },
              "min_count": {
                "type": "number",
                "description": "Minimum co-changes (default 2)"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_analyze_hotspots",
          "title": "Git Analyze Hotspots",
          "description": "Churn per directory: the most changed areas.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "depth": {
                "type": "number",
                "description": "Directory depth (default 1)"
              },
              "limit": {
                "type": "number",
                "description": "1-100, default 25"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_blame",
          "title": "Git Blame",
          "description": "A file's commit history (git log <rev> -- <path>), newest first: sha, commit_id, author, date, summary, status. Not per-line blame (blame). Renames not followed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "limit": {
                "type": "number",
                "description": "1-1000, default 100"
              },
              "commit": {
                "type": "string",
                "description": "Default HEAD"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_diff",
          "title": "Git Diff",
          "description": "Range mode (head_branch, optional base_branch: commits in head not base, filtered by author/message/path) or diff mode (from_commit, to_commit: unified diff).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": "Only this file path"
              },
              "limit": {
                "type": "number",
                "description": "Range mode: 1-1000, default 100"
              },
              "author": {
                "type": "string",
                "description": "Range mode: author substring"
              },
              "message": {
                "type": "string",
                "description": "Range mode: message substring"
              },
              "to_commit": {
                "type": "string",
                "description": "Diff mode: to (default HEAD)"
              },
              "repository": {
                "type": "string"
              },
              "base_branch": {
                "type": "string",
                "description": "Range mode: base (default branch)"
              },
              "from_commit": {
                "type": "string",
                "description": "Diff mode: from. Any commit form"
              },
              "head_branch": {
                "type": "string",
                "description": "Selects range mode"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_log",
          "title": "Git Log",
          "description": "Commit history like git log, newest first; path, author (substring), since/until, branch (branch, tag or major) filter. Each: sha, commit_id, message, author, dates; has_more.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": "Commits touching this path"
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "since": {
                "type": "string",
                "description": "After (YYYY-MM-DD or RFC 3339)"
              },
              "until": {
                "type": "string",
                "description": "Before (YYYY-MM-DD or RFC 3339)"
              },
              "author": {
                "type": "string",
                "description": "Name or email substring"
              },
              "branch": {
                "type": "string",
                "description": "Default the default branch"
              },
              "offset": {
                "type": "number"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_search",
          "title": "Git Search",
          "description": "Commit messages (or paths: search_in=paths) by keywords, best match first; every word, case-insensitive. Each commit: sha, commit_id, branch, branches (its branch, then its back-patches': a back-patched fix appears once per branch, so pick by branch), first_release (first final release on its branch containing it, or null), message, author, date, people, mail_refs (up to 5, with how_it_refers). A SHA or 7+ hex prefix returns that commit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "query": {
                "type": "string"
              },
              "search_in": {
                "type": "string",
                "description": "messages (default) or paths"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "git_show_file",
          "title": "Git Show File",
          "description": "A file at any commit (git show <rev>:<path>); an unknown rev or path is an error. Max 2000 lines a call (start_line/end_line; total_lines, cut). Returns sha and ref.",
          "inputSchema": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "commit": {
                "type": "string",
                "description": "Any commit form (default HEAD)"
              },
              "end_line": {
                "type": "number",
                "description": "At most start_line + 1999"
              },
              "numbered": {
                "type": "boolean",
                "description": "Default true"
              },
              "repository": {
                "type": "string"
              },
              "start_line": {
                "type": "number",
                "description": "First line (1-based, default 1)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "history-of",
          "title": "History of",
          "description": "For CI: given a diff, path, symbol, subject or feature, the most relevant default-branch commits, their mail discussion and the people involved.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "List to search (default pgsql-hackers)"
              },
              "limit": {
                "type": "number",
                "description": "Per section, 1-25, default 5"
              },
              "query": {
                "type": "string"
              },
              "repository": {
                "type": "string",
                "description": "Its default branch is traced (default postgres)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "hybrid_search",
          "title": "Hybrid Search",
          "description": "Mailing-list search, BM25 over own words and semantic, blended per thread; every list unless inbox narrows it. Up to limit threads, best first, each its best message: inbox, message_id, subject, from, date, thread_id, fused_score (0-1), similarity, excerpt. author/since/until: one sender in a date window. Takes search operators (operators, warnings, skipped report them); complete=false when out of budget_ms. A commit SHA returns the mail referring to it (how_it_refers).",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "all (default), a list, or several comma-separated"
              },
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string",
                "description": "Words or a question; search's operators"
              },
              "since": {
                "type": "string",
                "description": "On or after: YYYY[-MM[-DD]], ISO, or 2w/6m/1y ago"
              },
              "until": {
                "type": "string",
                "description": "Before (exclusive), same forms as since"
              },
              "author": {
                "type": "string",
                "description": "Name, address or hash:<8 hex>"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 4500"
              },
              "keyword_weight": {
                "type": "number",
                "description": "0.0-1.0, default 0.65; raise for exact identifiers"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "query",
              "total",
              "results"
            ],
            "properties": {
              "inbox": {},
              "query": {
                "type": "string"
              },
              "total": {
                "type": "integer"
              },
              "filter": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "since": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "until": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "author": {
                    "type": [
                      "array",
                      "null"
                    ]
                  }
                },
                "description": "The author / date filter applied (names and page hashes, never addresses)."
              },
              "results": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "message_id"
                  ],
                  "properties": {
                    "date": {
                      "type": "string"
                    },
                    "from": {
                      "type": "string"
                    },
                    "inbox": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "excerpt": {
                      "type": "string"
                    },
                    "subject": {
                      "type": "string"
                    },
                    "thread_id": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "message_id": {
                      "type": "string"
                    },
                    "similarity": {
                      "type": "number"
                    },
                    "fused_score": {
                      "type": "number"
                    }
                  }
                }
              },
              "skipped": {
                "type": "string",
                "description": "Why the query's operators leave this source out (no results then)."
              },
              "complete": {
                "type": "boolean",
                "description": "false when the search ran out of budget_ms or a total is a lower bound."
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Operators the query could not use and left out, and the query-length cut."
              },
              "operators": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "op",
                    "value",
                    "negated"
                  ],
                  "properties": {
                    "op": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "negated": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "The search operators and regexes the query applied (absent when it has none)."
              },
              "keyword_weight": {
                "type": "number"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "hybrid_search_code",
          "title": "Hybrid Search Code",
          "description": "Code search by keyword and meaning, fused (RRF). Needs embeddings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-100, default 20"
              },
              "query": {
                "type": "string",
                "description": "Keywords or natural language"
              },
              "repository": {
                "type": "string"
              },
              "keyword_weight": {
                "type": "number",
                "description": "0.0-1.0, default 0.5"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_animals",
          "title": "List Animals",
          "description": "Buildfarm animals by OS, branch, last status or owner; failing first, then by name.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "os": {
                "type": "string",
                "description": "Exact OS"
              },
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "owner": {
                "type": "string",
                "description": "Exact owner name or email"
              },
              "branch": {
                "type": "string",
                "description": "Tracking this branch, e.g. REL_18_STABLE"
              },
              "status": {
                "type": "string",
                "description": "passed, failed, flapping or unknown"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_branches",
          "title": "List Branches",
          "description": "A repository's branches: head commit, default.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_commitfests",
          "title": "List Commitfests",
          "description": "Commitfests: status (open / in-progress / closed) and entry counts by status.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "description": "open, in-progress or closed"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_contributors",
          "title": "List Contributors",
          "description": "Contributors from git trailers, author/committer headers and animal owners, most contributions first.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string",
                "description": "authored, reviewed, committed, ..."
              },
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "offset": {
                "type": "number"
              },
              "source": {
                "type": "string",
                "description": "git, buildfarm, email, wiki or commitfest"
              },
              "release": {
                "type": "string",
                "description": "e.g. PG17, 17, REL_17_STABLE, pre-9.6"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_discord_channels",
          "title": "List Discord Channels",
          "description": "Monitored Discord channels and their message counts.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_doc_versions",
          "title": "List Doc Versions",
          "description": "Documentation versions and page counts.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_entries",
          "title": "List Entries",
          "description": "Commitfest entries (patch series) by status, commitfest or topic; paged.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "topic": {
                "type": "string",
                "description": "Topic substring"
              },
              "offset": {
                "type": "number"
              },
              "status": {
                "type": "string",
                "description": "e.g. needs-review, committed"
              },
              "commitfest_number": {
                "type": "number",
                "description": "e.g. 59"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_inboxes",
          "title": "List Inboxes",
          "description": "Every list: name, message_count, latest_message_date, latest_import_date, listid, description.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number"
              },
              "offset": {
                "type": "number"
              },
              "min_messages": {
                "type": "number",
                "description": "At least this many messages"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_projects",
          "title": "List Projects",
          "description": "Projects linking a forge repository to a list.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_recent",
          "title": "List Recent",
          "description": "A list's newest messages.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 25"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_repositories",
          "title": "List Repositories",
          "description": "Every repository: name, branch, commit_count, file_count, symbol_count, latest_commit, last_fetched_at, import_state.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number"
              },
              "branch": {
                "type": "string",
                "description": "Default branch equals this"
              },
              "offset": {
                "type": "number"
              },
              "min_commits": {
                "type": "number",
                "description": "At least this many commits"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_sources",
          "title": "List Sources",
          "description": "Every source (inbox, repository, docs, wiki, discord): item count, last update, freshness. The names other tools take.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "inbox, repository, docs, wiki or discord"
              },
              "limit": {
                "type": "number"
              },
              "offset": {
                "type": "number"
              },
              "min_items": {
                "type": "number",
                "description": "At least this many items"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "list_threads",
          "title": "List Threads",
          "description": "A list's recent threads: message counts, date ranges, latest message.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "1-100, default 20"
              },
              "before": {
                "type": "number",
                "description": "Unix time (paging)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "recent_commitfest_activity",
          "title": "Recent Commitfest Activity",
          "description": "Entries updated since a cutoff, with a status histogram.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-500, default 100"
              },
              "since": {
                "type": "string",
                "description": "RFC 3339 cutoff (default 7 days ago)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_commitfest",
          "title": "Search Commitfest",
          "description": "Full-text search of commitfest entries (title, then people), the current commitfest unless commitfests; \"phrase\", -term, or. Each: cf_id, title, status, commitfest(s), people, last update, patch url, thread link, outlook (P(commit) or null). Operators: intitle:, from:, after:/before:, /regex/, commitfest:, release:. A commit SHA returns its threads' entries.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "sort": {
                "enum": [
                  "relevance",
                  "likely",
                  "unlikely"
                ],
                "type": "string",
                "description": "Default relevance; likely/unlikely sort by P(commit)"
              },
              "limit": {
                "type": "integer",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string",
                "description": "e.g. NUMA, \"Tom Lane\"; commitfest:this|next, release:this|next|PG20"
              },
              "commitfests": {
                "type": "string",
                "description": "current (default), all, or numbers \"62,61\""
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "results"
            ],
            "properties": {
              "total": {
                "type": "integer"
              },
              "current": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "cf_id"
                  ],
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "cf_id": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "thread_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "skipped": {
                "type": "string",
                "description": "Why the query's operators leave this source out (no results then)."
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Operators the query could not use and left out, and the query-length cut."
              },
              "operators": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "op",
                    "value",
                    "negated"
                  ],
                  "properties": {
                    "op": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "negated": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "The search operators and regexes the query applied (absent when it has none)."
              },
              "commitfests": {}
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "release_contributors",
          "title": "Release Contributors",
          "description": "Top contributors per role (authored, reviewed, tested, reported, committed) for one release, by distinct commits.",
          "inputSchema": {
            "type": "object",
            "required": [
              "release"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "Per role, 1-100, default 20"
              },
              "release": {
                "type": "string",
                "description": "e.g. PG17, 17, REL_17_STABLE, pre-9.6"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "repository_stats",
          "title": "Repository Stats",
          "description": "A repository's commits, files, branch and import state.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search",
          "title": "Search",
          "description": "Keyword search of mail (BM25 over subject, sender, own words), every list unless inbox narrows it. Messages best first (collapse_threads: one per thread): inbox, message_id, subject, from, date, thread_id, excerpt; total, has_more. For exact words; questions: hybrid_search. complete=false: out of budget_ms or total is a lower bound. define:<term> adds definition.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "all (default), a list, or several comma-separated"
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "query": {
                "type": "string",
                "description": "Words. Operators: after:/before:, d:A..B, site:, from:, intitle:, intext:, to:/cc:, has:patch, link:, /regex/, -op; alone: newest first"
              },
              "since": {
                "type": "string",
                "description": "On or after: YYYY[-MM[-DD]], ISO, or 2w/6m/1y ago"
              },
              "until": {
                "type": "string",
                "description": "Before (exclusive), same forms as since"
              },
              "author": {
                "type": "string",
                "description": "Name, address or hash:<8 hex>"
              },
              "offset": {
                "type": "number"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 4500"
              },
              "collapse_threads": {
                "type": "boolean",
                "description": "One hit per thread, the best (default false)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search-regex",
          "title": "Search Regex",
          "description": "POSIX-regex search of mail, optionally fuzzy (k edits per match). search's prefixes apply (s:, f:, t:, d:, b:).",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "k": {
                "type": "number",
                "description": "Edits allowed per match, 0-5 (default 0 = exact)"
              },
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "query": {
                "type": "string",
                "description": "POSIX regex"
              },
              "offset": {
                "type": "number"
              },
              "collapse_threads": {
                "type": "boolean",
                "description": "One hit per thread (default false)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_all_sources",
          "title": "Search All Sources",
          "description": "One search over docs, wiki and mail, by relevance; define:<term> adds definition.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string",
                "description": "Words or a question; search's operators"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_discord_topics",
          "title": "Search Discord Topics",
          "description": "Discord conversations near a query: channel, approximate dates and participants only, never content or links (the Discord community agreement).",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-25, default 10"
              },
              "query": {
                "type": "string",
                "description": "Natural language"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_docs",
          "title": "Search Docs",
          "description": "Full-text search of the docs (\"phrase\", -term, or), title first; the current release unless version(s). One result per page: title, path, url, versions, snippet. define:<term> (MVCC, T611, LATERAL) adds definition (glossary, SQL feature or key word). Operators: intitle:, inurl:, after:/before:. Read: get_doc_page.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string"
              },
              "version": {
                "type": "string",
                "description": "e.g. 17 or current"
              },
              "versions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "e.g. [\"18\", \"17\"]"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "results"
            ],
            "properties": {
              "total": {
                "type": "integer"
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "path",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "snippet": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "version": {
                      "type": "string"
                    }
                  }
                }
              },
              "skipped": {
                "type": "string"
              },
              "versions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Operators the query could not use and left out, and the query-length cut."
              },
              "operators": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "op",
                    "value",
                    "negated"
                  ],
                  "properties": {
                    "op": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "negated": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "The search operators and regexes the query applied (absent when it has none)."
              },
              "definition": {
                "type": "object",
                "required": [
                  "term",
                  "found",
                  "match",
                  "paragraphs",
                  "link_count"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "also": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "term": {
                    "type": "string"
                  },
                  "found": {
                    "type": "boolean"
                  },
                  "match": {
                    "enum": [
                      "exact",
                      "alias",
                      "see",
                      "name",
                      "text",
                      "none"
                    ],
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "source": {
                    "enum": [
                      "glossary",
                      "sql_feature",
                      "sql_keyword",
                      null
                    ],
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "see_also": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "text"
                      ],
                      "properties": {
                        "link": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "kind": {
                              "enum": [
                                "term",
                                "doc",
                                "sql_feature"
                              ],
                              "type": "string"
                            }
                          }
                        },
                        "text": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "link_count": {
                    "type": "integer"
                  },
                  "paragraphs": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "text"
                        ],
                        "properties": {
                          "link": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "term",
                                  "doc",
                                  "sql_feature"
                                ],
                                "type": "string"
                              }
                            }
                          },
                          "text": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "description": "With define:<term> in query: the glossary entry, SQL feature or SQL key word, as text segments some of which link."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_patches",
          "title": "Search Patches",
          "description": "Patch series from [PATCH v2 3/7] subjects: version, number, total, series.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "Default pgsql-hackers"
              },
              "limit": {
                "type": "number",
                "description": "1-100, default 50"
              },
              "query": {
                "type": "string",
                "description": "Words to filter the patches"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 10000"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_patch_lines",
          "title": "Search Patch Lines",
          "description": "Which posted patches carry a line: the +/- lines of every patch posted to the lists, for an identifier, line or hunk. One entry per series (thread): first_version and latest_version carrying it (message_id, date, from, version, patch files with urls, matching lines), message count, and commit (the one that landed it via its Discussion: link, or null). Words match from a word start; any whitespace run matches; several lines must be in one file. complete=false (cut says why) at the read cap or budget.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "side": {
                "enum": [
                  "any",
                  "added",
                  "removed"
                ],
                "type": "string",
                "description": "any (default), added or removed"
              },
              "inbox": {
                "type": "string",
                "description": "One list (default every list)"
              },
              "limit": {
                "type": "number",
                "description": "Series, 1-100, default 20"
              },
              "query": {
                "type": "string",
                "description": "Identifier, line or hunk (max 32 lines); a leading + or - names the side"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 10000"
              },
              "case_sensitive": {
                "type": "boolean",
                "description": "JSON boolean, default true"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "series",
              "count",
              "complete"
            ],
            "properties": {
              "cut": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "more": {
                "type": "boolean"
              },
              "side": {
                "enum": [
                  "any",
                  "added",
                  "removed"
                ],
                "type": "string"
              },
              "count": {
                "type": "integer"
              },
              "query": {
                "type": "string"
              },
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "inbox",
                    "first_version",
                    "latest_version",
                    "commit"
                  ],
                  "properties": {
                    "inbox": {
                      "type": "string"
                    },
                    "commit": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "sha": {
                          "type": "string"
                        },
                        "subject": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "committed_at": {
                          "type": "string"
                        }
                      }
                    },
                    "subject": {
                      "type": "string"
                    },
                    "messages": {
                      "type": "integer"
                    },
                    "first_version": {
                      "type": "object",
                      "required": [
                        "message_id",
                        "files",
                        "lines"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "from": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "files": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "lines": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "file": {
                                "type": "string"
                              },
                              "path": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "subject": {
                          "type": "string"
                        },
                        "version": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "message_id": {
                          "type": "string"
                        }
                      }
                    },
                    "latest_version": {
                      "type": "object",
                      "required": [
                        "message_id",
                        "files",
                        "lines"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "from": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "files": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "lines": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "file": {
                                "type": "string"
                              },
                              "path": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "text": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "subject": {
                          "type": "string"
                        },
                        "version": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "message_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "complete": {
                "type": "boolean"
              },
              "total_series": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "said",
          "title": "Said",
          "description": "What a person said, objected to or agreed with: rule-labelled stance sentences from their own words. author + topic (\"what did Tom Lane object to in SIGFPE handling\"), or message_id for one thread (every participant, or add author). Each: verbatim sentence, message_id, url, date, from, stance (opposes, concerned, supports, commits), cue, source (rule or commitfest status). Labels are a rule's guess: read the sentence. counts by stance; messages_read (max 400); complete=false when a cap or budget_ms cut it. Sentences without a cue word are not returned.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inbox": {
                "type": "string",
                "description": "One list (default every list)"
              },
              "since": {
                "type": "string",
                "description": "From (YYYY[-MM[-DD]] or 2w / 6m / 1y ago)"
              },
              "topic": {
                "type": "string",
                "description": "Words or a question"
              },
              "until": {
                "type": "string",
                "description": "Before (same forms)"
              },
              "author": {
                "type": "string",
                "description": "Name, address or hash:<8 hex>"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 3000"
              },
              "message_id": {
                "type": "string",
                "description": "Any message of the thread"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "messages_read",
              "complete",
              "counts",
              "threads"
            ],
            "properties": {
              "note": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why the answer is not what was asked for: the threads were chosen by topic because the author-filtered search found nothing or ran out of time."
              },
              "inbox": {},
              "topic": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "counts": {
                "type": "object",
                "properties": {
                  "commits": {
                    "type": "integer"
                  },
                  "opposes": {
                    "type": "integer"
                  },
                  "supports": {
                    "type": "integer"
                  },
                  "concerned": {
                    "type": "integer"
                  }
                }
              },
              "people": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": "object",
                  "properties": {
                    "hash": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "person": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "thread": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "threads": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "inbox": {
                      "type": "string"
                    },
                    "subject": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sentences": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "message_id",
                          "url",
                          "stance",
                          "cue",
                          "source",
                          "sentence"
                        ],
                        "properties": {
                          "cue": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "from": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "source": {
                            "enum": [
                              "rule",
                              "commitfest"
                            ],
                            "type": "string"
                          },
                          "stance": {
                            "enum": [
                              "opposes",
                              "concerned",
                              "supports",
                              "commits"
                            ],
                            "type": "string"
                          },
                          "sentence": {
                            "type": "string"
                          },
                          "message_id": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "thread_id": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "stance_sentences": {
                      "type": "integer"
                    }
                  }
                }
              },
              "complete": {
                "type": "boolean"
              },
              "how_to_read": {
                "type": "string"
              },
              "messages_read": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "list_skills",
          "title": "List Skills",
          "description": "The PostgreSQL agent skills published here: name, description, SKILL.md uri, files. Read one with load_skill.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "load_skill",
          "title": "Load Skill",
          "description": "Read a skill: name gives SKILL.md and its file list; name + file one file; uri any skill:// document.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "uri": {
                "type": "string",
                "description": "Any skill:// uri (instead of name)"
              },
              "file": {
                "type": "string",
                "description": "Another file of that skill, as load_skill lists it"
              },
              "name": {
                "type": "string",
                "description": "From list_skills, e.g. postgres-developer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "search_symbols",
          "title": "Search Symbols",
          "description": "C functions, macros, types and variables by name in HEAD (BM25, then fuzzy). Each: qualified_name, name, kind, language, file, start_line, end_line.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "description": "function, struct, enum, ..."
              },
              "limit": {
                "type": "number",
                "description": "1-200, default 50"
              },
              "query": {
                "type": "string",
                "description": "Name, partial name or keyword"
              },
              "language": {
                "type": "string",
                "description": "c, cpp, go, python, rust, ..."
              },
              "repository": {
                "type": "string",
                "description": "Default postgres; several comma-separated"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "search_wiki",
          "title": "Search Wiki",
          "description": "Full-text search of wiki.postgresql.org, current text unless history=true (per page its latest matching revision: rev_id, revision_url, author, comment, timestamp, is_current, matches). Operators as in search. A commit SHA returns the pages citing it.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string"
              },
              "since": {
                "type": "string",
                "description": "With history: revisions at or after (YYYY-MM-DD or ISO-8601)"
              },
              "until": {
                "type": "string",
                "description": "With history: revisions before the end of this date"
              },
              "history": {
                "type": "boolean",
                "description": "Default false"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "semantic_search",
          "title": "Semantic Search",
          "description": "Mail by meaning (embeddings), every list unless inbox narrows it; each result has inbox and an own-words excerpt.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "inbox": {
                "type": "string",
                "description": "all (default), a list, or several comma-separated"
              },
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string",
                "description": "Natural language"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "semantic_search_code",
          "title": "Semantic Search Code",
          "description": "Code symbols by meaning. Needs embeddings.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "1-50, default 20"
              },
              "query": {
                "type": "string",
                "description": "Natural language"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "symbols_in_file",
          "title": "Symbols in File",
          "description": "A file's symbols in line order.",
          "inputSchema": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "repository": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "regex_search_code",
          "title": "Regex Search Code",
          "description": "Regex search of the CURRENT source only (HEAD), like git grep -E (^ $ per line). Files with repo_name, file_path, line_no, snippet. Other commits or history: code_search match=regex.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "Files, 1-500, default 50"
              },
              "query": {
                "type": "string",
                "description": "POSIX extended regex"
              },
              "path_glob": {
                "type": "string",
                "description": "SQL LIKE on the path, e.g. \"%/src/backend/%.c\""
              },
              "repository": {
                "type": "string",
                "description": "Exact repository name (default every repository)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "grep_repository",
          "title": "Grep Repository",
          "description": "Literal search of the CURRENT source only (HEAD), like git grep -F. Files with repo_name, file_path, line_no, snippet. Other commits or history: code_search.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "Files, 1-500, default 50"
              },
              "query": {
                "type": "string",
                "description": "Literal text (regex characters are escaped)"
              },
              "repository": {
                "type": "string",
                "description": "Default every repository"
              },
              "case_sensitive": {
                "type": "boolean",
                "description": "Default true (false = git grep -i)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "find_string_literals",
          "title": "Find String Literals",
          "description": "A literal in HEAD source, only inside \"strings\", after // or /* comments, or anywhere.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "description": "all (default), strings or comments"
              },
              "limit": {
                "type": "number",
                "description": "Files, 1-500, default 50"
              },
              "query": {
                "type": "string",
                "description": "Literal text (regex characters are escaped)"
              },
              "repository": {
                "type": "string",
                "description": "Default every repository"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "upcoming_events",
          "title": "Upcoming Events",
          "description": "PostgreSQL events in a date window: conferences, meetups, online events, CfP and registration deadlines, talks (speakers with person hash), releases, commitfests. Source: PostgreSQL Event Calendar (Andreas Scherbaum).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to": {
                "type": "string",
                "description": "End, YYYY-MM-DD (default from + days)"
              },
              "days": {
                "type": "integer",
                "description": "Window, days (default 90, max 730)"
              },
              "from": {
                "type": "string",
                "description": "Start, YYYY-MM-DD (default today)"
              },
              "kind": {
                "type": "string",
                "description": "event, cfp, deadline, session (a talk), release or signal"
              },
              "limit": {
                "type": "integer",
                "description": "Default 50, max 500"
              },
              "where": {
                "type": "string",
                "description": "Country, region (europe, north-america, ...), series slug, or online"
              },
              "offset": {
                "type": "integer"
              },
              "person": {
                "type": "string",
                "description": "Person hash (8 hex): their talks only"
              },
              "series": {
                "type": "string",
                "description": "e.g. pgconf-eu, pgconf-dev, posette, talking-postgres"
              },
              "speaker": {
                "type": "string",
                "description": "Speaker-name substring"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "calendar_feeds",
          "title": "Calendar Feeds",
          "description": "Every calendar feed (iCalendar URL) with event counts: all, regions, countries, series, release cycle, teams, organisations.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "combine_calendars",
          "title": "Combine Calendars",
          "description": "Several calendar feeds (from calendar_feeds; 1-200) as one subscription: hash, feeds, https and webcal urls; stable per selection.",
          "inputSchema": {
            "type": "object",
            "required": [
              "feeds"
            ],
            "properties": {
              "feeds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "excludes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Feeds to subtract"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cross_reference",
          "title": "Cross Reference",
          "description": "What relates to one stored item. ref: Message-ID or URL, commit SHA or URL, docs URL or page, wiki URL or title, commitfest URL, CVE-YYYY-NNNNN, or feature:<words>. Related threads, commits (releases, reverted_by), docs, wiki pages, entries and people, each with why, strongest first; timeline (status and dated events) for a commit, thread, entry or feature; graph (design-history facts with confidence) for features and entries. ~3 s budget (late parts in timed_out). Same as GET /api/v2/related.",
          "inputSchema": {
            "type": "object",
            "required": [
              "ref"
            ],
            "properties": {
              "ref": {
                "type": "string"
              },
              "kinds": {
                "type": "array",
                "items": {
                  "enum": [
                    "mail",
                    "git",
                    "docs",
                    "wiki",
                    "commitfest",
                    "people"
                  ],
                  "type": "string"
                }
              },
              "limit": {
                "type": "number",
                "description": "Per kind, 1-25, default 5"
              },
              "version": {
                "type": "string",
                "description": "Docs version, default current"
              },
              "timeline": {
                "type": "boolean",
                "description": "Default true"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "ref",
              "related"
            ],
            "properties": {
              "ref": {
                "type": "object",
                "properties": {
                  "key": {},
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "date": {},
                  "kind": {
                    "type": "string"
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "partial": {
                "type": "boolean"
              },
              "related": {
                "type": "object"
              },
              "took_ms": {
                "type": "integer"
              },
              "timeline": {
                "type": "object",
                "required": [
                  "status",
                  "events",
                  "sources"
                ],
                "properties": {
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "kind",
                        "date",
                        "what",
                        "source"
                      ],
                      "properties": {
                        "sha": {
                          "type": "string"
                        },
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "kind": {
                          "enum": [
                            "first_post",
                            "commitfest",
                            "commit",
                            "backpatch",
                            "revert"
                          ],
                          "type": "string"
                        },
                        "what": {
                          "type": "string"
                        },
                        "branch": {
                          "type": "string"
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "release": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "status": {
                    "type": "object",
                    "required": [
                      "state",
                      "evidence"
                    ],
                    "properties": {
                      "state": {
                        "type": "string"
                      },
                      "evidence": {
                        "type": "array"
                      },
                      "released_in": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "sources": {
                    "type": "object",
                    "properties": {
                      "commits": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "threads": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "commits_cut": {
                        "type": "boolean"
                      },
                      "commitfest_entries": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                },
                "description": "What happened to it, from git tags, commit messages and the commitfest; every event cites its source."
              },
              "timed_out": {
                "type": "array"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "whats_new",
          "title": "Whats New",
          "description": "Catch up: what a person or group did, and where they were named, in a window; newest first per kind. who: a name (fuzzy; close matches return ambiguous), email, hash:<8 hex>, team:<slug>, org:<name>, new:<window>, or a list. Kinds: waiting (one person, no topic: their open items, each with rule, priority 0-100, why, outlook, p_reply, p_more_replies; finished threads (a commit, a closed entry, a quiet thread, or a last message that only thanks or reports the work done: done_reason acknowledged / work_done) only counted in left_out unless done=show; a waiting thread whose last message laya estimates asks them nothing comes last with fold probably_not_waiting and its laya estimate), acted, mail_from, mail_to_cc, mail_mention, git_author, git_credit, git_mention, wiki_edit, wiki_mention, commitfest, calendar, roster. Names, hashes and urls, never addresses. ~4 s budget (late kinds in timed_out). Same as GET /api/v2/activity.",
          "inputSchema": {
            "type": "object",
            "required": [
              "who"
            ],
            "properties": {
              "who": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              },
              "done": {
                "enum": [
                  "hide",
                  "show"
                ],
                "type": "string",
                "description": "Finished waiting threads: hide (default) or show"
              },
              "kinds": {
                "type": "array",
                "items": {
                  "enum": [
                    "waiting",
                    "acted",
                    "mail_from",
                    "mail_to_cc",
                    "mail_mention",
                    "git_author",
                    "git_credit",
                    "git_mention",
                    "wiki_edit",
                    "wiki_mention",
                    "commitfest",
                    "calendar",
                    "roster"
                  ],
                  "type": "string"
                }
              },
              "limit": {
                "type": "number",
                "description": "Per kind, 1-100, default 20"
              },
              "since": {
                "type": "string",
                "description": "Date, 2w, today, pg19 or all (default 14 days ago)"
              },
              "topic": {
                "type": "string",
                "description": "Narrows every kind by hybrid search, e.g. NUMA"
              },
              "until": {
                "type": "string",
                "description": "Default now"
              },
              "during": {
                "type": "string",
                "description": "Calendar event uid or url, or pg19: its dates"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "who": {
                "type": "object"
              },
              "hint": {
                "type": "string"
              },
              "input": {},
              "items": {
                "type": "object",
                "description": "Items by kind (mail_from, git_author, commitfest, waiting, ...), each an array.",
                "additionalProperties": {
                  "type": "array"
                }
              },
              "topic": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "counts": {
                "type": "object",
                "description": "How many items of each kind were found.",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "failed": {
                "type": "array"
              },
              "window": {
                "type": "object"
              },
              "partial": {
                "type": "boolean"
              },
              "skipped": {
                "type": "array"
              },
              "took_ms": {
                "type": "integer"
              },
              "ambiguous": {
                "type": "array"
              },
              "timed_out": {
                "type": "array"
              },
              "truncated": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "code_search",
          "title": "Code Search",
          "description": "The postgres source at any commit, or across history (code-history index, byte-exact). match: literal (default), regex (^ $ per line) or identifier (all spellings). Results name sha and ref. history (all, <rev>, A..B): every matching line any commit had, with the commits that added and removed it. complete=false: totals are lower bounds.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "description": "Per page, 1-2000, default 100"
              },
              "match": {
                "enum": [
                  "literal",
                  "regex",
                  "identifier"
                ],
                "type": "string",
                "description": "Default literal"
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Directories or globs, e.g. src/backend/storage"
              },
              "query": {
                "type": "string",
                "description": "Text, regex or identifier"
              },
              "commit": {
                "type": "string",
                "description": "Any commit form, a release (17.2) or <ref>@YYYY-MM-DD; default newest release branch"
              },
              "offset": {
                "type": "number",
                "description": "Results to skip (paging)"
              },
              "output": {
                "enum": [
                  "lines",
                  "files",
                  "counts"
                ],
                "type": "string",
                "description": "Default lines"
              },
              "context": {
                "type": "number",
                "description": "Context lines, 0-20, default 0"
              },
              "exclude": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Globs to drop"
              },
              "history": {
                "type": "string",
                "description": "all, a rev, or A..B"
              },
              "include": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Globs to keep, e.g. *.c, src/include/**/*.h"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 10000"
              },
              "repository": {
                "type": "string",
                "description": "Only postgres"
              },
              "case_sensitive": {
                "type": "boolean",
                "description": "Default true"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "read_file",
          "title": "Read File",
          "description": "A postgres file at any commit (code-history index): numbered lines, at most 2000 a call (start_line/end_line); total_lines, complete; binary files return metadata.",
          "inputSchema": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string",
                "description": "From the root, e.g. src/backend/access/transam/xlog.c"
              },
              "commit": {
                "type": "string",
                "description": "Any commit form, a release (17.2) or <ref>@YYYY-MM-DD; default newest release branch"
              },
              "end_line": {
                "type": "number",
                "description": "Default start_line + 1999"
              },
              "repository": {
                "type": "string",
                "description": "Only postgres"
              },
              "start_line": {
                "type": "number",
                "description": "Default 1"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "list_files",
          "title": "List Files",
          "description": "Files under a directory at any commit (code-history index) with line counts; depth folds deeper paths; glob filters.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "glob": {
                "type": "string",
                "description": "e.g. *.dat, src/include/catalog/*.h"
              },
              "path": {
                "type": "string",
                "description": "Directory (default the root)"
              },
              "depth": {
                "type": "number",
                "description": "Levels below path (default all)"
              },
              "limit": {
                "type": "number",
                "description": "1-5000, default 500"
              },
              "commit": {
                "type": "string",
                "description": "Any commit form, a release (17.2) or <ref>@YYYY-MM-DD; default newest release branch"
              },
              "repository": {
                "type": "string",
                "description": "Only postgres"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "blame",
          "title": "Blame",
          "description": "Per-line blame of a postgres file at any commit, as git blame. ignore_revs skips pgindent commits (.git-blame-ignore-revs); reverse adds the commit that removed each line. Max 2000 lines a call. proposals=true: per line the earliest posted patch that added it. Not git_blame (a file's commit list).",
          "inputSchema": {
            "type": "object",
            "required": [
              "path"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "commit": {
                "type": "string",
                "description": "Any commit form, a release (17.2) or <ref>@YYYY-MM-DD; default newest release branch"
              },
              "reverse": {
                "type": "boolean",
                "description": "Default false"
              },
              "end_line": {
                "type": "number",
                "description": "Default start_line + 1999"
              },
              "proposals": {
                "type": "boolean",
                "description": "Default false"
              },
              "repository": {
                "type": "string",
                "description": "Only postgres"
              },
              "start_line": {
                "type": "number",
                "description": "Default 1"
              },
              "ignore_revs": {
                "type": "boolean",
                "description": "Default true"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "get_commit",
          "title": "Get Commit",
          "description": "One postgres commit (code-history index): message, trailers (names only), Discussion threads, back-patch siblings, first_releases (per branch: sha, release such as 14.23 or null, first_version, shipped), reverted_by, reverts, posted_patch (the Discussion patch mail matching it best, score 0-1, or null), files with line counts, and the diff (max 3000 lines; diff_complete).",
          "inputSchema": {
            "type": "object",
            "required": [
              "commit"
            ],
            "properties": {
              "diff": {
                "type": "boolean",
                "description": "Include the diff (default true)"
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Only diff files under these paths"
              },
              "commit": {
                "type": "string"
              },
              "context": {
                "type": "number",
                "description": "Diff context lines (0-1000, default 3)"
              },
              "repository": {
                "type": "string",
                "description": "Only postgres"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "search_commits",
          "title": "Search Commits",
          "description": "Postgres commits (code-history index), newest first, like git log. range: a rev (its first-parent line), A..B, or all (default: every branch; each commit once, branches = where its change landed). Filters: message, author (also credit trailers), paths, since/until, changed_lines (-G), occurrences (-S). complete=false when -G/-S matched over 300,000 lines.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Commits (1-200, default 30)"
              },
              "paths": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Path prefixes the commit touched"
              },
              "range": {
                "type": "string",
                "description": "A rev, A..B, or all (default)"
              },
              "since": {
                "type": "string",
                "description": "YYYY-MM-DD (committed on or after)"
              },
              "until": {
                "type": "string",
                "description": "YYYY-MM-DD (committed before)"
              },
              "author": {
                "type": "string",
                "description": "Regex"
              },
              "offset": {
                "type": "number",
                "description": "Commits to skip"
              },
              "message": {
                "type": "string",
                "description": "Regex over the commit message"
              },
              "budget_ms": {
                "type": "number",
                "description": "ms, 100-15000, default 10000"
              },
              "repository": {
                "type": "string",
                "description": "Only postgres"
              },
              "occurrences": {
                "type": "string",
                "description": "String (git log -S)"
              },
              "changed_lines": {
                "type": "string",
                "description": "Regex (git log -G)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "get_ontology",
          "title": "Get Ontology",
          "description": "What this server knows and which tool reads it: kinds of fact with attributes and counts, the design-history graph's relations, sources and confidence. Same as GET /api/v2/ontology.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "community/coding-conventions.md",
          "uri": "skill://community/coding-conventions.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL's C coding standards, evolved over 30+ years."
        },
        {
          "name": "community/common-pitfalls.md",
          "uri": "skill://community/common-pitfalls.md",
          "mimeType": "text/markdown",
          "description": "Mistakes newcomers (and sometimes experienced contributors) make when interacting with the PostgreSQL community."
        },
        {
          "name": "community/communication-norms.md",
          "uri": "skill://community/communication-norms.md",
          "mimeType": "text/markdown",
          "description": "Mailing list etiquette: formatting, quoting, threading, and the implicit social rules of pgsql-hackers."
        },
        {
          "name": "community/conventions/code-comments.md",
          "uri": "skill://community/conventions/code-comments.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL has unwritten but consistent conventions for comments in"
        },
        {
          "name": "community/conventions/commit-message-format.md",
          "uri": "skill://community/conventions/commit-message-format.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL commit messages have a strong, consistent shape that is"
        },
        {
          "name": "community/conventions/committing-checklist.md",
          "uri": "skill://community/conventions/committing-checklist.md",
          "mimeType": "text/markdown",
          "description": "The full pre-commit checklist a PostgreSQL committer runs before"
        },
        {
          "name": "community/conventions/creating-clean-patches.md",
          "uri": "skill://community/conventions/creating-clean-patches.md",
          "mimeType": "text/markdown",
          "description": "Greg Smith's wiki article \"Creating Clean Patches\" is the canonical"
        },
        {
          "name": "community/conventions/extension-conventions.md",
          "uri": "skill://community/conventions/extension-conventions.md",
          "mimeType": "text/markdown",
          "description": "An extension runs *inside* the backend as the superuser or the invoking role,"
        },
        {
          "name": "community/conventions/git-workflow.md",
          "uri": "skill://community/conventions/git-workflow.md",
          "mimeType": "text/markdown",
          "description": "How to clone, branch, develop, and post patches to PostgreSQL using the"
        },
        {
          "name": "community/conventions/pgindent.md",
          "uri": "skill://community/conventions/pgindent.md",
          "mimeType": "text/markdown",
          "description": "`pgindent` is the wrapper script (Perl) around `pg_bsd_indent` that enforces"
        },
        {
          "name": "community/conventions/sql-style.md",
          "uri": "skill://community/conventions/sql-style.md",
          "mimeType": "text/markdown",
          "description": "SQL you write for a user should read like prose and survive schema change"
        },
        {
          "name": "community/conventions/whitespace-and-encoding.md",
          "uri": "skill://community/conventions/whitespace-and-encoding.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL is strict about whitespace and character encoding in source"
        },
        {
          "name": "community/decision-making.md",
          "uri": "skill://community/decision-making.md",
          "mimeType": "text/markdown",
          "description": "How consensus is reached, the role of committers, and how things get done in the PostgreSQL project."
        },
        {
          "name": "community/methodology.md",
          "uri": "skill://community/methodology.md",
          "mimeType": "text/markdown",
          "description": "How email-driven development works, the role of archives, and how decisions are documented in threads."
        },
        {
          "name": "community/patch-submission.md",
          "uri": "skill://community/patch-submission.md",
          "mimeType": "text/markdown",
          "description": "How to submit patches to PostgreSQL: the commitfest process, formatting expectations, versioning, and rebasing."
        },
        {
          "name": "community/ready-for-committer-to-committed.md",
          "uri": "skill://community/ready-for-committer-to-committed.md",
          "mimeType": "text/markdown",
          "description": "A patch marked **Ready for Committer** (RfC) is not a patch that will be"
        },
        {
          "name": "community/review-standards.md",
          "uri": "skill://community/review-standards.md",
          "mimeType": "text/markdown",
          "description": "What PostgreSQL reviewers look for when evaluating patches."
        },
        {
          "name": "community/voices/andres-freund.md",
          "uri": "skill://community/voices/andres-freund.md",
          "mimeType": "text/markdown",
          "description": "Distilled patterns from Andres Freund's reviews, commits, and conference"
        },
        {
          "name": "community/voices/index.md",
          "uri": "skill://community/voices/index.md",
          "mimeType": "text/markdown",
          "description": "The named voices in `community/voices/` are stylistic distillations of"
        },
        {
          "name": "community/voices/michael-paquier.md",
          "uri": "skill://community/voices/michael-paquier.md",
          "mimeType": "text/markdown",
          "description": "Distilled patterns from Michael Paquier's reviews and commits."
        },
        {
          "name": "community/voices/robert-haas.md",
          "uri": "skill://community/voices/robert-haas.md",
          "mimeType": "text/markdown",
          "description": "Distilled patterns from Robert Haas's reviews, commits, and long-form"
        },
        {
          "name": "community/voices/tom-lane.md",
          "uri": "skill://community/voices/tom-lane.md",
          "mimeType": "text/markdown",
          "description": "Distilled patterns from Tom Lane's reviews and commits."
        },
        {
          "name": "community/voices/tomas-vondra.md",
          "uri": "skill://community/voices/tomas-vondra.md",
          "mimeType": "text/markdown",
          "description": "Distilled patterns from Tomas Vondra's reviews, commits, and conference"
        },
        {
          "name": "examples/find-all-vacuum-discussions.md",
          "uri": "skill://examples/find-all-vacuum-discussions.md",
          "mimeType": "text/markdown",
          "description": "This example shows how to use the pg.ddx.io MCP server to comprehensively research a topic — in this case, autovacuum and its evolution."
        },
        {
          "name": "examples/how-was-wal-implemented.md",
          "uri": "skill://examples/how-was-wal-implemented.md",
          "mimeType": "text/markdown",
          "description": "This example demonstrates using the pg.ddx.io MCP server to trace the history of Write-Ahead Logging (WAL) in PostgreSQL — from its original introduction through major redesigns."
        },
        {
          "name": "examples/review-a-patch-series.md",
          "uri": "skill://examples/review-a-patch-series.md",
          "mimeType": "text/markdown",
          "description": "This example demonstrates using the pg.ddx.io MCP server to understand the full context of a patch series that went through multiple review cycles before being committed (or rejected)."
        },
        {
          "name": "examples/trace-index-am-evolution.md",
          "uri": "skill://examples/trace-index-am-evolution.md",
          "mimeType": "text/markdown",
          "description": "This example demonstrates using the pg.ddx.io MCP server to trace how the Index Access Method (AM) API evolved across PostgreSQL releases — from the original fixed set of index types to the modern extensible interface."
        },
        {
          "name": "generic/mcp-servers.json",
          "uri": "skill://generic/mcp-servers.json",
          "mimeType": "application/json",
          "description": ""
        },
        {
          "name": "generic/workflows/bug-investigation.md",
          "uri": "skill://generic/workflows/bug-investigation.md",
          "mimeType": "text/markdown",
          "description": "Use the pg.ddx.io MCP server to investigate a PostgreSQL bug by combining mailing list archives (where bugs are reported and discussed) with code intelligence (to understand the affected code paths)."
        },
        {
          "name": "generic/workflows/build-and-test.md",
          "uri": "skill://generic/workflows/build-and-test.md",
          "mimeType": "text/markdown",
          "description": "How a developer builds and tests PostgreSQL locally — recommended"
        },
        {
          "name": "generic/workflows/buildfarm-blame.md",
          "uri": "skill://generic/workflows/buildfarm-blame.md",
          "mimeType": "text/markdown",
          "description": "Detect whether a specific commit (yours or anyone's) caused buildfarm animals"
        },
        {
          "name": "generic/workflows/commitfest-health-watch.md",
          "uri": "skill://generic/workflows/commitfest-health-watch.md",
          "mimeType": "text/markdown",
          "description": "Detect when a commitfest (CF) entry's cfbot status drifts from green so the"
        },
        {
          "name": "generic/workflows/debug-backend.md",
          "uri": "skill://generic/workflows/debug-backend.md",
          "mimeType": "text/markdown",
          "description": "How to attach a debugger, reproduce a crash, raise log verbosity, and"
        },
        {
          "name": "generic/workflows/debug-initdb.md",
          "uri": "skill://generic/workflows/debug-initdb.md",
          "mimeType": "text/markdown",
          "description": "`initdb` initialises a PostgreSQL data directory."
        },
        {
          "name": "generic/workflows/deep-git-blame.md",
          "uri": "skill://generic/workflows/deep-git-blame.md",
          "mimeType": "text/markdown",
          "description": "Given a starting point — a line (or lines) of PostgreSQL source, a commit, a"
        },
        {
          "name": "generic/workflows/fetch-patch-test.md",
          "uri": "skill://generic/workflows/fetch-patch-test.md",
          "mimeType": "text/markdown",
          "description": "End-to-end reviewer workflow: pull a patch from a -hackers message, set up a"
        },
        {
          "name": "generic/workflows/find-related-patches.md",
          "uri": "skill://generic/workflows/find-related-patches.md",
          "mimeType": "text/markdown",
          "description": "Given a topic, find all related patch submissions across the PostgreSQL mailing lists."
        },
        {
          "name": "generic/workflows/forward-port-cold-branch.md",
          "uri": "skill://generic/workflows/forward-port-cold-branch.md",
          "mimeType": "text/markdown",
          "description": "Resurrect a stale branch or patch from N years ago to today's `origin/master`, with conflict triage informed by upstream commit history."
        },
        {
          "name": "generic/workflows/gain-perspective.md",
          "uri": "skill://generic/workflows/gain-perspective.md",
          "mimeType": "text/markdown",
          "description": "Before you spend a week on a feature proposal or a refactor, take 30 minutes"
        },
        {
          "name": "generic/workflows/package-an-extension.md",
          "uri": "skill://generic/workflows/package-an-extension.md",
          "mimeType": "text/markdown",
          "description": "A working `.so` on your machine is not a release."
        },
        {
          "name": "generic/workflows/perf-testing.md",
          "uri": "skill://generic/workflows/perf-testing.md",
          "mimeType": "text/markdown",
          "description": "How to run reproducible performance experiments on PostgreSQL."
        },
        {
          "name": "generic/workflows/pre-review-by-committers.md",
          "uri": "skill://generic/workflows/pre-review-by-committers.md",
          "mimeType": "text/markdown",
          "description": "Before posting a patch to pgsql-hackers, predict what three or more PostgreSQL"
        },
        {
          "name": "generic/workflows/rebase-feature-branch.md",
          "uri": "skill://generic/workflows/rebase-feature-branch.md",
          "mimeType": "text/markdown",
          "description": "Rebase a local feature branch onto fresh `origin/master`, classify and resolve"
        },
        {
          "name": "generic/workflows/research-and-connect-dots.md",
          "uri": "skill://generic/workflows/research-and-connect-dots.md",
          "mimeType": "text/markdown",
          "description": "Quickly assemble a chronological, cross-source picture of a PostgreSQL topic by traversing the wiki, official docs, mailing-list archives, git history, and the source-code symbol graph in one pass."
        },
        {
          "name": "generic/workflows/review-thread-context.md",
          "uri": "skill://generic/workflows/review-thread-context.md",
          "mimeType": "text/markdown",
          "description": "Given a review thread (or any discussion thread), build complete understanding of its context: what preceded it, what it references, who the key participants are, and what the outcome was."
        },
        {
          "name": "generic/workflows/semantic-code-search.md",
          "uri": "skill://generic/workflows/semantic-code-search.md",
          "mimeType": "text/markdown",
          "description": "Use semantic search to find PostgreSQL code that implements a concept, even when you don't know the exact function names or terminology used in the source."
        },
        {
          "name": "generic/workflows/submit-patch.md",
          "uri": "skill://generic/workflows/submit-patch.md",
          "mimeType": "text/markdown",
          "description": "The canonical end-to-end patch-author flow: from \"I have a change I"
        },
        {
          "name": "generic/workflows/trace-feature-history.md",
          "uri": "skill://generic/workflows/trace-feature-history.md",
          "mimeType": "text/markdown",
          "description": "Follow the complete lifecycle of a PostgreSQL feature from initial proposal through design, implementation, review, and final commit."
        },
        {
          "name": "generic/workflows/use-psql-effectively.md",
          "uri": "skill://generic/workflows/use-psql-effectively.md",
          "mimeType": "text/markdown",
          "description": "`psql` is the reference client and far more capable than a bare SQL prompt."
        },
        {
          "name": "generic/workflows/write-an-extension.md",
          "uri": "skill://generic/workflows/write-an-extension.md",
          "mimeType": "text/markdown",
          "description": "An \"extension\" is a packaged bundle PostgreSQL tracks as a single object:"
        },
        {
          "name": "generic/workflows/write-plpgsql.md",
          "uri": "skill://generic/workflows/write-plpgsql.md",
          "mimeType": "text/markdown",
          "description": "How to write a PL/pgSQL function, procedure, or trigger that is correct under"
        },
        {
          "name": "postgres-best-practices",
          "uri": "skill://postgres/postgres-best-practices/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL best practices for Postgres running anywhere — schema, queries, indexing, security, concurrency, data access, monitoring, operations, and advanced features. Load this skill BEFORE writing or changing anything that touches a Postgres database: creating or altering tables and columns (including choosing types), schema design, migrations and online DDL, row security policies, indexes, triggers, functions, queues and scheduled jobs, full-text and JSONB queries, partitioning, logical replication, connection pooling, and extension upgrades. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, deadlocks, bloat, autovacuum/wraparound trouble, or rows visible to the wrong tenant. Schema, migration, security, and SQL authoring tasks all need these rules — even a one-column change or a single query."
        },
        {
          "name": "postgres/best-practices/references/_sections.md",
          "uri": "skill://postgres/postgres-best-practices/references/_sections.md",
          "mimeType": "text/markdown",
          "description": "Rules are grouped by filename prefix."
        },
        {
          "name": "postgres/best-practices/references/_template.md",
          "uri": "skill://postgres/postgres-best-practices/references/_template.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/advanced-full-text-search.md",
          "uri": "skill://postgres/postgres-best-practices/references/advanced-full-text-search.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/advanced-jsonb-indexing.md",
          "uri": "skill://postgres/postgres-best-practices/references/advanced-jsonb-indexing.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/conn-idle-timeout.md",
          "uri": "skill://postgres/postgres-best-practices/references/conn-idle-timeout.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/conn-limits.md",
          "uri": "skill://postgres/postgres-best-practices/references/conn-limits.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/conn-pool-modes.md",
          "uri": "skill://postgres/postgres-best-practices/references/conn-pool-modes.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/conn-pooling.md",
          "uri": "skill://postgres/postgres-best-practices/references/conn-pooling.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/conn-prepared-statements.md",
          "uri": "skill://postgres/postgres-best-practices/references/conn-prepared-statements.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/data-batch-inserts.md",
          "uri": "skill://postgres/postgres-best-practices/references/data-batch-inserts.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/data-n-plus-one.md",
          "uri": "skill://postgres/postgres-best-practices/references/data-n-plus-one.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/data-pagination.md",
          "uri": "skill://postgres/postgres-best-practices/references/data-pagination.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/data-upsert.md",
          "uri": "skill://postgres/postgres-best-practices/references/data-upsert.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/lock-advisory.md",
          "uri": "skill://postgres/postgres-best-practices/references/lock-advisory.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/lock-deadlock-prevention.md",
          "uri": "skill://postgres/postgres-best-practices/references/lock-deadlock-prevention.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/lock-short-transactions.md",
          "uri": "skill://postgres/postgres-best-practices/references/lock-short-transactions.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/lock-skip-locked.md",
          "uri": "skill://postgres/postgres-best-practices/references/lock-skip-locked.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/monitor-bloat.md",
          "uri": "skill://postgres/postgres-best-practices/references/monitor-bloat.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/monitor-explain-analyze.md",
          "uri": "skill://postgres/postgres-best-practices/references/monitor-explain-analyze.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/monitor-locks.md",
          "uri": "skill://postgres/postgres-best-practices/references/monitor-locks.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/monitor-pg-stat-statements.md",
          "uri": "skill://postgres/postgres-best-practices/references/monitor-pg-stat-statements.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/ops-autovacuum.md",
          "uri": "skill://postgres/postgres-best-practices/references/ops-autovacuum.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/ops-extension-upgrades.md",
          "uri": "skill://postgres/postgres-best-practices/references/ops-extension-upgrades.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/ops-logical-replication.md",
          "uri": "skill://postgres/postgres-best-practices/references/ops-logical-replication.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/ops-migration-safety.md",
          "uri": "skill://postgres/postgres-best-practices/references/ops-migration-safety.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/ops-timeout-hygiene.md",
          "uri": "skill://postgres/postgres-best-practices/references/ops-timeout-hygiene.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/query-composite-indexes.md",
          "uri": "skill://postgres/postgres-best-practices/references/query-composite-indexes.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/query-covering-indexes.md",
          "uri": "skill://postgres/postgres-best-practices/references/query-covering-indexes.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/query-index-types.md",
          "uri": "skill://postgres/postgres-best-practices/references/query-index-types.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/query-missing-indexes.md",
          "uri": "skill://postgres/postgres-best-practices/references/query-missing-indexes.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/query-not-in-null.md",
          "uri": "skill://postgres/postgres-best-practices/references/query-not-in-null.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/query-partial-indexes.md",
          "uri": "skill://postgres/postgres-best-practices/references/query-partial-indexes.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-constraints.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-constraints.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-data-types.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-data-types.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-enum-vs-lookup.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-enum-vs-lookup.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-foreign-key-indexes.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-foreign-key-indexes.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-lowercase-identifiers.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-lowercase-identifiers.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-partitioning.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-partitioning.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-primary-keys.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-primary-keys.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/schema-timestamptz.md",
          "uri": "skill://postgres/postgres-best-practices/references/schema-timestamptz.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/security-privileges.md",
          "uri": "skill://postgres/postgres-best-practices/references/security-privileges.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/security-rls-basics.md",
          "uri": "skill://postgres/postgres-best-practices/references/security-rls-basics.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres/best-practices/references/security-rls-performance.md",
          "uri": "skill://postgres/postgres-best-practices/references/security-rls-performance.md",
          "mimeType": "text/markdown",
          "description": ""
        },
        {
          "name": "postgres-dba",
          "uri": "skill://postgres/postgres-dba/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL skills for the DBA who owns a running database: designing and altering schemas, choosing column types and keys, writing safe online migrations, managing roles and privileges, running backups and restores, and keeping the database healthy (autovacuum, bloat, connection limits). Use for schema changes, migrations, GRANT/REVOKE, backup/restore, and routine maintenance. For reviewing another team's design choices use postgres-overseer; for incident response use postgres-triage."
        },
        {
          "name": "postgres-developer",
          "uri": "skill://postgres/postgres-developer/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL skills for developing code that runs inside the server: patches to core PostgreSQL (C, the backend, executor, planner, WAL, buffer manager) and server-side extensions. Covers the C coding conventions, patch-series discipline, the build-and-test loop (cassert, meson/make, per-commit verification), community submission norms, the security/trust model, and the internals gotchas that bite. Use when writing or reviewing a patch for upstream PostgreSQL or an extension, or debugging backend internals."
        },
        {
          "name": "postgres-overseer",
          "uri": "skill://postgres/postgres-overseer/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL skills for the reviewer/architect who vets other people's database work: schema design, PL/pgSQL, partitioning strategy, index selection and bloat, extension choice, and server + OS configuration. Use when reviewing a migration or design proposal, deciding whether an extension earns its place, judging an index set, or tuning server/OS parameters. This is the judgement seat; for executing changes use postgres-dba, for incidents use postgres-triage."
        },
        {
          "name": "postgres-replication",
          "uri": "skill://postgres/postgres-replication/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL skills for the replication specialist: physical streaming replication and hot standbys, replication slots and slot invalidation, synchronous vs asynchronous, cascading and delayed replicas, logical replication (publications/subscriptions) and its restrictions, failover and switchover, and major-version upgrades via logical replication. Use when setting up, operating, debugging, or failing over any form of Postgres replication, or when a standby falls behind or a slot is lost."
        },
        {
          "name": "postgres-triage",
          "uri": "skill://postgres/postgres-triage/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL skills for when things go wrong: incident response, crash recovery, decoding mysterious errors in the server log, diagnosing a hung or stuck database, finding the blocking query, corruption detection and repair, disk-full and out-of-memory events, and transaction-ID wraparound emergencies. Use when the database is down, slow, stuck, throwing errors you don't recognise, or refusing writes, and you need to stabilise it fast without making it worse."
        },
        {
          "name": "postgres-user",
          "uri": "skill://postgres/postgres-user/SKILL.md",
          "mimeType": "text/markdown",
          "description": "PostgreSQL skills for someone who writes and runs queries against an existing database: SELECTs, DML, reporting, application queries. Use when writing or reviewing SQL, choosing how to filter/join/paginate, batching work, avoiding N+1 round trips, or wondering why a query is slow. This is the query-author's view; for schema design use postgres-dba, for reviewing someone else's design use postgres-overseer."
        },
        {
          "name": "steering/postgresql.md",
          "uri": "skill://steering/postgresql.md",
          "mimeType": "text/markdown",
          "description": "Required reading for any PostgreSQL task: a patch, an internals question, a"
        },
        {
          "name": "benchmark",
          "uri": "skill://tooling/benchmark/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Run a reproducible performance benchmark with a measure-correctly workflow, on the local machine or on a remote host over SSH (a LAN box, a lab server, or a cloud instance). Covers A/B methodology, warm-up, repetition and variance, controlling for drift, sizing the working set against cache, and collecting machine-readable results. Use for ANY benchmark — CPU, memory, IO, database, application. For picking a cloud instance to run on, pair with the `choose-instance` skill; for making the OS measurement-grade first, pair with `tune-os-for-benchmark`."
        },
        {
          "name": "choose-instance",
          "uri": "skill://tooling/choose-instance/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Choose a cloud instance type (or a short list of candidates) to run a benchmark on, across providers (AWS, GCP, Azure, Hetzner, Equinix Metal, OVH, and others). Covers matching the instance to what the benchmark stresses (CPU, memory bandwidth, IO, NUMA topology), when a bare-metal instance is required vs. a shared VM, sizing storage and network, spot/preemptible trade-offs, and cost control. Use before launching anything to benchmark on cloud infrastructure; pair with `benchmark` (methodology) and `tune-os-for-benchmark` (making it measurement-grade)."
        },
        {
          "name": "flex-bison-to-lime",
          "uri": "skill://tooling/flex-bison-to-lime/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Port flex+bison parser/scanner pairs to the Lime parser generator. Covers mechanical bison-to-Lime conversion, hand-rolled scanners replacing flex, push-parser drivers, and reverse converters for tools that still consume bison output. Distilled from porting 12 PostgreSQL grammar/scanner pairs (~36k lines)."
        },
        {
          "name": "pg-benchmark-rigor",
          "uri": "skill://tooling/pg-benchmark-rigor/SKILL.md",
          "mimeType": "text/markdown",
          "description": "The measurement discipline PostgreSQL committers apply before they believe a benchmark or a profile: preflight of CPU boost, idle states, pinning, THP, SSD state and counters; A/A noise floor; interleaved run order with waits; multiple builds against code-layout noise; the right summary statistic; and a STABLE / NOISY / UNSTABLE verdict instead of a bare number. Use whenever you benchmark, compare, or profile PostgreSQL (pgbench, a microbenchmark, perf), when results look unstable, or when deciding whether a cloud host or owned hardware can answer the question. Layers on the generic `benchmark` and `tune-os-for-benchmark` skills."
        },
        {
          "name": "tooling/pg-benchmark-rigor/references/sources.md",
          "uri": "skill://tooling/pg-benchmark-rigor/references/sources.md",
          "mimeType": "text/markdown",
          "description": "Every rule in [`../SKILL.md`](../SKILL.md) traces to one of these."
        },
        {
          "name": "pg-ddx-research",
          "uri": "skill://tooling/pg-ddx-research/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Research the PostgreSQL community and codebase through the pg.ddx.io MCP server (The Database Development neXus: for PostgreSQL, https://pg.ddx.io/mcp/). Use when investigating PostgreSQL internals or extension development, reviewing or writing patches, understanding a historical design decision, finding prior art, or tracing a feature through the pgsql-hackers archive and the upstream git history. This is the rule of first resort for \"why was this designed this way?\", \"has this been proposed before?\", \"who else hit this?\", and \"what discussion led to this commit?\"."
        },
        {
          "name": "pg-numa-benchmark",
          "uri": "skill://tooling/pg-numa-benchmark/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Run PostgreSQL buffer-manager (clock-sweep) A/B benchmarks on NUMA hardware: stock vs patched, under memory pressure (shared_buffers < dataset), with pgbench and HammerDB TPC-C. Covers the PostgreSQL-specific build, data load, shared_buffers sizing, --with-libnuma, run matrix, and result collection. Use when benchmarking PostgreSQL buffer-manager changes on NUMA hardware. The generic substrate — choosing an instance, OS tuning, and the A/B measurement methodology — lives in the choose-instance, tune-os-for-benchmark, and benchmark skills; this layers the PostgreSQL specifics on top."
        },
        {
          "name": "pg-patch-upkeep",
          "uri": "skill://tooling/pg-patch-upkeep/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Upkeep of a PostgreSQL patch branch that is out for review: read the pgsql-hackers thread, the cfbot results and the branch's PR CI for anything that needs an answer or a fix, address it, rebase on origin/master, pass test-world, and force-push the branch. Use when asked to check a patch's thread, cfbot or CI for activity, to rebase a commitfest branch and push it, or to bring a patch series current before a new version."
        },
        {
          "name": "tooling/review-as-author/LICENSE",
          "uri": "skill://tooling/review-as-author/LICENSE",
          "mimeType": "text/plain",
          "description": ""
        },
        {
          "name": "review-as-author",
          "uri": "skill://tooling/review-as-author/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Predict how a named pgsql-hackers reviewer (a PostgreSQL committer such as Tom Lane or Andres Freund, or any contributor) would review a patch, commit or design, with every point grounded in that person's own quoted messages or commits, through the pg.ddx.io MCP tools. Use to anticipate a committer's objections before posting a patch, for an author's-perspective pre-review, or when asked to review something \"as X would\". Evidence first: a point with no quote or commit of theirs is not attributed to them."
        },
        {
          "name": "tune-os-for-benchmark",
          "uri": "skill://tooling/tune-os-for-benchmark/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Configure an operating system so a benchmark run is accurate and reproducible, on any OS: Linux, the BSDs (FreeBSD/OpenBSD/NetBSD), illumos (OmniOS/SmartOS), and Windows. Covers CPU frequency scaling and governors, transparent hugepages and explicit hugepages, NUMA placement, interrupt and thread affinity, filesystem and mount choice, disabling background jitter (auto-update, indexing, telemetry), and verifying the machine is actually quiesced. Use after choosing a host/instance and before the first measured run; pair with `benchmark` and `choose-instance`."
        }
      ],
      "prompts": [
        {
          "name": "rebase-on-master",
          "description": "Fetch origin and rebase the current feature branch onto origin/master, resolving conflicts and re-running the build/tests, per the PostgreSQL workflow.",
          "arguments": [
            {
              "name": "branch",
              "required": false,
              "description": "The branch to rebase (default: current branch)."
            }
          ]
        },
        {
          "name": "review-before-send",
          "description": "Run the objective pre-submission checklist over a patch and its covering email (format, tags, docs/tests, commit-message trailers, catversion-on-commit; plain-text ASCII, wrap-72, no top-post, inline feedback).",
          "arguments": [
            {
              "name": "patch",
              "required": false,
              "description": "Path to the patch file or the diff text."
            },
            {
              "name": "email",
              "required": false,
              "description": "The draft covering email / reply text."
            }
          ]
        },
        {
          "name": "deep-git-blame",
          "description": "Trace the full history of the subject through the mail + git + commitfest archive and write it up as one concise, cited paragraph in hackers-mail style.",
          "arguments": [
            {
              "name": "subject",
              "required": true,
              "description": "A line/snippet of code, a commit SHA, a Message-ID, or a concept."
            }
          ]
        },
        {
          "name": "why-does-postgres",
          "description": "Trace a behaviour, default, or design choice to the discussion that produced it, and summarise the rationale with citations.",
          "arguments": [
            {
              "name": "question",
              "required": true,
              "description": "The behaviour or design decision to explain."
            }
          ]
        },
        {
          "name": "find-prior-art",
          "description": "Before spending effort on a feature or refactor, check the archive for prior proposals, prior art, rejections, and superseded approaches.",
          "arguments": [
            {
              "name": "idea",
              "required": true,
              "description": "The feature or change you are considering."
            }
          ]
        },
        {
          "name": "submit-patch",
          "description": "Walk the full author flow: confirm the change is wanted, develop on a branch, self-review, format-patch, send to -hackers, register the commitfest entry, watch CI, iterate.",
          "arguments": [
            {
              "name": "topic",
              "required": false,
              "description": "What the patch does."
            }
          ]
        },
        {
          "name": "explain-plan",
          "description": "Read an EXPLAIN / EXPLAIN ANALYZE plan and turn it into a diagnosis: the dominant node, estimate-vs-actual rows, buffers, and what to change.",
          "arguments": [
            {
              "name": "plan",
              "required": true,
              "description": "The EXPLAIN (ANALYZE, BUFFERS) output."
            },
            {
              "name": "query",
              "required": false,
              "description": "The SQL, if available."
            }
          ]
        },
        {
          "name": "why-is-this-slow",
          "description": "Run the find -> reproduce -> EXPLAIN -> fix loop: locate the slow statement, get its plan, and distinguish a bad query from a loaded server.",
          "arguments": [
            {
              "name": "symptom",
              "required": false,
              "description": "What is slow (a query, an endpoint, the whole DB)."
            },
            {
              "name": "query",
              "required": false,
              "description": "The suspect SQL, if known."
            }
          ]
        },
        {
          "name": "design-schema",
          "description": "Turn a data model into well-typed, constraint-enforced PostgreSQL DDL: right types, keys, constraints, and when to denormalize or partition.",
          "arguments": [
            {
              "name": "domain",
              "required": true,
              "description": "What the schema models (entities and relationships)."
            }
          ]
        },
        {
          "name": "scaffold-extension",
          "description": "Lay out a new extension: control file, versioned SQL install script, PGXS Makefile, a first function, and the conventions a well-behaved extension follows.",
          "arguments": [
            {
              "name": "name",
              "required": true,
              "description": "The extension name."
            },
            {
              "name": "purpose",
              "required": false,
              "description": "What it should do."
            },
            {
              "name": "language",
              "required": false,
              "description": "SQL-only or C (default: ask)."
            }
          ]
        }
      ]
    },
    "instructions": "pg.ddx.io is a searchable archive of the PostgreSQL project: every mailing list\nsince 1991 (85 lists, 2.0M messages), the full git history of postgres and\necosystem repositories, the docs for each release, the wiki, Discord, the\nbuildfarm, cfbot and the commitfest, each linked to the others. Use it to\nresearch PostgreSQL internals and extension development, review patches, find\nprior art, and trace design decisions to their discussion.\n\nGetting started:\n- A question: `retrieve_context` (cited passages within a token budget, every\n  list). For \"why was X added/changed/reverted\" it may also return\n  `commit_context`: the commit message and sentences from its discussion;\n  `get_commit` / `commit_history` give the full commit. What did X say or\n  object to (in a thread): `said`. Mail search:\n  `hybrid_search` (questions) or `search` (exact words); both cover every list\n  unless `inbox` narrows them, and each hit names its inbox. Read with\n  `get_thread` / `get_message` (decoded text, quotes removed by default;\n  `full_text` for everything).\n- Code and commits: `git_search` / `git_log` (each commit has its 40-hex `sha`),\n  `commit_history` (the commit's message, thread, people, commitfest entry),\n  `git_show_file` at any SHA, branch, tag or major version (`17`, `9.6`),\n  `grep_repository` / `regex_search_code` (HEAD; ^ and $ are per line).\n- Anything stored (message, commit, docs page, wiki page, commitfest entry,\n  CVE): `cross_reference` finds what relates to it.\n- Patches in flight: `search_commitfest`, `get_entry`, `find_failing_patches`,\n  `commit_buildfarm_status`. People: `whats_new`, `get_contributor`.\n- Which posted patch carries a line, first and latest version, and the commit\n  that landed it: `search_patch_lines`.\n- `list_sources` gives the list and repository names tools accept.\n- No Skills extension or resources/read: `list_skills`, then `load_skill`.\n\nSkills: this server publishes PostgreSQL agent skills through the Skills\nextension (`skills/list`, then `resources/read` a skill's SKILL.md):\n`postgres/postgres-developer` (patches to core and extensions),\n`postgres/postgres-user`, `postgres-dba`, `postgres-overseer`,\n`postgres-replication`, `postgres-triage`, `postgres-best-practices`\n(44 rule files), `tooling/pg-ddx-research` (how to research with this\nserver), `tooling/pg-benchmark-rigor` and the benchmark skills it builds on.\n`resources/list` also lists the supporting documents: how the community works\n(`skill://community/...`: review standards, patch submission, communication\nnorms, coding and commit conventions, committers' voices), task recipes\n(`skill://generic/workflows/...`: submit-patch, deep-git-blame, buildfarm-blame,\nrebase-feature-branch, write-an-extension, ...), worked examples\n(`skill://examples/...`) and `skill://steering/postgresql.md`. Common tasks are\nalso PROMPTS (`prompts/list`).\n\nArguments mean the same in every tool. A commit (`commit`, `from_commit`,\n`to_commit`; \"any commit form\") is a SHA or 7+ hex prefix, a branch, a tag, a\nmajor version (`17`, `9.6`), `<ref>~N`, a commit_id from another tool, or a\ncommit URL (gitweb, git.postgresql.org, GitHub, pg.ddx.io); an unknown name is\nan error, never a silent HEAD. A `message_id` is a Message-ID, with or without\n<>, or a message URL (postgr.es/m/, postgresql.org/message-id/, pg.ddx.io /m/\nor /id/). `repository` defaults to postgres. `inbox`: the mail searches read\nevery list unless it names some; a tool reading one message finds its list;\nother mail tools default to pgsql-hackers. `limit` and `offset` page;\n`since`/`until` bound dates. A search's `budget_ms` caps its time:\ncomplete=false when it ran out or a total is a lower bound. Searches echo\n`operators` applied, `warnings` for dropped ones and `skipped` when they leave\na source out; a query that cannot run is an error. In search,\nhybrid_search, retrieve_context, search_wiki and search_commitfest a query that\nis one commit's SHA (7-40 hex) returns what refers to that commit\n(`how_it_refers` on ma"
  },
  "changes": {
    "total": 1,
    "latest": [
      {
        "observed_at": "2026-11-22T18:12:03.924Z",
        "from_sha": "25a532ec23988bd141beeac711d4ac3c9c61f5ee6a5c1ea74be08eff6a429689",
        "to_sha": "6a7e5610d34c772fec7d1aef5b971922fdb64d1957803b3ed38cbc1f4f533d9c",
        "summary": {
          "tool_changed": 1
        },
        "diff": [
          {
            "op": "changed",
            "kind": "tool",
            "name": "whats_new",
            "path": "/description",
            "after": "Catch up: what a person or group did, and where they were named, in a window; newest first per kind. who: a name (fuzzy; close matches return ambiguous), email, hash:<8 hex>, team:<slug>, org:<name>, new:<window>, or a list. Kinds: waiting (one person, no topic: their open items, each with rule, priority 0-100, why, outlook, p_reply, p_more_replies; finished threads (a commit, a closed entry, a quiet thread, or a last message that only thanks or reports the work done: done_reason acknowledged / work_done) only counted in left_out unless done=show; a waiting thread whose last message laya estimates asks them nothing comes last with fold probably_not_waiting and its laya estimate), acted, mail_from, mail_to_cc, mail_mention, git_author, git_credit, git_mention, wiki_edit, wiki_mention, commitfest, calendar, roster. Names, hashes and urls, never addresses. ~4 s budget (late kinds in timed_out). Same as GET /api/v2/activity.",
            "before": "Catch up: what a person or group did, and where they were named, in a window; newest first per kind. who: a name (fuzzy; close matches return ambiguous), email, hash:<8 hex>, team:<slug>, org:<name>, new:<window>, or a list. Kinds: waiting (one person, no topic: their open items, each with rule, priority 0-100, why, outlook, p_reply, p_more_replies; finished threads (a commit, a closed entry, a quiet thread, or a last message that only thanks or reports the work done: done_reason acknowledged / work_done) only counted in left_out unless done=show), acted, mail_from, mail_to_cc, mail_mention, git_author, git_credit, git_mention, wiki_edit, wiki_mention, commitfest, calendar, roster. Names, hashes and urls, never addresses. ~4 s budget (late kinds in timed_out). Same as GET /api/v2/activity."
          }
        ],
        "withheld": false
      }
    ]
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}