Skip to main content
Glama

x402_ckan-switzerland_get_v1_package

Retrieve detailed metadata for a Swiss open data dataset from opendata.swiss by package ID, covering resources, tags, groups, and organization.

Instructions

ckan-switzerland — Swiss open data portal (opendata.swiss, CKAN backend at ckan.opendata.swiss). Search datasets, show dataset details, and list groups, organizations, tags and portal status. Keyless JSON API. [GET /v1/package] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/package?id=cantonal-boundary

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_ckan-switzerland_get_v1_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must carry the behavioral burden; it does disclose two genuinely useful facts — the API is keyless (no auth) and each call costs $0.005 USDC across four chains. It says nothing about error behavior, whether an unknown id returns empty vs. error, or pagination, and it never states that an id is effectively needed despite zero required parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact block with the endpoint and price front-loaded, but the middle sentence enumerates capabilities of other tools, which is wasted text for this definition and actively blurs its scope. The useful parts (path, cost, example) are buried in boilerplate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations, so the description should say what a package record contains or at least what the id identifies; it does neither. For a paid call, the absence of any note on invalid-id behavior or response shape leaves an agent unable to predict the outcome of the invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the schema only describes 'query' as a generic string/number/boolean map while the description supplies the concrete parameter name and format: '/v1/package?id=cantonal-boundary'. That example bridges the generic query object to a usable call. It does not explain the restart/operationId semantics beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description leads with portal identity rather than this tool's action, then lists capabilities that belong to siblings ('Search datasets, show dataset details, and list groups, organizations, tags and portal status'). Only the '[GET /v1/package]' tag and the example '/v1/package?id=cantonal-boundary' narrow it to fetching a single dataset's details. An agent must infer the actual verb+resource from the path and example rather than reading it stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement of when to use this endpoint versus the sibling search, groups, organizations, tags or status endpoints, even though those siblings are named in the capability list. The example implies 'use this when you already have a dataset id', but that routing rule is never made explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools