Skip to content
Eden Engine

Search Brazilian Treasury Open Data Datasets (Tesouro Transparente)

tesouro/search-datasets

Searches the Brazilian National Treasury's open data catalogue (Tesouro Transparente, about 91 datasets on public debt, state and municipal finances, budget execution, CAPAG, RREO, RGF and more) and returns matching dataset records: title, description in Portuguese, licence, tags, last-modified time and the links to the downloadable files. Metadata only, not the data files. Each dataset carries its own licence in `license_title`, `license_id` and `license_url`; read it before reusing a dataset's files. Tesouro Transparente data under the Open Database Licence, served by Eden Engine; not an official Tesouro Nacional product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Tesouro Transparente (Tesouro Nacional)

Data from Tesouro Transparente, Tesouro Nacional (Brazilian National Treasury), published under the Open Database Licence (ODbL) 1.0; licence notices retained. Credit: Tesouro Nacional / Tesouro Transparente. Served by Eden Engine; not an official Tesouro Nacional product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "tesouro/search-datasets" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "tesouro/search-datasets" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "tesouro/search-datasets", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "tesouro/search-datasets", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "rows"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Search text, matched against dataset titles, descriptions and tags, in Portuguese for best results (for example 'dívida', 'capag', 'tesouro direto'). Leave out to list the catalogue in its default order."
    },
    "rows": {
      "type": "integer",
      "maximum": 10,
      "minimum": 1,
      "description": "How many dataset records to return, 1 to 10."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "description": "Zero-based offset of the first record, for paging. Leave out to start at the first record."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "sort": {
      "type": "string",
      "description": "The order the results are in."
    },
    "count": {
      "type": "integer",
      "description": "Total number of datasets matching the search."
    },
    "facets": {
      "type": "object",
      "additionalProperties": true
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "Dataset name, as used in the catalogue URL."
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "notes": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "resources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "license_id": {
            "type": "string",
            "description": "This dataset's own licence id, for example odc-odbl."
          },
          "license_url": {
            "type": "string",
            "description": "Link to this dataset's licence text."
          },
          "license_title": {
            "type": "string",
            "description": "This dataset's own licence."
          },
          "metadata_modified": {
            "type": "string",
            "description": "UTC time, no zone suffix."
          }
        },
        "additionalProperties": true
      },
      "description": "Dataset records, most relevant first. Each has `name`, `title`, `notes` (description), `license_title`, `license_id`, `license_url`, `metadata_modified`, `tags` and `resources` (each with `name`, `format`, `size` and a download `url`)."
    },
    "search_facets": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "description": "The catalogue search result.",
  "additionalProperties": true
}