Skip to main content
Glama
synjan

mcp-datanorge

by synjan

Hent selve dataene fra en distribusjon

fetch_data

Download and preview dataset files from Norwegian open data sources. Parses CSV into columns and sample rows, summarizes JSON structure, and streams large or binary files to a local path.

Instructions

Last ned en distribusjons-URL fra et datasett (downloadURL eller accessURL) og se på innholdet. CSV blir tolket til kolonner og eksempelrader, JSON blir oppsummert som struktur pluss et utdrag, annen tekst vises som den er. Sett save_path for å strømme innholdet til fil i stedet — bruk det for store eller binære filer, og analyser fila etterpå med vanlige verktøy. Bare offentlige http/https-adresser er tillatt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDistribusjons-URL fra get_resource.
max_rowsNoAntall CSV-rader i utdraget.
max_bytesNoHvor mye som leses ved forhåndsvisning.
save_pathNoAbsolutt filsti å lagre innholdet til.
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it explains that CSV is parsed into columns and sample rows, JSON is summarized as structure plus excerpt, other text is shown as-is, and save_path streams content to a file. It also discloses the public http/https restriction, which is important operational context.

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?

The description is compact and well-structured: first the core action, then the content-format behaviors, then the save_path streaming guidance and URL restriction. Each sentence adds distinct value with no repetition or filler.

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 tool with no output schema and no annotations, the description explains the main behavior, the supported content types, how to avoid previewing large/binary files, and URL restrictions. Minor gaps remain, such as possible file overwrite behavior with save_path and handling of download errors, but the essential usage context is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantics beyond the schema: it explains the purpose of save_path for large/binary files and adds the restriction that only public http/https URLs are allowed. This helps the agent choose and set parameters more correctly.

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 clearly states the tool downloads a distribution URL (downloadURL or accessURL) and inspects its content, with distinct handling for CSV, JSON, and other text. It is specific about the resource and action, though it does not explicitly differentiate from siblings like get_resource in the prose.

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?

The description gives practical usage guidance for save_path, recommending it for large or binary files and subsequent analysis with normal tools. However, it does not explicitly say when to choose this tool over sibling tools like get_resource, search, or ask, leaving the comparison mostly implicit.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/synjan/mcp-datanorge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server