Skip to main content
Glama

lts_by_city

Rank cities by LTS count with province, region, law breakdown, active/expired/unknown split (unknown = no expiry date on record, not lapsed), and top developer per city. Groups by city+province to avoid merging same-name cities across provinces. Use for housing pressure indices, city-level market analysis, and identifying emerging development hotspots. Cross-reference with PSGC MCP for city classification and population. Capped at 25k rows; check truncated flag and narrow filters if true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lawNoFilter by housing law: BP220 (socialized/economic) or PD957 (open market)
yearNoFilter by LTS issue year
limitNoMax cities to return, sorted by count desc
regionNoFilter to a specific DHSUD region

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure and delivers: the 'unknown = no expiry date on record, not lapsed' semantic clarification, the city+province grouping rationale, and the 25k row cap with truncated-flag instruction. These go well beyond what the schema or annotations could convey.

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

Conciseness5/5

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

Five sentences, each earning its place: purpose and output composition, grouping behavior, use cases, cross-reference advice, and an operational warning. Information is front-loaded with the core ranking statement first and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, the description is remarkably complete: it describes the return composition, the grouping key, the meaning of the unknown status, the row cap with a follow-up action, and target use cases. Nothing an agent needs to select or invoke this tool correctly is left unexplained.

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 coverage is 100%, so all four parameters (law, year, limit, region) are already documented and baseline is 3. The description adds only general operational guidance ('narrow filters if true') rather than param-specific semantic detail, so it does not exceed the baseline.

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 opens with a specific verb and resource — 'Rank cities by LTS count' — and enumerates the output dimensions (province, region, law breakdown, active/expired/unknown split, top developer). The city-centric aggregation clearly distinguishes it from siblings like lts_by_developer, lts_by_law, and lts_by_region.

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?

States explicit use cases — housing pressure indices, city-level market analysis, emerging development hotspots — and adds cross-referencing guidance with PSGC MCP. It lacks explicit when-not-to-use conditions or named sibling alternatives, so it stops short of a 5.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct aspect of LTS data (by city, developer, law, region, etc.) with no overlapping purposes. The descriptions clearly delineate their unique use cases.

Naming Consistency5/5

All tools follow the consistent pattern 'lts_<descriptive_noun_or_phrase>' using snake_case. The naming is uniform and predictable, aiding agent selection.

Tool Count5/5

With 12 tools, the set is well-scoped for a data query and analysis server. Each tool serves a clear function without redundancy or overload.

Completeness5/5

The tool set covers all necessary query dimensions (city, developer, law, region, expiry, stats, trends) and includes a search, check, and project-level view. No obvious gaps for a read-only analytics server.

Resources