Skip to main content
Glama

get_resource_data

Download and parse a data file from data.gov.rs using a resource ID. Supports JSON, CSV, XLSX, XLS, and XML formats automatically.

Instructions

Download and parse a data file from data.gov.rs.

Parses JSON, CSV, XLSX, XLS, and XML automatically. Resource IDs come from get_dataset(detail_level="metadata").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idYesResource identifier from get_dataset() resources list

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool downloads and parses data in multiple formats automatically. However, it does not mention any limitations (e.g., file size, rate limits), error behavior, or whether the data is returned inline or referenced. This is adequate but not exhaustive.

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 two sentences long, front-loaded with the primary action ('Download and parse a data file'). Each sentence adds essential information (formats supported, source of resource IDs). No extraneous text.

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?

Given the tool has only one parameter and an output schema exists (so return format is defined elsewhere), the description is fairly complete. It explains the input source and supported formats. However, it could be improved by briefly noting what the parsed output looks like (e.g., 'returns the data as a structured object'), but this is a minor gap.

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 description coverage is 100%, and the schema already indicates the resource_id comes from get_dataset(). The description adds value by specifying the exact function call get_dataset(detail_level='metadata'), which clarifies how to obtain valid IDs beyond the schema's minimal description. This helps the agent produce correct invocations.

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?

The description clearly states the tool downloads and parses a data file from data.gov.rs, listing supported formats (JSON, CSV, XLSX, XLS, XML). It also specifies that resource IDs come from get_dataset(detail_level='metadata'), which differentiates it from sibling tools like get_dataset_resources (which lists resources) and preview_dataset (which may show a preview).

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?

The description explicitly directs users to obtain resource IDs from get_dataset(detail_level='metadata'), providing clear usage guidance. It does not explicitly state when not to use the tool or list alternatives, but the context is sufficient for correct invocation.

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

Install Server

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/acailic/serbian-data-mcp'

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