Skip to main content
Glama

Get

get
Read-onlyIdempotent

Everything about 1-10 things by typed id: uk:lsoa:E01…, uk:msoa:E02…, uk:lad:E09…, uk:rgn:E12…, sector:e17-4, pc:E17 4PP, uprn:, school:, place:osm:n123 (search_places finds ids from names), or a guide article, guide:crime, in a call of its own (describe_data(kind: 'guide') lists them): the page's text, how a figure is made and what it cannot say. No select: a summary and an index of sections. select takes plain dotted paths (safety.rate, layers.air-no2, flood, rents); an unknown path answers didYouMean and the valid paths. sections='all' gives every section's headline facts; sections=['layers'] the headline map layers (Census only with theme or query); detail='full' adds series by year. Two or more ids add a compare view: a row per fact with each id's value and who leads. An unknown id among others is its own entry in errors; the rest are answered. Each item has nav (up, inside, nearby, act) and the site page url. Figures equal the site's pages; flags as on the site.

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": {
      "ids": "<ids>"
    },
    "name": "get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes[id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…, or guide:… in a call of their own
queryNo[search: contains] narrow layers to metrics with any of the words, any case
themeNo[filter: exact] narrow layers to one theme (census too)
detailNo[option] full adds series by year.compact
periodNo[input value] YYYY-MM for the profile section: each figure's latest on or before it. Default: this month.
selectNo[select fields] plain dotted paths, e.g. safety.rate, layers.air-no2
sectionsNo[select fields] "all" or section names

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. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"[id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…"New value: +"[id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…, or guide:… in a call of their own"
  3. 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."
    • addedInput schema / properties / detail / description
      Added value: +"[option] full adds series by year."
    • changedInput schema / properties / ids / description
      Previous value: -"1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…"New value: +"[id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…"
    • 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."
    • addedInput schema / properties / period / description
      Added value: +"[input value] YYYY-MM for the profile section: each figure's latest on or before it. Default: this month."
    • changedInput schema / properties / query / description
      Previous value: -"narrow layers to matching metrics"New value: +"[search: contains] narrow layers to metrics with any of the words, any case"
    • 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."
    • changedInput schema / properties / sections / description
      Previous value: -"\"all\" or section names"New value: +"[select fields] \"all\" or section names"
    • changedInput schema / properties / select / description
      Previous value: -"plain dotted paths, e.g. safety.rate, layers.air-no2"New value: +"[select fields] plain dotted paths, e.g. safety.rate, layers.air-no2"
    • changedInput schema / properties / theme / description
      Previous value: -"narrow layers to one theme (census too)"New value: +"[filter: exact] narrow layers to one theme (census too)"
  4. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real behavioral detail beyond that: partial failure is tolerated ("an unknown id among others is its own entry in errors; the rest are answered"), unknown select paths answer didYouMean with valid paths, and results carry nav plus a site page url. That is exactly the error-handling and response-shape information annotations cannot convey.

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

Conciseness2/5

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

The purpose is front-loaded, but the body is a dense run-on stitched together with colons, semicolons and nested parentheses that are hard to parse on a first read. Information density is high, yet the lack of sentences or grouping around id formats, selecting, and failure modes makes it read like notes rather than a definition.

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?

For a 7-parameter, high-complexity read tool it covers id formats, selection, section granularity, comparison behavior and partial errors, and an output schema exists so return values need not be enumerated. The weak spot is that it does not situate itself among the many sibling readers, leaving one layer of context incomplete.

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?

Schema coverage is 100%, so the baseline would be 3, but the description goes further: it explains the dotted-path syntax of select with concrete examples, defines what sections='all' versus sections=['layers'] return, notes the census-only restriction on layers, and describes the compare view triggered by two or more ids. Those are semantics an agent cannot derive from the parameter list alone.

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?

"Everything about 1-10 things by typed id" gives a specific verb-plus-resource and enumerates the accepted id families, which lets an agent recognize what this tool is for. It also names relevant siblings (search_places for names to ids, describe_data for guide lists), but it never distinguishes this from other data readers in the catalog such as get_area_overview or get_area_metric.

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?

Guidance is implied rather than stated: it tells the agent where ids come from (search_places, describe_data(kind:'guide')) and that guide ids must be fetched "in a call of its own", which is useful routing. It never says when to prefer this over query, get_area_overview, or the specialized get_* tools, so the main selection decision is left to inference.

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.