organization_show
Retrieve detailed information about a specific organization by providing its unique ID. Part of the Datagov Israel MCP, it streamlines access to Israeli government 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 main handler function for the 'organization_show' tool. It takes a context and organization ID, fetches the details from the Data.gov.il API using requests.get, and returns the JSON response. Registered via the @mcp.tool() decorator.@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()