Skip to main content
Glama

Marius Comper: interactive maps, 10,125 facts & 35 live civic datasets

query_open_dataset

Read-onlyIdempotent

Query live rows directly from any of the 35 audited open civic CSV/JSON datasets on mariuscomper.uk (filter by keyword, sort by any column, inspect schema and primary sources, and receive a ready-to-use citation).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_open_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoDataset code from list_open_datasets (e.g. 'RO-01' for Romanian municipal budgets, 'RO-06' for Bucharest district heating, 'UK-01' for UK MOT reliability, 'US-01' for US car recalls, 'MD-01' for Moldova budgets).
langNoLanguage for dataset metadata and canonical URL.en
slugNoAlternative to code: dataset project slug (e.g. 'cheltuielile-primariilor', 'uk-mot-reliability-atlas').
limitNoMaximum rows to return (1–50).
orderNoSort direction when sortBy is set.desc
tableNoOptional named table inside multi-table JSON datasets (e.g. 'brands' or 'models' in US-01).
offsetNoRow offset for pagination.
searchNoOptional diacritic-insensitive keyword filter across all columns (e.g. 'Cluj-Napoca', 'Toyota', 'Sector 2').
sortByNoOptional column name to sort by (omit first to inspect returned columns).
fileIndexNoOptional 0-based file index when a dataset ships multiple downloadable files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new context: the data is live (not cached), drawn from audited sources, and can span multiple files/tables per dataset. It stops short of disclosing row-limit or pagination behavior, which the annotations do not cover.

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?

It is a single front-loaded sentence with the scope stated before the capability list, and no sentence is padding. The trailing parenthetical is dense but each item corresponds to a real capability.

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 no output schema, the description should sketch the return shape; it only hints that a citation comes back, leaving row structure and error behavior unexplained. It also omits any guidance on which dataset identifier to supply, despite code and slug being alternates with no required parameters.

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 ten parameters are already documented with examples and defaults, making the baseline 3 appropriate. The description's phrases 'filter by keyword' and 'sort by any column' loosely echo the search and sortBy parameters but add no syntax or format detail beyond the schema.

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 ('Query live rows directly from ... open civic CSV/JSON datasets') plus a concrete bound (35 audited datasets on mariuscomper.uk). An agent can tell this is a row-retrieval tool rather than a discovery or citation tool, though the description itself does not name a sibling to contrast against.

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 is only implied: the parenthetical capabilities (filter, sort, inspect schema, get citation) suggest the situations it fits, but the description never states when to choose this over list_open_datasets for discovery or get_citation for citations. The mention of 'receive a ready-to-use citation' arguably overlaps a sibling without explaining the difference.

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.

Resources