Skip to main content
Glama

Investigar un dataset en un solo paso

investigate_dataset
Read-only

Search Ecuador's CKAN portals, pick the top dataset, and preview its first readable resource in one step; use individual tools if the top hit isn't right.

Instructions

One-step shortcut: search CKAN, pick the top dataset and preview its first readable resource. Use the individual tools when the top hit isn't the right one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch keywords (e.g. "empleo", "SRI recaudación")
formatNotext summary (default) or json structured result.text
sourceNoCKAN portal; nacional (default), cuenca, latacunga or iadb.nacional
preview_rowsNoData rows to preview from the chosen resource (default: 10, max: 50)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.10.0
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / preview_rows / description
      Added value: +"Data rows to preview from the chosen resource (default: 10, max: 50)"
    • addedInput schema / properties / query / description
      Added value: +"Search keywords (e.g. \"empleo\", \"SRI recaudación\")"
    • addedInput schema / properties / source / description
      Added value: +"CKAN portal; nacional (default), cuenca, latacunga or iadb."
  2. Changed6 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / preview_rows / title
      Removed value: -"Preview Rows"
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • removedInput schema / properties / source / title
      Removed value: -"Source"
    • removedInput schema / title
      Removed value: -"investigate_datasetArguments"
    • removedOutput schema / title
      Removed value: -"investigate_datasetDictOutput"
  3. First observedv0.8.12

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld). The description adds non-obvious behavior: this is a chained operation whose result is limited to the top hit and first readable resource, warning the agent that the result may not be the best dataset.

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?

Two sentences, zero padding, with the core behavior front-loaded and the alternative-tool caveat immediately after.

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?

An output schema exists and annotations cover safety, so the description needn't explain return values. It communicates the composite nature and the top-hit limitation, though it doesn't note what happens when no readable resource is found.

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 all four parameters (query, format, source, preview_rows) are already documented with defaults and enums. The description adds no syntax or semantic detail beyond the schema, so baseline 3 applies.

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

Purpose5/5

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

States a specific composite action: search CKAN, take the top dataset, preview its first readable resource. This clearly distinguishes it from siblings like search_datasets and preview_resource_data, which do only one step each.

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?

Explicitly says to fall back to 'the individual tools' when the top hit isn't right, which gives a clear when-to-use/when-not signal. It stops short of naming the specific alternative tools, but the routing intent is unambiguous.

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