organization_show
Retrieve specific organization details from the Israeli government's open data portal to access official information and verify entity data.
Instructions
Get details of a specific organization.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- server.py:78-86 (handler)The handler function for the 'organization_show' tool. It takes a context and organization ID, makes a GET request to the Data.gov.il API to fetch organization details, and returns the JSON response.@mcp.tool() async def organization_show(ctx: Context, id: str): """Get details of a specific organization.""" await ctx.info(f"Fetching details for organization: {id}") params = {"id": id} response = requests.get(f"{BASE_URL}/action/organization_show", params=params) response.raise_for_status() return response.json()
- server.py:78-78 (registration)The @mcp.tool() decorator registers the organization_show function as an MCP tool.@mcp.tool()