Skip to content

Commit 95f7f9d

Browse files
committed
Sync tool descriptions with remote server and add dedicated Executive Orders section
- Updated pia_search_content, pia_search_content_facets, pia_search_titles, and pia_search_titles_facets descriptions to mention Federal Register (1k+ executive orders) and reference pia_search_content_executive_orders - Added dedicated Executive Orders Search Tool section in README with: - Enhanced description with comprehensive details - Coverage information (7 presidencies, Federal Register source, 1k+ orders) - Example searches for cybersecurity, AI, and climate topics - All tool descriptions now properly reference Executive Orders functionality - Maintains consistency with remote server tool definitions
1 parent 0f8919b commit 95f7f9d

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The server provides 12 tools for searching the Program Integrity Alliance (PIA)
158158

159159
**Purpose:** Comprehensive search tool for querying document content and recommendations in the PIA database.
160160

161-
**Description:** Returns comprehensive results with full citation information and clickable links for proper attribution. Each result includes corresponding citations with data source attribution. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs). Supports complex OData filtering with boolean logic, operators, and grouping.
161+
**Description:** Returns comprehensive results with full citation information and clickable links for proper attribution. Each result includes corresponding citations with data source attribution. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders. Supports complex OData filtering with boolean logic, operators, and grouping.
162162

163163
**Parameters:**
164164
- `query` (required): Search query text
@@ -173,7 +173,7 @@ The server provides 12 tools for searching the Program Integrity Alliance (PIA)
173173

174174
**Purpose:** Get available facets (filter values) for the PIA database content search.
175175

176-
**Description:** This can help understand what filter values are available before performing content searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs).
176+
**Description:** This can help understand what filter values are available before performing content searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders.
177177

178178
**Parameters:**
179179
- `query` (optional): Optional query to get facets for (default: "")
@@ -183,7 +183,7 @@ The server provides 12 tools for searching the Program Integrity Alliance (PIA)
183183

184184
**Purpose:** Search the Program Integrity Alliance (PIA) database for document titles only.
185185

186-
**Description:** Returns document titles and metadata without searching the full content. Useful for finding specific documents by title or discovering available documents. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs).
186+
**Description:** Returns document titles and metadata without searching the full content. Useful for finding specific documents by title or discovering available documents. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders.
187187

188188
**Parameters:**
189189
- `query` (required): Search query text (searches document titles only)
@@ -197,7 +197,7 @@ The server provides 12 tools for searching the Program Integrity Alliance (PIA)
197197

198198
**Purpose:** Get available facets (filter values) for the PIA database title search.
199199

200-
**Description:** This can help understand what filter values are available before performing title searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs).
200+
**Description:** This can help understand what filter values are available before performing title searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders.
201201

202202
**Parameters:**
203203
- `query` (optional): Optional query to get facets for (default: "")
@@ -280,11 +280,13 @@ The server provides 12 tools for searching the Program Integrity Alliance (PIA)
280280
- `limit` (optional): Maximum results limit
281281
- `include_facets` (optional): Include facets in results (default: false)
282282

283+
### Executive Orders Search Tool
284+
283285
### 10. `pia_search_content_executive_orders`
284286

285287
**Purpose:** Search for Executive Orders document content from the Federal Register.
286288

287-
**Description:** This tool automatically filters results to only include Executive Orders from the Federal Register (https://www.federalregister.gov/). Returns comprehensive results with full citation information and clickable links for proper attribution.
289+
**Description:** This tool automatically filters results to only include Executive Orders from the Federal Register (https://www.federalregister.gov/). Returns comprehensive results with full citation information and clickable links for proper attribution. Each result includes corresponding citations with data source attribution. Supports complex OData filtering with boolean logic, operators, and grouping.
288290

289291
**Parameters:**
290292
- `query` (required): Search query text
@@ -295,6 +297,17 @@ The server provides 12 tools for searching the Program Integrity Alliance (PIA)
295297
- `limit` (optional): Maximum results limit
296298
- `include_facets` (optional): Include facets in results (default: false)
297299

300+
**Executive Orders Coverage:**
301+
- **Time Period:** Last 7 presidencies
302+
- **Source:** Federal Register (https://www.federalregister.gov/presidential-documents/executive-orders)
303+
- **Volume:** 1k+ executive orders
304+
- **Update Frequency:** Weekly updates
305+
306+
**Example Searches:**
307+
- Search for cybersecurity executive orders: `{"query": "cybersecurity"}`
308+
- Search for recent executive orders: `{"query": "artificial intelligence", "filter": "SourceDocumentPublishDate ge '2023-01-01'"}`
309+
- Search by specific topics: `{"query": "climate change OR environmental"}`
310+
298311
### ChatGPT Connector Tools
299312

300313
### 11. `search`

src/pia_mcp_server/tools/search_tools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Tool definitions - EXACT copies from remote server
1414
pia_search_content_tool = types.Tool(
1515
name="pia_search_content",
16-
description="Search the Program Integrity Alliance (PIA) database for document content and recommendations. Returns comprehensive results with full citation information and clickable links for proper attribution. Each result includes corresponding citations with data source attribution. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs). Supports complex OData filtering with boolean logic, operators, and grouping.",
16+
description="Search the Program Integrity Alliance (PIA) database for document content and recommendations. Returns comprehensive results with full citation information and clickable links for proper attribution. Each result includes corresponding citations with data source attribution. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders. Supports complex OData filtering with boolean logic, operators, and grouping.",
1717
inputSchema={
1818
"type": "object",
1919
"properties": {
@@ -108,7 +108,7 @@
108108

109109
pia_search_content_facets_tool = types.Tool(
110110
name="pia_search_content_facets",
111-
description="Get available facets (filter values) for the PIA database content search. This can help understand what filter values are available before performing content searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs).",
111+
description="Get available facets (filter values) for the PIA database content search. This can help understand what filter values are available before performing content searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders.",
112112
inputSchema={
113113
"type": "object",
114114
"properties": {
@@ -127,7 +127,7 @@
127127

128128
pia_search_titles_tool = types.Tool(
129129
name="pia_search_titles",
130-
description="Search the Program Integrity Alliance (PIA) database for document titles only. Returns document titles and metadata without searching the full content. Useful for finding specific documents by title or discovering available documents. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs).",
130+
description="Search the Program Integrity Alliance (PIA) database for document titles only. Returns document titles and metadata without searching the full content. Useful for finding specific documents by title or discovering available documents. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders.",
131131
inputSchema={
132132
"type": "object",
133133
"properties": {
@@ -162,7 +162,7 @@
162162

163163
pia_search_titles_facets_tool = types.Tool(
164164
name="pia_search_titles_facets",
165-
description="Get available facets (filter values) for the PIA database title search. This can help understand what filter values are available before performing title searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs).",
165+
description="Get available facets (filter values) for the PIA database title search. This can help understand what filter values are available before performing title searches. Major data sources include: Department of Justice (198k+ docs), Congress.gov (29k+ docs), Oversight.gov (22k+ docs), CRS (22k+ docs), GAO (10k+ docs), Federal Register (1k+ executive orders). Use pia_search_content_executive_orders to search only executive orders.",
166166
inputSchema={
167167
"type": "object",
168168
"properties": {

0 commit comments

Comments
 (0)