Skip to main content
Glama

Counts and medians by one grouping (50 groups, 8 s)

summarise_assets
Read-onlyIdempotent
Counts and medians by ONE grouping over the same query search_assets would
run: "homes by local authority", "land parcels by use". `measures` is up to
3 names (default count; e.g. median(price)); group_by and measures come from
search_capabilities. Returns at most 50 groups.

Do NOT use it for a list of records (use search_assets) or for a value of a
property. It has an 8 second limit: past it the call answers covered=false with
that reason, so narrow the place or add a criterion and ask again.
Free.

`place` is exactly one of {uprn}, {postcode}, {area: {type, code}} or {geometry} (point + radius_m up to 2000, bbox up to 5 km, polygon up to 200 vertices); free text is refused, call resolve_place first.
UK only. Limits: at most 50 groups, 3 measures, 12 criteria, 8 s, 8 KB.
A call with covered=false or an upstream failure is not charged.

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": {
      "entity": "<entity>",
      "group_by": "<group_by>"
    },
    "name": "summarise_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
placeNo
entityYes
criteriaNo
group_byYes
measuresNo
radius_mNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses an 8-second execution cap, the exact failure signature ('covered=false' with a reason), cost behavior ('Free', not charged on covered=false or upstream failure), and hard limits (50 groups, 3 measures, 12 criteria, 8 KB, UK only). The one gap is that the semantics of 'top' (default 20) relative to the 50-group cap are never explained, so the default vs. maximum relationship stays ambiguous.

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?

Front-loaded with purpose, then exclusions, then parameter detail, then limits — a good information hierarchy in short paragraphs. It loses a point for restating the same constraints twice ('Returns at most 50 groups' then 'at most 50 groups, 3 measures, 12 criteria, 8 s, 8 KB'; the 8-second limit is stated in both the timeout and limits sentences).

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, so return structure needn't be explained, and the description covers the one non-obvious output field ('covered=false'). For a read-only aggregate with hard time and group caps it is nearly complete; the missing pieces are what `entity` enum values mean and how `top` interacts with the 50-group ceiling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage at the top level is 0%, so the description must carry the load, and it does for the important ones: it defines `measures` (up to 3, default count, e.g. median(price)), points `group_by`/`measures` at search_capabilities as the source of valid names, and fully specifies the `place` union shape with geometry sub-limits. It leaves `entity`, `criteria`, `top` and the top-level `radius_m` (default 500) unexplained, which is a real gap for a 7-parameter tool.

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 and resource ('counts and medians by ONE grouping') and anchors it to the exact query 'search_assets would run', with concrete examples ('homes by local authority', 'land parcels by use'). It explicitly contrasts with siblings (search_assets, search_capabilities, resolve_place), so an agent can distinguish it without reading any schema.

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 states when not to use the tool ('Do NOT use it for a list of records... or for a value of a property') and points to the correct alternative each time. It also routes free text to resolve_place and gives recovery guidance for the timeout case ('narrow the place or add a criterion and ask again').

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