Skip to main content
Glama
aviveldan

Datagov Israel MCP

by aviveldan

package_show

Retrieve detailed metadata for a specific dataset using the provided ID, facilitating targeted data access and analysis on the Data.gov.il platform.

Instructions

Get metadata about one specific package (dataset).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • server.py:59-66 (handler)
    The handler function for the 'package_show' tool. It fetches metadata for a specific dataset by ID using the Data.gov.il API.
    @mcp.tool() async def package_show(ctx: Context, id: str): """Get metadata about one specific package (dataset).""" await ctx.info(f"Fetching metadata for package: {id}") params = {"id": id} response = requests.get(f"{BASE_URL}/action/package_show", params=params) response.raise_for_status() return response.json()

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aviveldan/datagov-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server