Skip to content

Conversation

@dividor
Copy link
Contributor

@dividor dividor commented Nov 8, 2025

  • Sync with remote MCP server to account for new schema validation
  • Support for Executive Orders, as sourced from federal Register
  • Minor bug fixes

- Added pia_search_content_executive_orders tool for searching Executive Orders
- Tool automatically filters to Federal Register + executive orders dataset
- Includes comprehensive OData filtering support with examples
- Updated server registration and tool exports
- Updated README documentation to reflect 12 total tools
- All tests passing with new tool properly registered

The tool provides access to Executive Orders from the Federal Register
(https://www.federalregister.gov/) with full citation information and
clickable links for proper attribution.
- Added pia_search_content_executive_orders tool for Federal Register Executive Orders
- Updated pia_search_content tool with outputSchema and referenced_agencies field
- Added comprehensive output schema validation for better type safety
- Updated filter descriptions to include new referenced_agencies collection field
- All tools now match remote server specifications exactly

The executive orders tool provides access to Executive Orders from the Federal Register
with automatic filtering and comprehensive OData support.
- Add unit tests for 7 previously untested tools:
  - pia_search_content_gao
  - pia_search_content_oig
  - pia_search_content_crs
  - pia_search_content_doj
  - pia_search_content_congress
  - pia_search_content_executive_orders
  - fetch

- Each tool now has tests for:
  - Success scenarios with mocked API responses
  - Error handling when API key is missing
  - HTTP error handling

- Fix test environment isolation by clearing environment variables
- Add missing os import for environment mocking
- Achieve 100% tool test coverage (12/12 tools tested)
- All 23 tests now pass

The GitHub Actions workflows are already configured to run these tests
automatically on push and pull requests.
- Update OIG tool description to use correct data source name
- Fix all example filter expressions in documentation
- Update test mock data to use 'Oversight.gov' instead of 'OIG'
- Update test assertions to expect correct data source name
- Ensure consistency across codebase for OIG-related content

All 23 unit tests continue to pass with the corrected references.
… 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
@dividor dividor merged commit 6ec7f6c into main Nov 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants