Skip to main content
Glama

x402_ckan-switzerland_get_v1_search

Search Swiss open datasets on opendata.swiss by keyword and result limit, returning CKAN search results to help discover relevant public data.

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/search] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/search?q=population&rows=5

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_search"
  }
}

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

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two genuinely useful traits: the API is keyless and each call costs $0.005 USDC on four named chains, and the [GET] marker confirms a read operation. It says nothing about rate limits, pagination, or response shape, and the paid-call retry semantics implied by the restart/operationId parameters are left to the schema.

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?

The opening identifies the portal and endpoint first, which is good front-loading, and the pricing/example lines are compact. However, the sentence enumerating unrelated portal capabilities (groups, organizations, tags, status) is wasted text that both lengthens the definition and misleads.

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

Completeness3/5

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

Cost, auth model, and a sample query are covered, which is most of what an agent needs for a keyless paid GET. With no output schema and no annotations, the description should at least say what a search returns or how results are paged, and the family-level capability claim leaves the agent unsure whether this endpoint also returns group/organization listings.

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 the baseline is 3, but the schema's query object is a generic untyped bag whose own example ({base:'USD', quote:'EUR'}) is wrong for a CKAN portal. The description's '?q=population&rows=5' example supplies the actual meaningful query keys (q, rows), which is real added value beyond the schema.

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 does name the resource ('ckan-switzerland — Swiss open data portal') and the endpoint ('[GET /v1/search]'), and gives a concrete example query. But the sentence 'Search datasets, show dataset details, and list groups, organizations, tags and portal status' describes the whole portal family rather than this endpoint, so the stated purpose is broader than what the tool actually does and blurs the line against the sibling groups/organizations/package/status tools.

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?

The example '?q=population&rows=5' shows a workable invocation, but there is no guidance on when to pick this search endpoint over the sibling groups/organizations/package/status endpoints, and no when-not condition. The overbroad capability sentence actively works against routing guidance.

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