get_active_tenders
Retrieve a list of currently open land tenders from the Israeli Land Authority. Use this tool to identify available bidding opportunities and stay informed on active submissions.
Instructions
Get all currently active land tenders
Returns a list of tenders that are currently open for submissions, useful for finding current bidding opportunities.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No |
Implementation Reference
- MCP tool handler for get_active_tenders: fetches active tenders via API client and limits results by max_results.@mcp.tool() def get_active_tenders(max_results: int = 100) -> Dict[str, Any]: """ Get all currently active land tenders Returns a list of tenders that are currently open for submissions, useful for finding current bidding opportunities. """ try: results = api_client.get_active_tenders() if isinstance(results, list): tender_list = results[:max_results] else: tender_list = results.get("results", results)[:max_results] return { "success": True, "count": len(tender_list), "active_tenders": tender_list, } except Exception as e: return {"success": False, "error": str(e)}
- API client helper method implementing get_active_tenders by searching with active_only=True.def get_active_tenders(self) -> List[Dict[str, Any]]: """ Get only active tenders Returns: List of active tenders """ return self.search_tenders(active_only=True, page_size=10000)
- src/remy_mcp/tools/tender_tools.py:17-18 (registration)Registration function that defines and registers the get_active_tenders tool (and others) using @mcp.tool() decorators.def register_tender_tools(mcp, api_client): """Register tender-related tools"""
- src/remy_mcp/tools/__init__.py:9-12 (registration)Top-level tools registration that calls register_tender_tools to register get_active_tenders among others.def register_tools(mcp, api_client): """Register all MCP tools""" register_tender_tools(mcp, api_client) register_settlement_tools(mcp, api_client)