Skip to main content
Glama

Buscar datasets en el portal de datos abiertos

search_datasets
Read-only

Find Ecuadorian open-data datasets across CKAN portals by keyword, category, or source, or browse recently updated records. Supports pagination and text/JSON results.

Instructions

Search CKAN open-data datasets (national portal by default; see source). Use sort="recent" without a query to browse new or updated datasets. Next: list_dataset_resources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based, default: 1)
sortNo"relevance" (default, CKAN's own ranking) or "recent" (sort by metadata_modified descending, to discover newly added or freshly refreshed datasets)relevance
queryNoSearch keywords (e.g. "empleo", "salud", "presupuesto", "SRI recaudación").
formatNotext summary (default) or json structured result.text
sourceNoCKAN portal; nacional (default), cuenca, latacunga or iadb.nacional
categoryNoOptional category filter (e.g. "sal" for Salud, "edu" for Educación).
page_sizeNoResults per page (default: 20, max: 100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.10.0
    • addedInput schema / properties / category / description
      Added value: +"Optional category filter (e.g. \"sal\" for Salud, \"edu\" for Educación)."
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / page / description
      Added value: +"Page number (1-based, default: 1)"
    • addedInput schema / properties / page_size / description
      Added value: +"Results per page (default: 20, max: 100)"
    • addedInput schema / properties / query / description
      Added value: +"Search keywords (e.g. \"empleo\", \"salud\", \"presupuesto\", \"SRI recaudación\")."
    • addedInput schema / properties / sort / description
      Added value: +"\"relevance\" (default, CKAN's own ranking) or \"recent\" (sort by metadata_modified descending, to discover newly added or freshly refreshed datasets)"
    • addedInput schema / properties / source / description
      Added value: +"CKAN portal; nacional (default), cuenca, latacunga or iadb."
  2. Changed9 schema fields changedv0.8.14
    • removedInput schema / properties / category / title
      Removed value: -"Category"
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / page_size / title
      Removed value: -"Page Size"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / properties / source / title
      Removed value: -"Source"
    • removedInput schema / title
      Removed value: -"search_datasetsArguments"
    • removedOutput schema / title
      Removed value: -"search_datasetsDictOutput"
  3. First observedv0.8.12

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and non-destructive behavior, so the safety profile is covered. The description adds the default source (national portal) and the browse semantics of sort="recent", but says nothing about pagination, result limits or cross-portal behavior that would enrich the picture.

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

Conciseness5/5

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

Three tight sentences, front-loaded with the core action, followed by a concrete usage tip and the next-step tool. No filler or redundancy.

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

Completeness4/5

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

With an output schema covering return values and annotations covering safety, the description supplies the remaining essentials: default portal and the recent-browse workflow. It is complete enough to call the tool correctly, missing only minor detail on pagination behavior across pages.

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 100%, so the schema already documents all seven parameters including defaults and enum meanings. The description restates the default source and the sort="recent" behavior, adding only minimal value beyond the schema, so the baseline 3 holds.

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?

States a specific verb (Search) and resource (CKAN open-data datasets), and names the downstream tool (list_dataset_resources). The mention of the CKAN resource type differentiates it reasonably from generic siblings, though it never explicitly contrasts with other search_* tools like search_organizations.

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

Usage Guidelines4/5

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

Gives an explicit usage pattern: use sort="recent" without a query to browse new/updated datasets, and points to the natural next step (list_dataset_resources). It lacks an explicit when-not-to-use or a named alternative sibling, but the context is clear.

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