Skip to main content
Glama
brynmrgn

ONS + Nomis MCP server

by brynmrgn

nomis_geography_search

Resolve a place name to Nomis geography codes for any dataset, returning matching value-name pairs for data queries.

Instructions

Resolve a place name to Nomis geography code(s) for a dataset.

Nomis geography codes are internal integers, not ONS mnemonics, and differ per dataset. Pass a place name (e.g. "Birmingham", "Wales") and get back matching {value, name} pairs to use as the geography param in nomis_get_data. Supports Nomis '*' wildcards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
searchYes
dataset_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, but description covers key behavioral traits: returns internal integer codes differing per dataset, supports wildcards, and is a read-only lookup. No mention of rate limits or permissions, but adequate for a search tool.

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?

Two concise paragraphs with clear first sentence. Information is well-organized, but could be more front-loaded with key details.

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 output schema exists, description explains return format ({value, name} pairs) and usage context. Covers essential details, though could elaborate on error handling or empty results.

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 has 0% description coverage. Description explains 'search' as a place name and implies 'dataset_id' as required, but does not describe 'limit' parameter. Adds partial meaning but not comprehensive.

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?

Description clearly states it resolves place names to Nomis geography codes for a dataset. It specifies the output format and connection to nomis_get_data, but does not explicitly distinguish from sibling tools like nomis_dimension_options.

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?

Provides context on when to use (getting geography codes) and mentions wildcard support, but lacks explicit guidance on when not to use or alternatives among sibling tools.

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/brynmrgn/ons-mcp'

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