Skip to main content
Glama

x402_ckan-canada_get_v1_package

Fetch detailed metadata for a Government of Canada open-data dataset by package ID to inspect CKAN portal records and dataset details.

Instructions

ckan-canada — Government of Canada open data portal (open.canada.ca), a CKAN instance. Search datasets and show dataset details. Keyless JSON API. [GET /v1/package] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/package?id=7153dd88-5aae-4cf6-a8e6-047f9e4bbff0

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-canada_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 present, the description carries the disclosure burden and does contribute real facts: the API is keyless, the operation is a GET, it costs $0.005 USDC, and it settles across four chains. It does not disclose the return shape, pagination or limits, error behavior, or what the paid call does when the id does not exist, which matters for a 0-required-param paid tool.

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

Conciseness4/5

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

The description is compact and front-loaded: identity and portal come first, then API characteristics, endpoint, price, and an example. The chain-id string is dense boilerplate but carries payment routing information, so little is truly wasted.

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?

For a paid, keyless GET with four generic wrapper parameters and no output schema, the description covers identity, cost, auth, and an invocation example. It leaves gaps on what a package record contains, whether the id is mandatory, and retry semantics for the restart/operationId parameters that exist specifically for payment safety.

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

Parameters3/5

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

Schema coverage is 100%, so all four parameters are already documented, and the schema's own query example ({base:'USD', quote:'EUR'}) is unrelated boilerplate. The description's example '/v1/package?id=...' usefully shows the real query key is 'id', but it does not explain that the value is a dataset UUID or how restart/operationId interact with a paid retry.

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 identifies the resource (Government of Canada open data portal, a CKAN instance) and the underlying endpoint [GET /v1/package], but the stated purpose 'Search datasets and show dataset details' conflates this package-detail tool with the sibling x402_ckan-canada_get_v1_search. An agent can guess it is a dataset lookup, but the verb claims a search capability that is not what a package endpoint does.

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?

There is no guidance on when to use this versus the sibling get_v1_search or get_v1_organizations, and no prerequisites beyond 'keyless'. The description never says whether an id is required or what happens if it is omitted, so the agent must infer call conditions from the example alone.

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