Skip to main content
Glama

Describe data

describe_data
Read-onlyIdempotent

The map of Close Knit's data; call it first, and whenever you are unsure of a metric, path or category name. No arguments: a summary (themes with metric counts and 2-3 headline metrics, Census in one line, places in one line, the entity kinds). theme='crime' lists that theme's metrics: unit, levels, period, coverage (England or London only), better end, what each measures and is not (name the metric you use; say when it differs from the question). query='trees' finds metrics with ranked within, source, own-row levels and England and region refs, paths, place categories and brands by words. kind='place' lists place categories with counts and brands; kind='school' the school measures; kind='lsoa' (or msoa, lad, rgn, pc, uprn, sector) the sections and select paths of that kind; kind='custom' the place presets; kind='ranking' the saved rankings for query(saved:); kind='guide' the site's guide articles, read with get(ids: ['guide:crime']).

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": "describe_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, guides, the guided questions, or an entity kind's sections and paths
pageNo[paging] Page of a theme's metrics; next gives the following one.
queryNo[search: contains] Any of the words, any case, in ids, labels, categories, brands and paths
themeNo[filter: exact] one theme (nature, census, ...)

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. Changed2 schema fields changed
    • changedInput schema / properties / kind / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "metric",
      -      "place",
      -      "school",
      -      "custom",
      -      "ranking",
      -      "guide",
      -      "rgn",
      -      "lad",
      -      "msoa",
      -      "lsoa",
      -      "sector",
      -      "pc",
      -      "uprn"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "metric",
      +      "place",
      +      "school",
      +      "custom",
      +      "ranking",
      +      "guide",
      +      "questions",
      +      "rgn",
      +      "lad",
      +      "msoa",
      +      "lsoa",
      +      "sector",
      +      "pc",
      +      "uprn"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / kind / description
      Previous value: -"[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, the guide's articles, or an entity kind's sections and paths"New value: +"[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, guides, the guided questions, or an entity kind's sections and paths"
  3. Changed2 schema fields changed
    • changedInput schema / properties / kind / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "metric",
      -      "place",
      -      "school",
      -      "custom",
      -      "ranking",
      -      "rgn",
      -      "lad",
      -      "msoa",
      -      "lsoa",
      -      "sector",
      -      "pc",
      -      "uprn"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "metric",
      +      "place",
      +      "school",
      +      "custom",
      +      "ranking",
      +      "guide",
      +      "rgn",
      +      "lad",
      +      "msoa",
      +      "lsoa",
      +      "sector",
      +      "pc",
      +      "uprn"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / kind / description
      Previous value: -"[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, or an entity kind's sections and paths"New value: +"[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, the guide's articles, or an entity kind's sections and paths"
  4. Changed11 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 / 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 / kind / description
      Previous value: -"what to describe: metric (default), place categories, school measures, custom presets, saved rankings, or an entity kind's sections and paths"New value: +"[option] what to describe: metric (default), place categories, school measures, custom presets, saved rankings, or an entity kind's sections and paths"
    • addedInput schema / properties / page / description
      Added value: +"[paging] Page of a theme's metrics; next gives the following one."
    • changedInput schema / properties / query / description
      Previous value: -"words matched against ids, labels, categories, brands and paths"New value: +"[search: contains] Any of the words, any case, in ids, labels, categories, brands and paths"
    • 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 / theme / description
      Previous value: -"one theme (nature, census, ...)"New value: +"[filter: exact] one theme (nature, census, ...)"
  5. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real context beyond them: it is argument-light by design, and each mode returns a different shape (metric counts and headline metrics, ranked-within and source for query hits, sections and select paths for entity kinds). It does not discuss result size limits or pagination behavior for theme listings.

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?

A single run-on paragraph chained with semicolons, with no line breaks or bullets despite enumerating seven or more modes. Every clause carries information, but the flat packing makes it hard to scan and the mode list is buried mid-sentence rather than front-loaded alongside "call it first".

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?

An output schema exists, yet the description voluntarily sketches return contents per mode, which is helpful for choosing a mode. Coverage is near-complete: 'metric', 'place', 'school', 'custom', 'ranking', 'guide' and the entity kinds are all addressed, though the 'questions' enum value and default 'metric' behavior are never described.

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 by showing what each parameter actually yields: theme='crime' lists unit, levels, period, England-or-London coverage and the "what it measures and is not" caveat; query='trees' returns ranked-within, source, own-row levels and region refs. That is meaning the enum and title strings alone do not convey.

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?

Opens with a metaphor ("the map of Close Knit's data") but immediately grounds it with "call it first, and whenever you are unsure of a metric, path or category name," and the per-mode breakdown makes concrete what the tool surfaces (themes with metric counts, place categories, entity-kind sections). An agent can tell this is a discovery/schema-introspection tool, distinct from get/query which read the actual content.

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?

Gives an explicit sequencing directive ("call it first") and a trigger condition ("whenever you are unsure of a metric, path or category name"), plus one handoff rule: guide articles are "read with get(ids: ['guide:crime'])". No explicit when-not-to-use statement, e.g. it never says to skip this and go straight to query when the metric id is already known.

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.