Skip to main content
Glama

Get places

get_places
Read-onlyIdempotent

The places themselves (2.58 m: shops, gyms, cafes, parks, pubs, GPs, ... in 234 categories) near a typed id or {lat, lon} (radius_m 100-3000) or inside an area, by category (describe_data(kind: 'place') lists them) and brand (PureGym, Waitrose). Each: name, category, brand, metres, walk minutes (straight line, an estimate), its LSOA and sources. ODbL attribution; the full places.csv download link. Places of worship are never listed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNo[scope] Places inside this area's shape: a typed area id.
nearNo[scope] Distance from this: a typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, uprn:…, school:…, place:…) or {lat, lon} from search_places. One of near or area.
pageNo[paging] Page; next gives the following one.
brandNo[filter: exact] A brand, any case, e.g. PureGym, Waitrose.
categoryNo[filter: exact] A place category key from describe_data(kind: 'place'), exact case, e.g. fitness_centre (or gym), cafe, pub.
radius_mNo[scope] With near: metres, 100-3000.
page_sizeNo[paging] Places per page, at most 50.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "RatePrevious": {
      -    "properties": {
      -      "bad": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "[input value] What was wrong, missing or confusing.",
      -        "title": "Bad"
      -      },
      -      "call_id": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "[id] The callId of the answer you are rating; leave it out when answers carry none.",
      -        "title": "Call Id"
      -      },
      -      "fix": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "[input value] The change to the tool or its answer you would want.",
      -        "title": "Fix"
      -      },
      -      "good": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "[input value] What was useful in the answer.",
      -        "title": "Good"
      -      },
      -      "rating": {
      -        "description": "[input value] 1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed.",
      -        "title": "Rating",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "rating"
      -    ],
      -    "title": "RatePrevious",
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / intent
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "[input value] Optional, one to three sentences you write: what the user is looking for with this call and the criteria that matter, e.g. '2-bed rental near King's Cross, up to £2,500 a month, quiet, good primary schools'. Close Knit reads these to improve its answers. Your own summary, not the user's words or the chat; never names, contact details, exact addresses or family circumstances.",
      -  "title": "Intent"
      -}
    • removedInput schema / properties / rate_previous
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "$ref": "#/$defs/RatePrevious"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "[input value] Optional: your rating of an earlier Close Knit answer, by the callId it carried (none: the last answer). Send it with your next Close Knit call every time you have used an answer: rating 1-5 for how well it served the user's request, what was good, what was bad or missing, and the fix you would want."
      -}
  2. Changed14 schema fields changed
    • changedInput schema / $defs / RatePrevious / properties / bad / description
      Previous value: -"What was wrong, missing or confusing."New value: +"[input value] What was wrong, missing or confusing."
    • changedInput schema / $defs / RatePrevious / properties / call_id / description
      Previous value: -"The callId of the answer you are rating; leave it out when answers carry none."New value: +"[id] The callId of the answer you are rating; leave it out when answers carry none."
    • changedInput schema / $defs / RatePrevious / properties / fix / description
      Previous value: -"The change to the tool or its answer you would want."New value: +"[input value] The change to the tool or its answer you would want."
    • changedInput schema / $defs / RatePrevious / properties / good / description
      Previous value: -"What was useful in the answer."New value: +"[input value] What was useful in the answer."
    • changedInput schema / $defs / RatePrevious / properties / rating / description
      Previous value: -"1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed."New value: +"[input value] 1 = useless or wrong, 3 = usable with gaps, 5 = exactly what was needed."
    • changedInput schema / properties / area / description
      Previous value: -"Places inside this area's shape: a typed area id."New value: +"[scope] Places inside this area's shape: a typed area id."
    • changedInput schema / properties / brand / description
      Previous value: -"A brand, any case, e.g. PureGym, Waitrose."New value: +"[filter: exact] A brand, any case, e.g. PureGym, Waitrose."
    • changedInput schema / properties / category / description
      Previous value: -"A place category key from describe_data(kind: 'place'), e.g. fitness_centre (or gym), cafe, pub, supermarket."New value: +"[filter: exact] A place category key from describe_data(kind: 'place'), exact case, e.g. fitness_centre (or gym), cafe, pub."
    • changedInput schema / properties / intent / description
      Previous value: -"Optional, one to three sentences you write: what the user is looking for with this call and the criteria that matter, e.g. '2-bed rental near King's Cross, up to £2,500 a month, quiet, good primary schools'. Close Knit reads these to improve its answers. Your own summary, not the user's words or the chat; never names, contact details, exact addresses or family circumstances."New value: +"[input value] Optional, one to three sentences you write: what the user is looking for with this call and the criteria that matter, e.g. '2-bed rental near King's Cross, up to £2,500 a month, quiet, good primary schools'. Close Knit reads these to improve its answers. Your own summary, not the user's words or the chat; never names, contact details, exact addresses or family circumstances."
    • changedInput schema / properties / near / description
      Previous value: -"Distance from this: a typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, uprn:…, school:…, place:…) or {lat, lon} from search_places. One of near or area."New value: +"[scope] Distance from this: a typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, uprn:…, school:…, place:…) or {lat, lon} from search_places. One of near or area."
    • addedInput schema / properties / page / description
      Added value: +"[paging] Page; next gives the following one."
    • changedInput schema / properties / page_size / description
      Previous value: -"Places per page, at most 50."New value: +"[paging] Places per page, at most 50."
    • changedInput schema / properties / radius_m / description
      Previous value: -"With near: metres, 100-3000."New value: +"[scope] With near: metres, 100-3000."
    • changedInput schema / properties / rate_previous / description
      Previous value: -"Optional: your rating of an earlier Close Knit answer, by the callId it carried (none: the last answer). Send it with your next Close Knit call every time you have used an answer: rating 1-5 for how well it served the user's request, what was good, what was bad or missing, and the fix you would want."New value: +"[input value] Optional: your rating of an earlier Close Knit answer, by the callId it carried (none: the last answer). Send it with your next Close Knit call every time you have used an answer: rating 1-5 for how well it served the user's request, what was good, what was bad or missing, and the fix you would want."
  3. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"A place category key from describe_data(kind: 'place'), e.g. gym, cafe, pub, supermarket."New value: +"A place category key from describe_data(kind: 'place'), e.g. fitness_centre (or gym), cafe, pub, supermarket."
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the read-only, idempotent, non-destructive, closed-world profile, so the description's job is only to add context — and it does: walk minutes are straight-line estimates, results require ODbL attribution, a full places.csv download link is included, and worship places are omitted. It does not explain paging behavior or what happens when both scope parameters are omitted, which keeps it below a 5.

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?

