Skip to main content
Glama

A city's districts ranked, or its best and least served areas

district_ranking
Read-onlyIdempotent

For a city with a district ranking page (today Vienna, Graz, Brussels, Antwerp, Zurich, Berlin, Hamburg, Munich, Karlsruhe, Madrid, San Sebastián, Helsinki/Helsingfors, Paris, Rome, Oslo, Stockholm, Uppsala, Bratislava and London): every district that has a score on that page, ranked by Walkably score, with reach, street quality and minutes on foot to eight daily needs for each. For any other city: up to five best and five least served areas from its city page, and it says so. This server is for single places in a conversation. Lists of addresses and bulk use go through the Walkably API: https://walkably.org/business/api/. The US and Canada are not covered yet; to ask for them: https://walkably.org/business/#us-request.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "city": "<city>"
    },
    "name": "district_ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity name in English or the local language, e.g. "Barcelona", "München", "Hamburg". A country can follow after a comma: "Valencia, Spain".
limitNoOptional: return only the first N districts of the ranking (1 to 100).
countryNoOptional: country name or two-letter code (es, de, gb ...) when a city name exists in several countries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior, and the description adds meaningful context on top: the hard coverage list, the silent mode switch to a best/worst summary for unlisted cities, and the explicit statement that the fallback 'says so' rather than failing. It stops short of explaining how the two modes differ in output size or whether the fallback respects the limit parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The primary case is front-loaded and the exceptions follow logically, but the inline list of nineteen city names is bulky and the API/business URL sentence reads partly promotional rather than operational. The single-paragraph construction also makes the mode switch harder to scan than it needs to be.

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?

With no output schema, the description carries the return-value burden and does so well, naming the metrics returned per district and the shape of the fallback response. The main remaining gap is that it doesn't say what happens when a city is unknown entirely versus merely unsupported.

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 all three parameters documented inline, so the baseline is 3. The description adds no syntax or format detail about city, country, or limit beyond what the schema already states, and never clarifies whether limit applies to the fallback mode.

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 states a specific verb+resource (districts ranked by Walkably score, with reach, street quality, and minutes to eight daily needs) and defines two distinct result modes: a full ranking for cities with a district page, and a top-5/bottom-5 fallback otherwise. An agent can tell exactly what it will get back before calling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It sets explicit scope boundaries: which cities get the full ranking, what happens for all other cities, that bulk/list use belongs to the external API, and that the US and Canada are unsupported with a link to request them. That is when-to-use, when-not-to-use, and an alternative channel in one paragraph.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources