Skip to main content
Glama

get_value

Retrieve a single specific value from a statistical dataset using exact dimension and item codes. Ideal for obtaining precise data points like the number of municipalities in Czech Republic in 2023.

Instructions

Get a single specific value from a dataset.

This is the most precise way to query data — returns exactly one value. Requires knowing the exact dimension and item codes from get_dataset() and get_dimension_items().

Args: dataset_code: Dataset code (e.g., RSO01). indicator_code: Indicator code (e.g., 3971b). dimension_codes: List of dimension codes (e.g., ["CasR", "TYPPROSJED", "UZ023H2U"]). item_codes: List of item codes matching dimension_codes order (e.g., ["2023", "501", "CZ"]). version: Dataset version (optional, defaults to latest).

Example: Number of municipalities in Czech Republic in 2023: get_value("RSO01", "3971b", ["CasR","TYPPROSJED","UZ023H2U"], ["2023","501","CZ"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_codeYes
indicator_codeYes
dimension_codesYes
item_codesYes
versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations, so description bears full burden. It describes it as a read-like query returning exactly one value, requires specific inputs, and mentions optional version. Could explicitly state it is read-only, but overall clear.

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?

Concise but thorough: purpose sentence, context, structured Args list, and example. No fluff, all sentences add value.

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?

Covers prerequisites, parameters, and example. With output schema present, return values need not be explained. Missing error behavior (e.g., if combination doesn't exist), but adequate for most use cases.

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

Parameters5/5

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

Despite 0% schema coverage signal, the description includes a detailed Args section that explains each parameter with types, examples, and optionality. Greatly surpasses schema minimal info.

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?

Clearly states 'Get a single specific value from a dataset' and calls it 'the most precise way'. Distinguishes from siblings by emphasizing exact single value return.

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?

Explicitly notes prerequisites: requires exact codes from get_dataset() and get_dimension_items(). Provides a concrete example. Lacks explicit when-not-to-use or alternative comparisons, but guidance is clear.

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/reloadcz/mcp-csu'

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