Skip to main content
Glama
dwain-barnes

UK ONS MCP Server

by dwain-barnes

search_datasets

Find UK Office for National Statistics datasets by searching names or descriptions to access official demographic, economic, and social data.

Instructions

Search for datasets by name or description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query for datasets
limitNoMaximum number of results
Behavior2/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 of behavioral disclosure. It states the tool searches datasets, but doesn't describe how results are returned (e.g., format, pagination), whether it's read-only (implied but not stated), performance characteristics, or error handling. For a search tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and resource, making it easy to parse. Every word earns its place, with no redundancy or fluff.

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?

Given the tool's moderate complexity (search operation with 2 parameters), 100% schema coverage, and no output schema, the description is minimally adequate. It covers the basic purpose but lacks details on behavioral traits (e.g., result format, read-only nature) and usage guidelines versus siblings. Without annotations or output schema, more context would be beneficial for full understanding.

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%, with clear documentation for both parameters ('query' and 'limit'). The description adds no additional meaning beyond what the schema provides—it mentions searching by name or description, but the schema already describes 'query' as a search query for datasets. Baseline 3 is appropriate when the schema does the heavy lifting.

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 verb ('search') and resource ('datasets'), and specifies the searchable fields ('by name or description'). It distinguishes from siblings like 'get_dataset' (retrieves specific dataset) and 'list_datasets' (likely lists all without filtering). However, it doesn't explicitly differentiate from 'get_latest_data' or 'get_observation', which might be related but not identical search operations.

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 implies usage for searching datasets by name or description, but provides no explicit guidance on when to use this tool versus alternatives like 'list_datasets' (which might list all datasets without filtering) or 'get_dataset' (which retrieves a specific dataset by ID). There's no mention of prerequisites, exclusions, or comparative scenarios.

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/dwain-barnes/uk-ons-mcp-server'

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