Skip to main content
Glama
cyprus-open-data-mcp

cyprus-open-data-mcp

by Nyaopx

Preview rows of a data file

read_resource
Read-only

Reads rows from CSV, JSON, or XLSX resources on data.gov.cy with paging, column selection, and simple filters so you can query Cyprus open data tables directly.

Instructions

Read rows from a CSV, JSON or XLSX resource on data.gov.cy, with paging, column selection and simple filters. Files up to 50 MB; at most 200 rows per call. Web services (api, wms, esri rest) cannot be read here; their page_url is returned instead. Cells are returned as published (often Greek).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "resource": "<resource>"
    },
    "name": "read_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, default 20, max 200.
sheetNoXLSX only: sheet name. Default the first sheet.
filterNoKeep rows where each given column contains the text, e.g. {"DISTRICT": "Λεμεσός"}. Case and accent insensitive.
offsetNoSkip this many (filtered) rows, for paging.
columnsNoOnly return these columns (names as in the file; partial, case and accent insensitive).
resourceYesResource id from get_dataset, or the resource download_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only claim readOnly and openWorld; the description adds concrete operational limits (50 MB files, 200 rows per call) that the annotations do not carry. It also discloses the surprising behavior that unsupported resources return a page_url rather than an error, and that cell values come back as published, often in Greek.

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?

Four short sentences, front-loaded with the capability and then the hard constraints and caveats; no filler. The Greek-cell note is slightly tangential but is genuinely useful context, so the density is justified.

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?

For a read-only preview tool with no output schema, the definition covers scope, size/row limits, unsupported formats and encoding expectations. It stops short of describing the response envelope (row/column shape, whether totals are reported for paging), which an agent would need to iterate pages confidently.

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 every parameter (limit, offset, columns, filter, sheet, resource) is already documented in the input schema. The description only gestures at the same features generically ('paging, column selection and simple filters') and repeats the 200-row cap, adding little syntax or precedence detail beyond the schema.

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 verb and resource ('Read rows from a CSV, JSON or XLSX resource on data.gov.cy') plus the feature set (paging, column selection, filters). It also explicitly excludes web-service resources, so an agent can tell this apart from other dataset tools without opening the schema.

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 clear when-not guidance: web services (api, wms, esri rest) cannot be read here and their page_url is returned instead, which routes the agent appropriately. The schema's resource description points to get_dataset for ids, but the prose itself never names an alternative for tabular queries, so it falls short of a full when/when-not map.

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