Skip to main content
Glama

Opendata Canada Search

opendata_canada_search
Read-onlyIdempotent

Full-text search the open.canada.ca CKAN catalogue by keyword query, with optional CKAN filter query (fq), pagination (rows/start); returns dataset titles, descriptions, organizations, formats, and resource URLs.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "climate data"
    },
    "name": "opendata_canada_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
fqNo
rowsNo
queryYes
startNo

Output Schema

NameRequiredDescriptionDefault
countNoTotal number of packages matching query
resultsNoArray of package objects
search_facetsNoFaceted search results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety and external-scope profile is covered structurally. The description adds the return payload (titles, descriptions, organizations, formats, resource URLs), but omits pagination defaults, maximum row limits, and whether the catalogue is queried live or cached.

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?

A single front-loaded sentence that states scope first and then the optional parameters and output shape. Dense but not padded; the only weakness is that cramming everything into one sentence makes the parameter clause easy to skim past.

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?

With an output schema present and rich annotations, the description need not explain returns, yet it does so anyway while leaving pagination defaults and fq semantics unspecified. For a search tool whose main misuse risk is bad paging or a malformed fq, that is a meaningful residual gap.

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 description coverage is 0%, so the description must carry the load, and it does partially: it maps query to keyword search, fq to a CKAN filter query, and rows/start to pagination. It supplies no fq syntax, no default for rows or start, and no cap on rows, so the agent still cannot predict result counts.

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

Purpose4/5

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

The description gives a specific verb and resource: 'Full-text search the open.canada.ca CKAN catalogue by keyword query'. By naming the catalogue itself rather than a group, organization, or single package, it implicitly distinguishes the tool from sibling opendata_canada_* lookups, though it never states that contrast explicitly.

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

Usage Guidelines3/5

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

Usage context is only implied by 'full-text search ... by keyword query'; there is no statement of when to prefer this over opendata_canada_groups, opendata_canada_organizations, or opendata_canada_package, and no exclusions or prerequisites. An agent can infer keyword discovery is the entry point, but must guess the escalation path.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.