It is front-loaded with the core purpose and packs a large amount of information into a few dense sentences with no filler. However, the heavy parenthetical nesting ('(2.58 m: shops, gyms, cafes... in 234 categories)', '(straight line, an estimate)') makes it 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 an output schema, full annotation coverage, and 100% parameter documentation, the description adds the remaining essentials: what fields come back, the attribution obligation, and the estimate caveat on walk times. The only gap is pagination semantics, which live in the schema ('next gives the following one') rather than the description.

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%, so the schema already documents all seven parameters including the category key source, brand case-insensitivity, and the 100-3000 radius range. The description largely restates those examples rather than adding new meaning, so the baseline 3 applies. The one genuine addition is the loose-typed workflow hint that {lat, lon} should come from search_places.

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 names a specific verb+resource ('The places themselves ... near a typed id or {lat, lon} ... or inside an area') and enumerates the returned fields (name, category, brand, metres, walk minutes, LSOA, sources). It also distinguishes itself from search_places by framing that tool as the source of a {lat, lon} rather than a lister of places, so an agent can route between them without opening a schema.

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?

It gives clear context for use: scope must be either a typed id, a {lat, lon} from search_places, or an area, with radius_m applied only alongside 'near'. It also states one explicit exclusion (places of worship are never listed). It stops short of naming when to use this instead of other lookup siblings such as get_nearby_sales_summary or get_area_evidence_pack.

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.